Skip to content

Webhook Response

Returns a custom HTTP response to the caller of a webhook-triggered workflow. Use this node when you need the response to include data that was computed during the workflow execution.

INFO

This node only works in workflows that use a Webhook trigger with Response Mode set to Webhook Response Node.

Configuration

FieldDescriptionNotes
Status CodeThe HTTP status code to returnRange: 100--599. Defaults to 200.
Content TypeThe response content typeJSON, Plain Text, HTML, or XML. Defaults to JSON.
Response BodyThe body of the responseSupports templates, e.g., {"result": "{{data.computed_value}}"}. Defaults to {"message": "Success"}.
Custom HeadersAdditional response headersKey-value pairs. Supports templates.
Response Timeout (seconds)Maximum time to wait before respondingRange: 1--60 seconds. Defaults to 30.

Output

The Webhook Response node outputs the response it constructed:

FieldDescription
status_codeThe HTTP status code
bodyThe response body
content_typeThe content type
headersCustom headers as key-value pairs

TIP

Place the Webhook Response node at the end of your processing chain so it has access to all computed data. The webhook caller will wait until this node executes (up to the response timeout).