APIs & Integrations

JerikaNguyen
Participant

Hubspot API for association between contact and company

I create a pair of labels to associate contacts and companies
Gridly primary (1): 1 contact could be tied to 1 primary company
Contact with Gridly primary company (Many): 1 company could be tied to many contacts.

I would like to use hubspot.crm.associations.v4 to handle the association part. But I'm confused:
- If I create an association between contact A and company A, Husbpot will automatically create one between company A and contact A too. But what if I would like to update the association?
For example, contact A -> company B
Do I need to archive 2 associations between contact A and company A?

0 Upvotes
2 Replies 2
SteveHTM
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Hubspot API for association between contact and company

@JerikaNguyen - a couple of obervations on your situation based on my experience:

- As you are aware HubSpot does have some exising standard functionality in associating Contacts and Companies, particularly around the primary association. This would be the only case I believe when any automated associatin will kick in - and even this can be switched off at a global level.

- If you add additonal labelled associations, I doubt very much that you will see any inbuilt automation kick in related to your customm associations. My experienece with the association API is that the effects are very granular - you have 100% control over the association creation and record end points.

 

I hope this is helpful.

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature
0 Upvotes
JerikaNguyen
Participant

Hubspot API for association between contact and company

My situation is like:
I create a pair of associations between contact and company
Contact -> Company: type_id = 5
Company -> Contact: type_id = 6
And in my python script, I only use type_id = 5 to create / archive associations. But as I checked association history, it exists association created with type_id = 6 (my script doesn't use it). And Hubspot also created 2 another labels with type_id = 279 and 280 together with my labels whereas label = HUBSPOT_DEFINED (so they are definitely not my label at all). 
How could I handle this situation?

0 Upvotes