APIs & Integrations

BPegenaute
Miembro

Association between companies contacts and deals

resolver
Hi,
Ee're creating a private app to exchange data from our database to HS and we're trying to create custom relations between companies and contacts.
 
I have studied the documentation on association labels, but it seems it does not serve my purpose. From our database, we're injecting data to a new property we created in HS called company_id which is the same for the company and all the employees (contacts) working there.
 
 
I can't figure out how to instruct HS to look for that data point and use it to relate contacts to companies (and later on, to deals), is that something possible?
 
Thanks 
0 Me gusta
1 Soluciones aceptada
weiliang_lee
Solución
Colaborador líder | Partner nivel Diamond
Colaborador líder | Partner nivel Diamond

Association between companies contacts and deals

resolver

Hi @Jaycee_Lewis thanks for the tag, definitely can chime in on this.

 

@BPegenaute could you help me understand this a little more:

I'm assuming your system has means to push data into HS whenever you catch a chang. You have already created this custom property in your Contact and Company objects (called "company_id"), and successfully update them whenever you catch a change in your database.

 

And your missing piece is, how to associate them right? Aside from what Jaycee provided (which is the association bit), I'm guessing that you want to do a search of contacts by that company_id right? If so, you can use this endpoint - https://developers.hubspot.com/docs/api/crm/search

 

From here you can do a filter of the property name, and then do a batch association to it.

 

Is this what you're looking for?

 

Cheers

WL

 

Ver la solución en mensaje original publicado

3 Respuestas 3
weiliang_lee
Solución
Colaborador líder | Partner nivel Diamond
Colaborador líder | Partner nivel Diamond

Association between companies contacts and deals

resolver

Hi @Jaycee_Lewis thanks for the tag, definitely can chime in on this.

 

@BPegenaute could you help me understand this a little more:

I'm assuming your system has means to push data into HS whenever you catch a chang. You have already created this custom property in your Contact and Company objects (called "company_id"), and successfully update them whenever you catch a change in your database.

 

And your missing piece is, how to associate them right? Aside from what Jaycee provided (which is the association bit), I'm guessing that you want to do a search of contacts by that company_id right? If so, you can use this endpoint - https://developers.hubspot.com/docs/api/crm/search

 

From here you can do a filter of the property name, and then do a batch association to it.

 

Is this what you're looking for?

 

Cheers

WL

 

Jaycee_Lewis
Administrador de la comunidad
Administrador de la comunidad

Association between companies contacts and deals

resolver

Hi, @BPegenaute 👋 Thanks for reaching out! To confirm, you are not missing a documented option. 

Hey, @ChrisoKlepke @weiliang_lee, do you have any thoughts on workarounds or other ways @BPegenaute might think about this project?

 

Best,

Jaycee


Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success.
Don't miss this opportunity to connect and grow—reserve your spot today!


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
BPegenaute
Miembro

Association between companies contacts and deals

resolver

Hi there

 

Thanks for your answer

 

We found a way around by injecting HS's tracking code into our SPA, but now we're facing a different issue as all forms are reconverting data from the original contact created and associated to the record.

 

Thanks tho