Webhook Package doesn't contain Deal ID

SOLVE
JCrane1
Participant

I'm trying to use a webhook when a deal is created to then grab all the data from that deal (from a get record module in Integromat). I need to use the Deal ID to retrieve this data and then push it to Monday.

There is no reference at all to the Deal ID in the webhook data. Is there anyway to get this ID?

0 Upvotes
1 Accepted solution

Accepted Solutions
JCrane1
Solution
Participant

Hi @Teun 

Sorry, I'm extremely new to Hubspot and I'm doing this on behalf of a customer.


Huh.JPG

What a think maybe the issue is that the webhook seems to be connect to the contacts, even though the trigger is 'deal stage'. I've created a new one to effect deals. This should resolve it? Perhpas the object_id was a contact ID rather than the deal ID I need.

Many thanks!


View solution in original post

7 Replies 7
dennisedson
Community Manager

@JCrane1 , you should see an objectId returned which is the equivalent to the deal id

Developers___HubSpot.png

 

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
JCrane1
Participant

Hi @dennisedson 

I get a much shorter integer of 7 numbers in my payload, not the 10 that would be a deal ID.

This is a webhook triggered from a deal stage change and the output data is downloaded via integromat.

value.JPG

0 Upvotes
JCrane1
Participant

Can anyone offer any help please?

0 Upvotes
dennisedson
Community Manager

@Teun ,

Do you get a similar response as @JCrane1 ?

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes
Teun
Guide | Diamond Partner

Hi @dennisedson and @JCrane1 ,

 

To be able to test this, I need a bit more info. Did you use a regular webhook or a webhook extension in a workflow? Or did you use the webhook API?
I can try to reproduce your setup and see what response I get.

Did my answer solve your issue? Help the community by marking it as the solution.
JCrane1
Solution
Participant

Hi @Teun 

Sorry, I'm extremely new to Hubspot and I'm doing this on behalf of a customer.


Huh.JPG

What a think maybe the issue is that the webhook seems to be connect to the contacts, even though the trigger is 'deal stage'. I've created a new one to effect deals. This should resolve it? Perhpas the object_id was a contact ID rather than the deal ID I need.

Many thanks!


View solution in original post

Teun
Guide | Diamond Partner

Hi @JCrane1 ,

 

That makes sense! I think you solved it yourself.

Did my answer solve your issue? Help the community by marking it as the solution.