Skip to content
Docs

Webhook

Webhook starts a flow when an HTTP request arrives at a webhook you have created. Every accepted request becomes a fresh run, with the request handed to the flow as start data. You find it on the node picker’s Triggers — start the flow shelf, and How-to: Receive webhooks is the full setup walkthrough.

The node has a single webhook handle, which connects into Start’s trigger handle. Like every trigger, the node is not one of the run’s steps: it decides when a run starts and what the start data is, and the run itself begins at Start. A Webhook node that is armed but not wired into Start starts nothing; the skipped request is recorded as a receipt on the traffic log.

The Webhook node's settings form, with the fields described below
The Webhook node's settings form, with the fields described below
FieldTypeDefaultDescription
Webhook (webhookId)string ✦ (required) — The webhook whose inbound HTTP request triggers this flow.
Without overlapping (withoutOverlapping)boolean (optional) true Prevent a new run from starting while a previous run for this trigger is still in progress. With “Overlap key” set, only a run about the same key blocks.
Overlap key (overlapKey)string (optional) — What a run is about, for the overlap rule: a JSON path into the payload, such as $.objectId or $.eventId. Runs about different keys may overlap; a run about a key already in flight is skipped.
Split deliveries at (splitPath)string (optional) — Start one run per item when the request body holds a list. A JSON path into the payload, such as $ for a body that is itself a list or $.events for a list under that key. Leave empty to start one run per request.
Skip repeats of (dedupKey)string (optional) — Skip a delivery that repeats one this trigger already ran: a JSON path into the payload naming what makes two deliveries the same, such as $.eventId. A repeat inside the window starts nothing, even after the first run has finished.
Skip repeats for (minutes) (dedupWindowMinutes)integer (optional) 1440 How long a value in “Skip repeats of” is remembered, in minutes: a day unless set, at most a week.

Fields marked ✦ accept expressions.

Each webhook resource has its own URL:

https://your-publicus.example/webhook/{workspace-id}/{webhook-id}

It accepts GET, POST, PUT, PATCH, and DELETE. When the webhook resource lists allowed IP addresses, requests from any other address get a 403. An accepted request is answered immediately with {"message": "ok"}; the run happens in the background, so the response never carries the flow’s result.

Every accepted request is stored on the webhook’s request log, visible with all other inbound traffic on the Traffic screen, and can be dispatched again with Re-trigger.

The run’s start data is the stored request envelope. The body sits under $start->payload, beside the method, URL, and headers:

{
"id": "d8gt…",
"webhookId": "d8gt…",
"method": "post",
"url": "https://your-publicus.example/webhook/…",
"headers": { "content-type": "application/json" },
"payload": { "orderId": 1234 }
}

Read it downstream with expressions, for example {{ $start->payload->orderId }} or {{ $start->method }}. Triggered runs execute the flow’s published version; see Triggers & arming.

Many senders post a JSON array of events in one request and batch them under load: HubSpot, Stripe, Shopify and GitHub all do. Left alone, that whole array is $start->payload and a flow built around one event per run can handle only one of them.

Set Split deliveries at to a JSON path into the payload, and a delivery whose value at that path is a list starts one run per item:

Body Split deliveries at Runs
[{…}, {…}, {…}] $ 3, each with one object as $start->payload
{"events": [{…}, {…}]} $.events 2
{"id": "evt_1", …} $.events 1, payload unchanged — the value is not a list
[] $ 0, and the delivery’s receipt says why

Every run keeps the delivery’s id, method, url and headers, so a signature over the request is still checkable from any of them. The webhook’s request log shows the delivery once with a Runs count of three, and Re-trigger splits it again.

Without overlapping applies per run, so on its own it would let a batch of three start its first event and skip the other two. Give the trigger an Overlap key instead, and the rule applies per key (below); or switch it off if the runs are independent.

The path is a plain JSON path, not an expression — inbound dispatch reads what is stored and never evaluates expressions, so it cannot change per delivery.

Without an Overlap key, Without overlapping is flow-wide: at most one run of the flow at a time, whatever it is about. That is the right rule for a schedule and a poor one for a webhook, where two events about different deals have no reason to wait for each other while two events about the same deal must not run at once.

Set Overlap key to a JSON path into the payload naming what a run is about, and the rule applies per key:

Overlap key Effect
$.objectId events about different objects run together; a second event about an object still in flight is skipped
$.eventId a redelivery of an event that is still running is skipped; everything else runs
(empty) flow-wide, as before

It works with and without Split deliveries at: in a split batch each item is keyed on its own, and a single-event delivery is checked against runs a batch started. A key that matches nothing falls back to the flow-wide rule rather than running unchecked. The skip receipt names the key (overlapping execution for key 101).

An overlap key only catches a repeat while the first run is still going. Senders redeliver an event they think was lost, sometimes long after the first run finished, and a second run then drafts a second reply or adds a second row. Set Skip repeats of to a JSON path naming what makes two deliveries the same, usually the sender’s event id ($.eventId), and a delivery that repeats one this trigger already ran starts nothing.

  • The first delivery with a value holds it for Skip repeats for (minutes): a day unless you set it, at most a week. After that, a repeat runs again.
  • A repeat’s receipt on the traffic log says why it did not run. That includes a Re-trigger inside the window.
  • A delivery the path finds nothing in runs, so an event without the id is never dropped.
  • With Split deliveries at, each item is checked on its own, so a batch that holds the same event twice runs it once.
  • A delivery skipped for another reason (an overlap, the credit allowance), or one that failed to start, does not hold its value.

It works with Without overlapping on or off: the overlap rule decides what runs side by side, this rule decides what runs at all.

The Webhook template is the minimal wiring: Webhook trigger → Start → Transformer, where the Transformer echoes what arrived:

{
"received": {!! json_encode($start->payload) !!},
"echoedAt": "{{ now()->toIso8601String() }}"
}

Arm the trigger by clicking its badge on the canvas and switching Active on, then POST a JSON body to the webhook URL.

  • With withoutOverlapping on (the default), a request that arrives while a previous run of the flow is still in progress is skipped, not queued; the skip is recorded as a receipt on the traffic log. This includes the other items of a delivery split with Split deliveries at.
  • The HTTP response is an acknowledgement only. To return a computed result to the caller, have the flow deliver it out-of-band, for example through a channel node or an outbound request.
  • An accepted request answers 200 whether or not anything runs. A request that reaches a webhook whose trigger is switched off is still stored, and the webhook’s request log shows it with a Runs count of 0.