Webhook Receiver
Listens for external HTTP requests to trigger the workflow.
Entry node for workflows started by an HTTP call. It checks the request method and an optional shared secret, then outputs the request's headers, body, query and method.
This operator exposes a unique URL endpoint. When an external service (e.g., Stripe, Typeform, GitHub) sends a POST request to this URL, the workflow is instantiated with the request body as the payload.
Features:
- Method Agnostic: Can be configured to accept POST, GET, PUT.
- Authentication: Supports validating headers or signatures/secrets.
- Response: Can define what response to send back to the caller (Sync vs Async).
Use Cases:
- Integrating form submissions (Typeform).
- Reacting to payment events (Stripe Webhook).
- Building a custom API endpoint.
How it works
- What starts it: a
POSTto the backend at/workflow-orchestration/trigger/webhooks/{mode}/{bindingIdentifier}, wherebindingIdentifieris an ingress binding id or slug that points to the workflow. The body limit is 5 MB. The call is synchronous by default;execution_mode=async(query string or body) returns at once with the instance id. modetestruns the workflow draft;prodruns the default published version (or the latest one) and fails when none exists. The request becomes the run's input{ body, headers, query, method }.- The node resolves its config and compares the request method (upper-cased, default
GET) withmethod(defaultPOST) unlessmethodisANY. - Checks
auth_type:none(default);headercompares the header namedauth_config.header_namewithauth_config.secret;basiccompares the wholeAuthorizationheader withauth_config.secret; any other value is rejected. - Outputs
{ headers, body, query, method }onoutwithmeta.reply_mode.
In a workflow
The node as it appears in a workflow file (draft_nodes[]), and the envelope of a successful run.
{
"node_id": "node-webhook",
"label": "Order webhook",
"operator_slug": "webhook.trigger",
"operator_version": "1.0.0",
"config": {
"method": "POST",
"auth_type": "header",
"auth_config": {
"header_name": "x-webhook-token",
"secret": "<shared-secret>"
}
}
}{
"ok": true,
"data": {
"headers": {
"content-type": "application/json",
"x-webhook-token": "<shared-secret>"
},
"body": {
"event": "order.received",
"data": {
"order_id": "ord_123",
"total": 129.99
}
},
"query": {},
"method": "POST"
},
"port": "out",
"meta": {
"reply_mode": "sync"
}
}Configuration
-
methodstring Optional -
pathstring Optional -
Custom path segment (e.g. /my-hook).
-
response_modestring Optional -
Immediate: Returns 200 OK instantly. Workflow End: Waits for workflow to finish and returns result.
Behaviour in the code
What the implementation does with these keys beyond what the schema says.
-
auth_typeRead by the code, not declared - Undeclared, like
auth_config(header_name,secret) andreply_mode(defaultsync, only echoed inmeta). Values are compared as plain strings;basicdoes not decode the header. -
method - The code also accepts
ANY, which is not in the schema's enum. Since the backend route isPOST-only, keepPOSTorANY. -
path - Declared but not read: the URL is defined by the ingress binding.
response_modeis not read either; useexecution_mode=asyncon the call for an immediate response.
Output ports
out default The method and authentication checks passed. Header names are lower-case.
{
"headers": {
"content-type": "application/json",
"user-agent": "curl/8.7.1"
},
"body": {
"event": "order.received",
"data": {
"order_id": "ord_123",
"total": 129.99
}
},
"query": {},
"method": "POST"
}error The method or the authentication check failed. The output is the envelope { ok, errors, port, meta: { status_code } }; status_code (405 or 401) is informational and does not change the HTTP response of the call.
{
"ok": false,
"errors": [
"Authentication Failed: Invalid header secret"
],
"port": "error",
"meta": {
"status_code": 401
}
}In expressions
What a later node can read from this node's output with $("Webhook Receiver").item.json.<path> (write your node's label instead of Webhook Receiver). Editor marks the paths the workflow editor suggests under Previous Nodes (the output contract); Worker marks the paths the worker really returns through out, from the output shown in Ports.
| Expression | Editor | Worker |
|---|---|---|
$("Webhook Receiver").item.json.body | ||
$("Webhook Receiver").item.json.headers | ||
$("Webhook Receiver").item.json.query | ||
$("Webhook Receiver").item.json.headers.content-type | — | |
$("Webhook Receiver").item.json.headers.user-agent | — | |
$("Webhook Receiver").item.json.body.event | — | |
$("Webhook Receiver").item.json.body.data | — | |
$("Webhook Receiver").item.json.method | — |
— Worker: The worker returns it but the editor does not suggest it: write it by hand. Keys inside objects can depend on your data or configuration (for example one key per label).
Errors
| Message | Port | Cause and fix |
|---|---|---|
Method Not Allowed: Expected <method>, got <incoming> | error | method is not POST or ANY. The ingress route only accepts POST, so any other value always fails. |
Authentication Failed: Invalid header secret | error | auth_type is header and the header is missing or different. Authentication Failed: Invalid basic auth is the basic equivalent. |
Authentication Failed: Auth type <auth_type> not implemented | error | auth_type is not none, header or basic (for example jwt or hmac). |
No published version found for this workflow | error | Returned by the backend, before the node runs, for a prod call to a workflow that was never published. Webhook binding not found means the binding id or slug is wrong. |
Output contract
-
bodyobject Optional -
headersobject Optional -
queryobject Optional
Contracts (JSON Schema)
The definition exactly as the orchestrator declares it. All is the whole *.definition.js; compare it with the sections above to spot differences between the documentation and the schema. Use it to validate a node before you publish.
{
"slug": "webhook.trigger",
"name": "Webhook Receiver",
"category": "triggers",
"version": "1.0.0",
"description": "Listens for external HTTP requests to trigger the workflow.\n\n This operator exposes a unique URL endpoint. When an external service (e.g., Stripe, Typeform, GitHub) sends a POST request to this URL, the workflow is instantiated with the request body as the payload.\n\n **Features:**\n - **Method Agnostic:** Can be configured to accept POST, GET, PUT.\n - **Authentication:** Supports validating headers or signatures/secrets.\n - **Response:** Can define what response to send back to the caller (Sync vs Async).\n\n **Use Cases:**\n - Integrating form submissions (Typeform).\n - Reacting to payment events (Stripe Webhook).\n - Building a custom API endpoint.",
"capabilities": [
"http",
"webhook",
"api",
"ingress"
],
"config_schema": {
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": [
"POST",
"GET",
"PUT",
"PATCH",
"DELETE"
],
"default": "POST",
"title": "HTTP Method"
},
"path": {
"type": "string",
"title": "Route Path",
"description": "Custom path segment (e.g. /my-hook)."
},
"response_mode": {
"type": "string",
"enum": [
"immediate",
"workflow_end"
],
"default": "immediate",
"description": "Immediate: Returns 200 OK instantly. Workflow End: Waits for workflow to finish and returns result."
}
}
},
"input_contract_schema": null,
"output_contract_schema": {
"type": "object",
"description": "The incoming HTTP request data.",
"properties": {
"body": {
"type": "object"
},
"headers": {
"type": "object"
},
"query": {
"type": "object"
}
}
},
"ports": [
{
"port_id": "out",
"label": "Received",
"is_default": true,
"description": "Request received."
},
{
"port_id": "error",
"label": "Error"
}
],
"execution_mode": "async",
"tags": [
"http",
"api",
"webhook",
"trigger"
],
"is_stateful": false,
"publisher": {
"identity": "org_sommatic_ai",
"profile": {
"name": "Sommatic AI",
"verified": true,
"url": "https://me.veripass.com/sommatic",
"logo_url": null
}
}
}{
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": [
"POST",
"GET",
"PUT",
"PATCH",
"DELETE"
],
"default": "POST",
"title": "HTTP Method"
},
"path": {
"type": "string",
"title": "Route Path",
"description": "Custom path segment (e.g. /my-hook)."
},
"response_mode": {
"type": "string",
"enum": [
"immediate",
"workflow_end"
],
"default": "immediate",
"description": "Immediate: Returns 200 OK instantly. Workflow End: Waits for workflow to finish and returns result."
}
}
}{
"type": "object",
"description": "The incoming HTTP request data.",
"properties": {
"body": {
"type": "object"
},
"headers": {
"type": "object"
},
"query": {
"type": "object"
}
}
}[
{
"port_id": "out",
"label": "Received",
"is_default": true,
"description": "Request received."
},
{
"port_id": "error",
"label": "Error"
}
]Execution
- Execution
async- Stateful
- No
- Capabilities
httpwebhookapiingress- Tags
httpapiwebhooktrigger
Notes and limits
- The ingress endpoint itself is unauthenticated; protection depends on
auth_typein this node and on the binding. A failed check still creates a run, which ends onerror. - A paused workflow is not run: in
testmode the call gets 423, inprodmode it gets 200 with a paused instance. In the editor with sample data the engine skips this node and passes the sample input onout. - Downstream, read the payload at
{{ $json.body.<field> }}.
Reviewed against the orchestrator code · 31e874b · 2026-11-26