Skip to main content

Connect Heyflow with a webhook

Learn how to send every submission automatically straight to any URL endpoint as soon as it’s submitted with Heyflow's Webhook API.

⭐ Advanced webhook options (HTTP method, custom headers, URL parameters, Basic Authentication and extended payload) are part of the Advanced Integrations bundle (included in Scale) and the legacy Business plan. Standard webhooks are available in every plan.

👀 Not sure which plan you're on? Check your subscription here.

A webhook is a way for your Heyflow to send information instantly to another service or application when someone submits a response. Think of it as an automatic message that notifies another system about the new submission, allowing you to process the data in real-time. Heyflow allows creating custom webhooks that send every submission straight to any URL endpoint that receives the response data in a JSON format.​

With the Advanced Integrations bundle (included in Scale) or the legacy Business plan, there are numerous customization options available to tailor the webhook to your requirements.

This article covers:


Creating and testing a new webhook

  1. Navigate to the Connect tab and select Hooks.

  2. Provide a valid URL and assign a name to the webhook for easier identification.

  3. Click Test to send an example payload to the specified URL.

  4. Click Activate.

  5. You will receive data each time a new form is submitted using the Submit button. Any information entered after a submission will not be transmitted.

💡 If your flow has several submit buttons (e.g. partial submits), the webhook is sent for every submit button that triggers integrations. Each delivery contains the response data collected up to that point. To avoid several deliveries, disable the integration trigger on earlier submit buttons.

Test Webhook Payload

{
flowID: <YourFlowID>,
id: 'demo-response-id', // Heyflow UUID for the response
createdAt: new Date(), // datetime of the test trigger,
fields: {
'Demo Field 1': 'Some value', // 'Demo Field 1' is your system label,
'Demo Field 2': 'Some other value',
},
}

After a successful test (HTTP status code 200), activate your webhook. From now on, each new submission will be sent to the specified URL.

Simple Webhook Payload

Every submission from your funnel is sent in this standard format:

{
"flowID": "<YourFlowID>",
"id": "<HeyflowResponseID>",
"createdAt": "2026-04-24T11:18:55Z",
"fullUrl": "https://your-flow.heyflow.site/start?utm_source=google",
"referrer": "https://www.google.com/",
"origin": "https://your-flow.heyflow.site",
"fields": {
"System Label": "Value"
}
}

fullUrl, referrer and origin are always included.

❗ The payload is not versioned. It changes when you add, remove or rename blocks in your flow, and new top-level fields can be added. Make sure your endpoint ignores unknown fields instead of rejecting the request.

If your flow uses A/B testing, the payload will also include the A/B test ID and the version of the response:

{
\"flowID\": \"<YourFlowID>\",
\"id\": \"<HeyflowResponseUUID>\",
\"createdAt\": \"2026-04-24T11:18:55Z\",
\"fields\": {
\"System Label\": \"Value\"
},
\"abTestID\": \"aJ2ojSns4AHwFSa80H7I\",
\"abTestVersion\": \"baseline\"
}

❗ Please note: To ensure that download links are full file URLs that can be accessed programmatically, enable Public Link access for the flow in the settings.

❗ Fields marked as Sensitive are sent to your webhook with their real value when the response is submitted. Heyflow does not store these values, so if you retrigger a response later, these fields contain ***deleted***.

💡 If you want to receive more detailed information about each submission, you can use our Extended Payloads feature with the Advanced Integrations bundle (included in Scale) or the legacy Business plan.


Customizing Your Webhook

With the Advanced Integrations bundle (included in Scale) or the legacy Business plan, you have additional options to tailor your webhook:​

  • HTTP Methods: Choose between POST, PUT, GET, DELETE or OPTIONS to match your endpoint's expected request type.

  • Custom Headers: Add specific information required by the receiving system.

  • URL Parameters: Include fixed details like API keys in the webhook URL.

  • Basic Authentication: Secure your webhook with a username and password.

  • Extended Payloads: Receive more detailed information about each submission.

🔎 Learn more about customization options here.


Tracking URL parameters

If you want to pass URL/UTM parameters from your flow to your webhook, you need to set up a hidden input field to capture the data. Once set up, you can map these input fields to corresponding fields in your response handler of choice.

The UTM parameters will then be automatically passed along with each response—without your visitors noticing. 🚀


Troubleshooting

If something goes wrong with your webhook integration, we’ll automatically notify you by email. The message will include the flow ID and the HTTP status code, for example: Error: Request failed with status code 503

Please note that these errors come from the external service or server you’ve configured, Heyflow only forwards the response.

🔎 For a full list of common errors and how to resolve them, check out our troubleshooting guide.

Did this answer your question?