Order intake API — Webhook
POST /orders receives an order and answers 201 with the payload — the classic inbound API. Deploy to a host to serve it live, or use the trigger tester (▶ on the node) in the editor. The doc carries meta.autoreplay — on a host, a served run that FAILS is automatically re-run with backoff (each attempt lands in the run ledger as autoreplay#n).
What’s inside
3 nodes — every type links to its full reference page.
| Step | Node | Type |
|---|---|---|
| POST /orders | HTTP Trigger | input.http.webhook |
| Stamp received | Edit Fields (Set) | processing.set |
| 201 Created | Respond to Webhook | output.http-response |
Import it
- Studio → Import — paste the JSON below (or the URL
/docs/templates/order-intake-api-webhook.json). - Or ask the AI Copilot with the JSON pasted after the phrase:
import this workflow json into a new workflow named "Order intake API — Webhook" - Any credentials the nodes need are
${credential.…}references — add them once in Admin → Credentials and the template picks them up. Nothing secret ships in a template.
The workflow document (flowdrome.workflow.v1, 3 node types)
{
"schemaVersion": "flowdrome.workflow.v1",
"id": "",
"name": "Order intake API — Webhook",
"version": "0",
"status": "draft",
"nodes": [
{
"id": "hook",
"type": "input.http.webhook",
"label": "POST /orders",
"category": "trigger",
"config": {
"method": "POST",
"path": "/orders",
"contentType": "application/json"
},
"position": {
"x": 0,
"y": 23
}
},
{
"id": "stamp",
"type": "processing.set",
"label": "Stamp received",
"category": "processing",
"config": {
"mode": "manual",
"assignments": [
{
"name": "receivedAt",
"type": "string",
"value": "{{ $now }}"
}
],
"include": "all",
"dotNotation": true,
"ignoreConversionErrors": false
},
"position": {
"x": 530,
"y": 0
}
},
{
"id": "resp",
"type": "output.http-response",
"label": "201 Created",
"category": "output",
"config": {
"statusCode": 201,
"headers": {},
"bodyMode": "payload"
},
"position": {
"x": 1060,
"y": 0
}
}
],
"edges": [
{
"id": "e0",
"sourceNodeId": "hook",
"sourcePort": "output",
"targetNodeId": "stamp",
"targetPort": "input"
},
{
"id": "e1",
"sourceNodeId": "stamp",
"sourcePort": "output",
"targetNodeId": "resp",
"targetPort": "input"
}
],
"triggers": [
{
"id": "t0",
"nodeId": "hook"
}
],
"meta": {
"snippets": [],
"source": "template-gallery",
"description": "POST /orders receives an order and answers 201 with the payload — the classic inbound API. Deploy to a host to serve it live, or use the trigger tester (▶ on the node) in the editor. The doc carries meta.autoreplay — on a host, a served run that FAILS is automatically re-run with backoff (each attempt lands in the run ledger as autoreplay#n).",
"autoreplay": {
"maxAttempts": 2,
"backoffSeconds": 30
}
}
} Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: order-intake-api-webhook.json.