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
| Field | Description | Notes |
|---|---|---|
| Status Code | The HTTP status code to return | Range: 100--599. Defaults to 200. |
| Content Type | The response content type | JSON, Plain Text, HTML, or XML. Defaults to JSON. |
| Response Body | The body of the response | Supports templates, e.g., {"result": "{{data.computed_value}}"}. Defaults to {"message": "Success"}. |
| Custom Headers | Additional response headers | Key-value pairs. Supports templates. |
| Response Timeout (seconds) | Maximum time to wait before responding | Range: 1--60 seconds. Defaults to 30. |
Output
The Webhook Response node outputs the response it constructed:
| Field | Description |
|---|---|
status_code | The HTTP status code |
body | The response body |
content_type | The content type |
headers | Custom 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).