Trying to map fields from hubspot form to a web hook into our crm
SOLVE
Hello,
I am having an issue pushing a contact into our outside crm. Right now we are trying through the workflow... form submission triggers the webhook.
We see activity going into our crm however it is just contact id for example
firstname=firstname and the contact actually shows up in our crm as firstname
At this time, workflow webhooks cannot send specific contact properties through a query string.
Instead, a workflow POST action sends all of a contact record's data to your endpoint in the JSON body. Your system must then parse the body/payload to find specific contact properties. It's a bit difficult for me to say where the body is located, but it accompanies every incoming API call and should be visible in your logs.
Trying to map fields from hubspot form to a web hook into our crm
SOLVE
Thank you Issac, If I am wanting to send specific contact properties via the query string what is the best way to do this and where can I find the request body?
At this time, workflow webhooks cannot send specific contact properties through a query string.
Instead, a workflow POST action sends all of a contact record's data to your endpoint in the JSON body. Your system must then parse the body/payload to find specific contact properties. It's a bit difficult for me to say where the body is located, but it accompanies every incoming API call and should be visible in your logs.
Thank you for the clarification. When you POST through a HubSpot workflow, all the contact data is included in the payload as JSON. Per this article, "the receiving system can then parse that JSON data, and use it for its own application."
It looks like you may be attempting to send specific contact properties via the query string (firstname, lastname, etc.), but this contact property data is instead located in the request body.