Adapter: Webhook Receiver
Receive incoming HTTP webhooks to trigger workflows.
Purpose
Receive HTTP requests at /api/webhooks/{path} and start a workflow from them.
This adapter only receives. To send webhooks, use a Generic REST profile, which can sign each request with Standard Webhooks headers.
Auth
none,header(a header must holdexpectedValue),query(a query parameter must) orsignature(an HMAC of the body insignatureHeader, SHA-256 or SHA-1). Every value is compared in constant time.- For a timestamp replay window and Standard Webhooks headers, use a webhook trigger with a secret.
Settings
Auth is chosen with authentication: none, header, query, signature. Dotted names are fields inside an object setting. Secret settings are encrypted at rest, never returned by a read, and shown masked in the console and in exports; their defaults are not shown.
| Setting | Type | Required | Default | Secret | Description |
|---|---|---|---|---|---|
path | string | Yes | No | Path after /api/webhooks (e.g., /my-integration receives POST /api/webhooks/my-integration). | |
method | enum: POST, GET, PUT, PATCH, DELETE | No | POST | No | HTTP method. |
authentication | enum: none, header, query, signature | Yes | No | Auth method. | |
authConfig | object | No | |||
authConfig.headerName | string | No | No | Used when authentication is header. | |
authConfig.queryParam | string | No | No | Used when authentication is query. | |
authConfig.expectedValue | string | No | Yes | Used when authentication is header or query. | |
authConfig.secret | string | No | Yes | Used when authentication is signature. | |
authConfig.signatureHeader | string | No | X-Webhook-Signature | No | Used when authentication is signature. |
authConfig.algorithm | enum: sha256, sha1 | No | sha256 | No | Used when authentication is signature. |
responseConfig | object | No | |||
responseConfig.statusCode | number | No | 200 | No | |
responseConfig.body | string | No | No | ||
responseConfig.contentType | string | No | application/json | No |
Actions
This adapter only reads or receives: a send step through it is refused. A trailing ? marks an optional step parameter.
| Action | What it does | Step parameters | Keys a message may supply |
|---|---|---|---|
receive | Receive and validate webhook payload. | payload, headers?, query? | payload, headers, query |
register | Register a new webhook endpoint. | path, workflowId | payload, headers, query |
unregister | Unregister a webhook endpoint. | path | payload, headers, query |
Minimal example
The smallest profile the engine accepts: the required settings only, with synthetic values. Create it with POST /api/adapter-profiles, then test it with POST /api/adapter-profiles/{id}/test.
{
"name": "Webhook Receiver (example)",
"adapterType": "webhook",
"config": {
"path": "example-path",
"authentication": "none"
}
}Limits
- Receive only: a send step through it is refused. To call out, use Generic REST.
- For per-trigger signing and replay protection, see Triggers.