We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Dec 1, 2022 3:10 AM
Hello all,
I'm looking to update a property on all related companies if it's changed on one of them. So any child companies, parent, parent's parent, parents siblings childcompanies etc.
What would be the most efficient way of doing this? They don't really share any property other than the relationship child<->parent that can be relied on when searching.
I can of course traverse upwards to the top level in the relationship chain and then recursively get all subnodes of all nodes, but that will potentially mean a lot of API calls. Is there an easier way?
Best regards
Johan
Dec 1, 2022 11:20 PM
Hi there,
Does your subscription have access to workflows? If so, you could potentially detect a change in a company's property using the "is known" filter. In your workflow steps then you could do a "Copy Property Value" to update the other corresponding objects.
Cheers
WL
Dec 2, 2022 2:02 AM
Thanks for you reply. Is it actually possible without custom code to select a related company? I believe copying property to an associated object is fairly easy but I don't see a simple way of doing this for child/parent companies.