APIs & Integrations

ZahidZC
Participant

Create Associations - Where to find ObjectID and ObjectType and Custom Definition ID

SOLVE

Hi, I am setting up integration using Make.com (formerly Integromat) with Hubspot to try and acheive the following: 1) Create a new record in our Custom Object, and then 2) Associate that new record in the Custom Object with an existing Contact record. 

I have no problem creating a new Custom Object record, but am having trouble trying to identfy the correct Object ID and Object Type for both the Contact record and Custom Object record, as well as figuring out what the "Custom Object ID" is. See screenshot below.

Questions:

1. There is a "To" and a "From" - I am trying to create an association between a Contact and a Custom Object, I am assuming "To" should be the Custom Object and the "From" should be a Contact record? I see a reference article here but want to confirm the correct association is Contact>Custom Object. Right? https://developers.hubspot.com/docs/api/crm/associationshttps://legacydocs.hubspot.com/docs/methods/...


2. How do I find the "Custom Object ID" and do I choose Hubspot Defined or User Defined for the "Category" 

3. Finally, where do I find the "Definition ID" for the relationship between a Contact>Custom Object. There is a table that is for existing object associations but I imagine new ID is defined specifically for your Contact>Custom Object that was created. 

Any help would be great! 
---

ZahidZC_0-1691589573893.png

------

ZahidZC_1-1691590002674.png

 

 

0 Upvotes
1 Accepted solution
coldrickjack
Solution
Guide

Create Associations - Where to find ObjectID and ObjectType and Custom Definition ID

SOLVE

Hey @ZahidZC,

 

I recorded a short video walkthrough demonstrating how this can be acheived and where to find this information: https://share.vidyard.com/watch/J6NhHiTFLz3Jydz2KrAQfZ?

 

See a screenshot of how I configured my module in MAKE:

 

Screenshot 2023-08-09 at 16.32.38.png

I hope that it helps.

View solution in original post

6 Replies 6
SNitsche
Participant

Create Associations - Where to find ObjectID and ObjectType and Custom Definition ID

SOLVE

Amazing response. Thanks a lot. This helped beyond measure.

0 Upvotes
ZahidZC
Participant

Create Associations - Where to find ObjectID and ObjectType and Custom Definition ID

SOLVE

@jackcoldrick This was a fantastic response, and the video recording was beyond helpful. Very educational, thank you for helping me solve this so quickly. Cheers! 

coldrickjack
Guide

Create Associations - Where to find ObjectID and ObjectType and Custom Definition ID

SOLVE

I'm glad to hear that and wish you the best of luck moving forward with the project 😊

0 Upvotes
coldrickjack
Solution
Guide

Create Associations - Where to find ObjectID and ObjectType and Custom Definition ID

SOLVE

Hey @ZahidZC,

 

I recorded a short video walkthrough demonstrating how this can be acheived and where to find this information: https://share.vidyard.com/watch/J6NhHiTFLz3Jydz2KrAQfZ?

 

See a screenshot of how I configured my module in MAKE:

 

Screenshot 2023-08-09 at 16.32.38.png

I hope that it helps.

DKevans
Participant | Elite Partner
Participant | Elite Partner

Create Associations - Where to find ObjectID and ObjectType and Custom Definition ID

SOLVE

Awesome response! We need more people like you. This helped a lot!

baribeau
Contributor

Create Associations - Where to find ObjectID and ObjectType and Custom Definition ID

SOLVE

You're a legend. This is a thing I've done once before, but many many months ago, and I'm repeating it now for a totally different use case. Your 5-minute video just saved me an hour+ of tinkering.