For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhook triggers

A trigger that fires when another system calls a URL you give it.

A webhook trigger fires when another system calls a URL you give it. Nothing is polled.

Columns: Name, Tenant, Type, Status, Auth, Routes, Created.

  • Auth reads API key where the webhook requires the x-fastn-access-key header, or None (public) where anyone with the URL can fire it. It is the column to scan if you are auditing exposure.

  • Tenant is the customer the trigger belongs to, and reads — for org-level triggers.

Unlike the Schedulers and App events tables, this one ships no Actions header: the row menu is still there at the end of each row, the column simply has no title. That is a quirk of the product, not a missing feature.

Create a webhook trigger

1

Name it

From Add trigger, choose Webhook.

The New webhook trigger dialog with Name and Description fields above a Routes section, an Add route button, and ROUTE 1 showing an unset Workflow select and Environment test (latest published)
Routes are required, a webhook with none has nowhere to send its payload.
Field
Notes

Name

Required. Shown in the list and on every execution record.

Description

Optional.

2

Add at least one route

A route says where a payload goes when it arrives. Routes are required. Add more with Add route to fan a single inbound call out to several workflows.

Field
Notes

Workflow

Required. Which workflow this route runs.

Environment

Optional. test (latest published) runs the workflow's latest published version. Any other option is one of your org's named environments (see Environments) and runs the version deployed there, and if nothing is deployed there, the fire fails. Every org starts with one named environment, Live.

Headers

Optional key/value pairs sent with the request to the workflow. Use for a key the workflow needs to call back to the sender.

3

Set delivery attempts

How many times in total fastn tries to deliver an event to the workflow, counting the first try. Once the attempts are exhausted the delivery is recorded as failed, and you replay it from Activity → Events, where every row carries a Replay action.

Field
Range / options
Default

Max attempts

1–10. 1 means try once and never retry.

3

Backoff strategy

Exponential (1s, 2s, 4s…), Linear, Fixed

Exponential

4

Set the advanced options, if you need them

The webhook dialog scrolled to Max attempts 3 and Backoff strategy Exponential, with Advanced options open on Webhook ID, Authentication API Key (x-fastn-access-key), Execution mode Parallel and Deduplication key
Advanced options start collapsed; the defaults shown here suit most senders.
Field
Notes

Webhook ID

Optional. Becomes part of the public webhook URL. Leave empty and one is generated.

Authentication

API Key (x-fastn-access-key), the default (callers must send the header. None (public)), anyone with the URL can fire it.

Execution mode

Parallel, the default (concurrent events run concurrently. Sequential), one at a time, in arrival order.

Deduplication key

Optional. A field in the incoming payload that uniquely identifies each event, so a retried delivery from the sender does not run the workflow twice.

5

Create it, then hand out the URL

Select Create trigger (there is no Save button) and it joins the Webhooks list. Its row menu offers Copy URL, Copy as cURL, Disable, Edit and Delete: Copy as cURL is the fastest way to fire one by hand while you are debugging.

Last updated

Was this helpful?