Webhook
A webhook is an HTTP endpoint that receives data from an external service. In Flowize, a webhook lets you receive an incoming payload, identify the event, expose selected values to a flow object, and inspect the requests that the endpoint has captured.
Create a webhook
- Open Triggers > Webhooks.
- Select New Webhook.
- Choose how you want to configure the webhook:
- Custom
- Hosted pages
- ODBC connector
The new webhook will be automatically created, you will be redirected to the configuration of it.
The webhooks that belong to the Marketplace App are automatically configured.
Configure the webhook
1. Copy the webhook URL
Flowize generates a Custom Webhook URL. Use Copy to copy it and configure the external service to send requests to this endpoint.
The generated endpoint accepts POST requests.
2. Provide an example payload
Use one of the following options to provide a representative payload:
- Select Find Response to retrieve and normalize the latest payload received by the real endpoint.
- Select Paste Response and enter the payload manually.
- Select Import from file to upload a supported JSON or XML-like payload file.
The example payload is used to identify fields for the configuration and mapping steps. A payload must be valid and recognized by Flowize's parser. Empty or malformed data cannot be processed for mapping. In create mode, you can select Skip this step and continue without a sample payload.
3. Define identifier behavior
Choose a Webhook Mode:
- Single: process the webhook as a single event.
- Batch: process a list of webhook events from one payload, you need to provide the path where the list of webhook events is located.
Then select the payload field to use as the Identifier. You can use the field picker to choose a field from the current sample payload.
The identifier is required. The batch path is also required when Batch mode is selected.
Depending on the selected options, you can link the identifier to a flow variable and control whether that variable can be edited in the webhook flow object.
4. Define events
Insert the payload field that contains the event or status value in Status parameter. You can use the field picker to select a field from the sample payload.
Add the possible event values that the webhook object can receive, insert them comma separated. If more than one event value is possible, you can add them configuring the extra options, there you can add each one with its label and value and manage them. The status parameter is required to continue.
5. Map incoming values
The incoming parameters section defines the values that are available to flows. You can map:
- Fields from the webhook response body.
- Request headers, when headers have been received.
- GET URL parameters.
Use Add new webhook variable or Add new GET parameter to create mappings manually. Use Get variables from latest response to import unmapped body and header fields from the latest captured payload.
Advanced settings
Webhook details
You can rename the webhook and review its generated endpoint, app, and webhook object.
Webhook security
Enable webhook security to restrict requests by IP address. Add the permitted addresses to Whitelist IPs.
Custom responses
Enable Custom Response Configuration to define the response returned by the webhook endpoint. You can configure:
- The success response payload and HTTP status code. The default success code is
200. - The error response payload and HTTP status code. The default error code is
400. - The payload format, including JSON, and custom response headers.
The success and error payload editors support inserting flow variables.
Click Save to persist changes.
Webhook responses
Once the webhook has received a response, you can access Responses to view its response history. You will find the button at the top of the view and also in the actions button in webhooks overview list.
Click in view data in the actions button of the response you want to inspect to open it.
Webhooks in the Flows
When you use the webhook in a flow you can configure its behavior:

Here is a summary of the important terms to understand the rest of the entry:
Response A certain call we receive to our webhook URL which will be logged in the database, usually containing an ID and STATUS.
Listener The ID and STATUS pair regarding one data record we are going to wait for, until we have a match with a certain response we receive. This is what we set up in the flows.
These are the types of listeners that we have and their differences:
| Capabilites | Normal Listener | Persistant Listener | ||
|---|---|---|---|---|
| All responses | New responses | All responses | New responses | |
| One response should trigger several listeners across different data records | ✅ | ✅ | ✅ | ✅ |
| A certain response get consumed when it triggers a listener | ❌ | ✅ | ✅ | ✅ |
| Use responses with a date older than the creation of the listener | ✅ | ❌ | ✅ | ❌ |
| The listener is removed after one response is found | ✅ | ✅ | ❌ | ❌ |
So having the following design with the different webhooks the result will be different:
Normal listener + All responses


This design is wrong, the flow will enter in an infinite loop and it will stop.
With this type of webhook, once we receive a match of ID and STATUS, if we reactivate the listener it will take that same response and reactivate the flow, causing this design to enter in an infinite loop and stopping after a couple of executions.
Normal listener + Only new responses


This design is fine, the flow will put a new listener and wait for a new match.
In this case the flow will use a response only if that response comes after the listener was created, so once we have a match, the TEST function will run and we will create another listener that will be triggered only with a new response with the given ID and STATUS.
Persistent listener + All responses


This design is unnecessary, we don't need to reactivate a persistent listener, so we can just link the TEST object to the scheduler object.
A persistent listener will use a certain response only once, but it will be triggered every time we receive an ID and STATUS match. No matter in which part of the flow we are, as soon as the flow gets scheduled, if we have another response that matches it will execute the TEST app, in this case, even if the date is older than the listener creation.
Persistent listener + Only new responses


This design is again unnecessary, same reason as before.
This persistent listener will behave the same way as the previous one, but this time only with the responses we get after the listener was created.
Process it with priority
This listens to webhook response very fast, but it uses most of your environment resources (workers/ram) and it will affect the overall performance of your system, so use it wisely.
Recommended use: When you want to process in real-time events. For example, if you want to use a messaging App like Telnyx or Telegram and you want to activate the webhook as fast as the user types or press a button on the keypad.
Not recommended use: For not real-time events. For example, suppose you are sending an email, and it gets rejected. It's not critical to activate the webhook listening to the BOUNCE immediately, so in that case, it is better not to process the webhook in real-time.
If there are multiple websites running on your environment, it is not recommended to use it.