Listen Workflow Trigger
Wait for a call to a Webhook trigger in the workflow's draft: send a request to the trigger's URL while this waits. The first call that arrives after it starts is saved as the trigger's sample output, so the steps can reference its query, body and headers, and answered with status received. With none in 30 seconds it answers status noCall: listen again. Every call to the URL is recorded, published or not; only calls during a listen become the sample.
Path
The workflow's id, from List Workflows.
The trigger's id, from List Workflow Triggers.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Response fields
statusstringreceived: a call came in and is now the sample. noCall: none came within 30 seconds; listen again.
receivednoCall
receivedOndateWhen the call came in. Null for noCall.
outputobjectThe call as the trigger answers it, now its sample output: [{ query, body, params, url, method, headers }]. Null for noCall.
outputFieldsarray of objectsThe fields of the trigger's output, learned from its sample and offered to the steps.
keystringThe field's path in each record: dotted, with [] marking an array (lines[].sku). Reference it as {{ steps.<stepId>.output[0].<key> }}.
typestringIts type as seen in the sample: string, number, boolean, object, date, a type with [] for an array, or mixed.
revisionstringThe draft's revision: send it in If-Match on your next change to the draft.