Skip to main content
Outputs

Webhook Callback

output_webhook

POST the final result to a caller-provided callback URL.

Inputs1
Outputs1
Settings8
Field Access{{Template}} · State Key
Examples2

About this Node

Delivers an outbound HTTPS POST notification carrying workflow data (`entire_state`, `specific_key`, or `custom_template`) to an external webhook endpoint with Secrets Vault header authentication. Unlike terminal output nodes, Webhook Callback is non-terminal (`IsTerminal = false`) and exposes an optional output port (`1`) so downstream nodes can inspect `{response_state_key}` and `{response_state_key}_status`.

Ports & Branches

Inputs (1)
inPort 0Inbound execution flow
Outputs (1)
outPort 1Optional downstream continuation after callback delivery

How this Node Reads Data

Input Access Field Example Description
Callback URL Template {{Template}} url https://hooks.example.com/events/{{tenant_slug}} Interpolates `{{key}}` placeholders into the destination HTTPS webhook URL.
Payload Source / Key State Key payload_key summary When `payload_source` is `specific_key`, sends the value stored under `payload_key`.
Custom Payload Template {{Template}} payload_template {"text": "Workflow finished for {{order_id}}: {{summary}}"} When `payload_source` is `custom_template`, interpolates `{{key}}` placeholders into the outbound body.

State Keys Written (Outputs)

Key Pattern Type Role Description
{response_state_key} string Primary Raw HTTP response text returned by the webhook destination (default key `webhook_response`).
{response_state_key}_status integer Secondary HTTP status code returned by the webhook destination (e.g., `200`, `202`).

Tips & Best Practices

  • Only HTTPS URLs are permitted, and private/internal network targets are blocked automatically.
  • Defaults to 1 attempt (no auto-retry) to prevent duplicate outbound deliveries; override under Resilience & Retries if your endpoint is idempotent.
  • For full HTTP verb control (`GET`/`PUT`/`PATCH`), query params, or `FileRef` downloads, use HTTP Request (`action_http`).

Commonly Paired With