Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

2.4 KB
Raw Blame
["_H",1,32,"properties",32,"posthog_group_id",32,"companyId",32,"inputs",1,2,42,1,42,1,32,"properties",32,"inputs",1,2,36,1,2,"keys",1,36,1,2,"values",1,33,1,36,3,2,"length",1,31,31,36,5,36,4,16,40,64,36,2,36,4,45,37,6,36,3,36,4,45,37,7,32,"object",32,"array",32,"tuple",44,3,36,7,2,"typeof",1,21,40,15,36,0,32,"properties",45,36,6,36,7,2,"jsonStringify",1,46,39,10,36,0,32,"properties",45,36,6,36,7,46,36,4,33,1,6,37,4,39,-71,35,35,35,35,35,35,35,36,0,32,"properties",45,32,"posthog_group_id",45,2,"empty",1,40,8,32,"`companyId` input is empty. Skipping...",2,"print",1,35,31,38,32,"Authorization",32,"Bearer ",32,"access_token",32,"oauth",32,"inputs",1,3,2,"concat",2,32,"Content-Type",32,"application/json",42,2,32,"https://api.hubapi.com/crm/v3/objects/companies/",36,0,32,"properties",45,32,"posthog_group_id",45,32,"?idProperty=posthog_group_id",2,"concat",3,32,"method",32,"PATCH",32,"headers",36,1,32,"body",36,0,42,3,2,"fetch",2,33,404,36,2,32,"status",45,11,40,182,32,"https://api.hubapi.com/crm/v3/properties/companies",32,"method",32,"POST",32,"headers",36,1,32,"body",32,"name",32,"posthog_group_id",32,"label",32,"PostHog Group ID",32,"description",32,"Unique Property to map PostHog Group ID with a HubSpot Company Object",32,"groupName",32,"companyinformation",32,"type",32,"string",32,"fieldType",32,"text",32,"hidden",29,32,"displayOrder",33,-1,32,"hasUniqueValue",29,32,"formField",30,42,10,42,3,2,"fetch",2,33,400,36,3,32,"status",45,14,33,409,36,3,32,"status",45,11,5,3,2,40,21,32,"Error creating unique posthog id property (status ",36,2,32,"status",45,32,"): ",36,2,32,"body",45,2,"concat",4,2,"Error",1,49,32,"https://api.hubapi.com/crm/v3/objects/companies",32,"method",32,"POST",32,"headers",36,1,32,"body",36,0,42,3,2,"fetch",2,37,2,33,400,36,2,32,"status",45,14,40,33,32,"Error creating company ",36,0,32,"properties",45,32,"posthog_group_id",45,32," (status ",36,2,32,"status",45,32,"): ",36,2,32,"body",45,2,"concat",6,2,"Error",1,49,39,19,32,"Successfully created company ",36,0,32,"properties",45,32,"posthog_group_id",45,2,"concat",2,2,"print",1,35,31,38,35,33,400,36,2,32,"status",45,14,40,33,32,"Error updating company ",36,0,32,"properties",45,32,"posthog_group_id",45,32," (status ",36,2,32,"status",45,32,"): ",36,2,32,"body",45,2,"concat",6,2,"Error",1,49,39,17,32,"Successfully updated company ",36,0,32,"properties",45,32,"posthog_group_id",45,2,"concat",2,2,"print",1,35,35,35,35]