Webhook POSTS null

Hi there

I’m trying to build an automation workflow which gets triggered when a form gets submitted. The webhook should then post the form entries to my backend to further process them. However, the webhook is not sending the actual values, rather just “null”. I also tried this with webhook.site which again gives the same result.

I have all the key values defined for the body:

However, when the webhook gets triggered, it sends it like this:

 "post_code_city": null,
 "signer_1_email": null,
 "signer_1_title": null,
 "signer_2_email": null,
 "signer_2_title": null,

It only works via the test option in which I can define the values.

The form fields are all contact properties.

Does anyone have an idea how to fix this?

Quick update:

I have changed the trigger, and it now sends not null any more, now the fields are just empty:

{
 "company_street": "", "registered_company_name": "",....}

Hey there! I agree with @SteveHTM that adding a delay to your workflow is likely the most effective way to deal with this. Have fun building! — Jaycee

@leeric - I am thinking that the problem here is not with the logic, but with timing. Increasingly, I find there is a lag between HubSpot data being set and it being shared across all processes and sub-systems. You have presumably checked that form data is being sent to your HubSpot object, but perhaps it isn’t available to the workflow process in that instant.

Although this seems crude, you may want to try a delay (5 mins?) between the trigger and the webhook action and see if that improves the picture.

Steve