Workflow: Webhook POST with Deal ID Token


#1

Hi,

I created a workflow: Enrolment triggers + Deal stage is equal to + First Stage

Then a Webhook POST. It works, but I cant see the Deal ID in the response? Is there any tokens I could add to the end of the webhook URL like

https://hook.spinmortgage.com/first-stage?deal_id={{deal_id}}

Any suggestions would be much appreciated!


#2

Hi @jayson_brown,

Just to make sure that we're on the same page, are you looking for the associated deal IDs of the contact? The workflow webhook action doesn't currently send object association data. you'd need to take the resulting vid and pull the contact using the contacts API.

I can completely understand that use case, however; If you have the inclination, I would encourage you to check out the Ideas Forum on the HubSpot Community. There, you can create a post including your use case that product and other customers can see.


#3

I´m not sure if this post is the correct one but I´m looking for a webpage where I can find the JSON that is sent in a webhook action to a custom web service, I have found a webpage for the contact but not for the Deal, can you help me?

The information I´m trying to find is the same as this but for deals

Thanks


#4

Hi @sergio_macias,

Workflow webhooks cannot send deal JSON. The workflows tool can segment based on a number of criteria including company/deal properties, but the actual record that is enrolled in the workflow is still limited to contact records. If you're looking for the JSON structure of deals as returned by the HubSpot API, you can check out the Deals API docs: