Automating parent child relationship

SOLVE
Highlighted
Occasional Contributor

Is there any functionality where we can trigger flow to assign parent/child company to an company automatically based upon a property change of company/contact ?

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Highlighted
HubSpot Moderator

Hey @somdutt,

 

If you're looking for an endpoint to manage parent <--> child company relationship using HubSpot API, you can check out this documentation - CRM Associations API Overview.

 

The CRM Associations API is being updated to support two new association types:

- Parent company to child company, definition ID = 13
- Child company to parent company,definition ID = 14

 

For your use case, I'd recommend for you to use HubSpot's Webhooks API > Subscribe to contact.propertyChange and company.propertyChange > When your server received notifications > Use the Associate CRM objects endpoint to create the parent <--> child company relationship. 

3 Replies 3
Highlighted
HubSpot Moderator

Hi @somdutt 

 

There isn’t currently an endpoint to automate the process of assigning Parent/Child companies. This is still currently a manual process that must be done via the User Interface. 

 

I’m not aware of plans to implement such an API, but I’d be happy to pass this idea along internally.

 

I’d also recommend posting this to the Ideas Forum on the HubSpot Community.

 

Matthew Willson

HubSpot Developer Support
Reply
0 Upvotes
Highlighted
HubSpot Moderator

Hey @somdutt,

 

If you're looking for an endpoint to manage parent <--> child company relationship using HubSpot API, you can check out this documentation - CRM Associations API Overview.

 

The CRM Associations API is being updated to support two new association types:

- Parent company to child company, definition ID = 13
- Child company to parent company,definition ID = 14

 

For your use case, I'd recommend for you to use HubSpot's Webhooks API > Subscribe to contact.propertyChange and company.propertyChange > When your server received notifications > Use the Associate CRM objects endpoint to create the parent <--> child company relationship. 

Highlighted
Regular Contributor | Diamond Partner

Hi there, 

 

If this is still something you are looking for, @Dave_ at Integration Fox has built a tool for us that does this really well and is able to recreate it for others incredibly affordably.

 

Based on setting a Parent Company ID property either manually or via an import, Integration Fox automatically creates a Parent/Child relationship with the matching Company. 

 

Easy!















style="font-family: 'Raleway', sans-serif; padding-bottom:5px;padding-top:5px;vertical-align:top;border-bottom:1px solid rgb(231,234,237); vertical-align: middle">

style="font-family: 'Raleway', sans-serif; font-size:13pt;color:rgb(24,45,76);text-transform: normal; font-weight: bold; vertical-align: middle; line-height: 20px;">Matthew Boyd



style="font-size:11pt;color:rgb(232,15,66);text-transform:normal; font-weight: 600;">Functional CRM Consultant and Business Analyst


style="font-family:arial;font-size:11pt;padding-bottom:5px;padding-top:5px;vertical-align:top;text-align:right;border-bottom:1px solid rgb(231,234,237)">
hypeanddexter icon
src="https://cdn2.hubspot.net/hubfs/3825618/Signature%20/HDLogo_animated.gif"
style="border:0px;height:90px;width:90px;" class="CToWUd">


style="width:350px;font-size:9pt;font-family:font-family: 'Raleway', sans-serif">

























style="font-family:arial;font-size:8pt;color:rgb(232,15,66);padding-top:20px;letter-spacing:0.1px;vertical-align:top">

style="font-size:9pt;font-family:Helvetica,Arial,sans-serif; font-weight: bold;">m:


style="font-family:arial;font-size:9pt;color:rgb(44,51,57);padding-top:20px;letter-spacing:0.1px;vertical-align:top">

style="font-size:9pt;font-family:Helvetica,Arial,sans-serif;...


style="font-family:arial;font-size:8pt;color:rgb(44,51,57);padding-top:8px;letter-spacing:0.1px;vertical-align:top">

style="font-size:10pt; color: rgb(232,15,66);font-family:Helvetica,Arial,sans-serif; font-weight: bold;">e:


style="font-family:arial;font-size:9pt;color:rgb(44,51,57);padding-top:8px;letter-spacing:0.1px;vertical-align:top">

style="font-size:9pt;font-family:Helvetica,Arial,sans-serif;...


style="font-family:arial;font-size:9pt;color:rgb(44,51,57);padding-top:8px;letter-spacing:0.1px;vertical-align:top">

style="color: rgb(232,15,66);font-size:10pt;font-family:Helvetica,Arial,sans-serif; font-weight: bold;">w:


style="font-family:arial;font-size:9pt;color:rgb(44,51,57);padding-top:8px;letter-spacing:0.1px;vertical-align:top">

style="font-size:9pt;font-family:Helvetica,Arial,sans-serif;...

style="font-family:arial;font-size:9pt;color:rgb(44,51,57);padding-top:8px;letter-spacing:0.1px;vertical-align:top">

style="color: rgb(232,15,66);font-size:10pt;font-family:Helvetica,Arial,sans-serif; font-weight: bold;">f:


style="font-family:arial;font-size:9pt;color:rgb(44,51,57);padding-top:8px;letter-spacing:0.1px;vertical-align:top">

target="_blank">
style="f...

style="font-family:arial;font-size:9pt;color:rgb(44,51,57);padding-top:8px;letter-spacing:0.1px;vertical-align:top">
booking time
src="https://cdn2.hubspot.net/hubfs/3825618/Signature%20/phone-symbol-of-an-auricular-inside-a-circle.png"
style="border:0px;height:15px;width:15px; margin-right: 5px;"
class="CToWUd">



style="color:rgb(44,51,57); font-family:arial;font-size:9pt; fon...



hubspot-diamond-agency
src="https://cdn2.hubspot.net/hubfs/3825618/Signature%20/HD-badges/01-HD-diamond.png"
style="border:0px;height:60px;width:180px; margin:0 10px 5px 0;" class="CToWUd">


no-01-apac
src="https://cdn2.hubspot.net/hubfs/3825618/Signature%20/HD-badges/02-HD-Apac.png"
style="border:0px;height:60px;width:180px; margin-bottom: 5px;" class="CToWUd">


top-07-global-partner
src="https://cdn2.hubspot.net/hubfs/3825618/Signature%20/HD-badges/HD-03-no7.png"
style="border:0px;height:60px;width:180px; margin:0 10px 5px 0;" class="CToWUd">



aic certificate
src="https://cdn2.hubspot.net/hubfs/3825618/Signature%20/HD-badges/HD-04-AIC.png"
style="border:0px;height:60px;width:180px; margin-bottom: 5px;" class="CToWUd">



Reply
0 Upvotes