Available starting with FlowX.AI 5.6.0Incoming Webhooks require the
webhook-gateway microservice to be deployed.Overview
Incoming Webhooks allow external systems to trigger FlowX processes by sending HTTP POST requests to a generated URL. Each webhook gets a unique, cryptographically secure API key for authentication — no IMAP setup, no polling, just a direct HTTP call. Use webhooks when you need to:- Receive events from third-party platforms (payment processors, CRMs, ERPs) that support outbound webhooks
- Trigger processes from CI/CD pipelines or internal tools via simple HTTP calls
- Replace polling-based integrations with event-driven process starts
API key authentication
Each webhook gets a unique, secure API key included in the URL
JSON payload forwarding
Webhook body and HTTP headers are forwarded to the process instance as variables
Manage Triggers UI
Activate, deactivate, and manage webhook URLs from Runtime Settings
Zero configuration
No server settings needed — create the data source, connect to a process, activate
How it works
Create an Incoming Webhook data source
In Integration Designer, create a new data source and select Incoming Webhook. Provide a name and optional description. No connection settings are required.
Connect to a Message Start Event
In your process definition, add a Message Start Event node. Set the Trigger Type to Incoming Webhook and select your webhook data source.
Commit and activate
Commit the version, then go to Runtime → Manage Triggers. The webhook appears as Deactivated. Click the action menu and select Activate.
Get the webhook URL
From the trigger’s action menu, select Get URL. Copy the generated URL (includes the API key as a query parameter) and configure it in your external system.
Creating a webhook data source
Configure basic information
| Field | Required | Description |
|---|---|---|
| Name | Yes | A unique name for the webhook (3–50 characters, letters, numbers, [] () . _ -) |
| Description | No | Purpose or context for this webhook |

Incoming Webhooks accept POST requests with JSON payloads (max 1 MB). No connection settings, credentials, or polling configuration is needed.
Connecting to a Message Start Event
To use the webhook, connect it to a Message Start Event node in your process definition.Add a Message Start Event node
Drag a Message Start Event from the Start Events section of the node palette onto the canvas.
Configure the Process Trigger
In the node configuration panel, under Process Trigger:
- Set Trigger Type to Incoming Webhook
- In Select Webhook, choose your webhook data source from the dropdown

Managing webhooks at runtime
Activating a webhook
For a webhook to appear in Manage Triggers:- The webhook data source must be created
- The webhook must be connected to a Message Start Event node
- The version must be committed
| Column | Description |
|---|---|
| State | Active or Deactivated |
| Trigger Type | Webhook |
| Event Name | The webhook data source name |
| Location | Project and branch information |
- Activate — Start accepting webhook requests
- Deactivate — Stop accepting requests. The API key and URL are preserved, so you can reactivate later without reconfiguring external systems.
- Get URL — View and copy the webhook URL with API key

Webhook URL and API key
When you activate a webhook and select Get URL, a modal displays:- Webhook URL — The full URL including the API key as a
flowxApiKeyquery parameter - Copy button — Copies the URL to clipboard
- Reset API Key — Generates a new API key (invalidates the previous URL)

Webhook payload
When an external system POSTs to the webhook URL, the following data is available in the process instance:| Field | Type | Description |
|---|---|---|
dateTime | string (ISO 8601) | When the webhook was received |
payload | object or string | The POST request body (parsed as JSON if valid, raw string otherwise) |
headers | object | All HTTP headers from the incoming request |
The maximum payload size is 1 MB. Requests exceeding this limit are rejected.
Authentication
Webhook authentication uses API keys:- Each webhook registration gets a unique 32-byte, base64-URL-encoded API key
- The key is passed as the
flowxApiKeyquery parameter in the webhook URL - Validation uses constant-time comparison to prevent timing attacks
- Invalid or missing keys return
401 Unauthorized - Inactive webhooks return
404 Not Found
Error handling
| HTTP Status | Cause | Resolution |
|---|---|---|
200 OK | Webhook accepted and published to Kafka | — |
400 Bad Request | Malformed payload (not valid JSON) | Verify the POST body is valid JSON |
401 Unauthorized | Invalid or missing API key | Check the flowxApiKey parameter matches the active webhook URL |
404 Not Found | Webhook registration not found or deactivated | Verify the webhook is activated in Manage Triggers |
413 Payload Too Large | Request body exceeds 1 MB | Reduce the payload size or split into multiple requests |
500 Internal Server Error | Processing error | Check webhook-gateway service logs |
Best practices
Use HTTPS
Always use HTTPS URLs in production to protect the API key in transit
Validate payloads in your process
Add validation logic in your process to handle unexpected or malformed payloads gracefully
Monitor Failed Triggers
Regularly check the Failed Triggers section for webhook processing errors
Rotate keys periodically
Use the Reset API Key feature to rotate webhook credentials, then update the URL in external systems
Related resources
Message Start Event
Configure message-based and webhook process triggers
Email Trigger
Start processes from incoming emails via IMAP
Integration Designer
Build integration workflows and manage data sources
Webhook Gateway setup
Deploy and configure the webhook-gateway microservice

