Respond to Webhook Node

Send a custom HTTP response to a webhook trigger. Supports JSON, text, binary, redirect, and more. JWT mode not supported.

Written By pvdyck

Last updated 18 days ago

Respond to Webhook Node

⚠️ Limitations β€” Works with known restrictions, see details below

What It Does

Sends a custom HTTP response back to the caller of a Webhook trigger. Use it when you need to control the status code, headers, or body of your webhook's response.

Supported Response Modes

ModeDescription
First Incoming ItemReturns the first item's JSON data
All Incoming ItemsReturns all items as a JSON array
JSONReturns a custom JSON body you define
TextReturns plain text
BinaryReturns binary data (e.g., an image or file) as the complete response
RedirectRedirects the caller to another URL (307 by default)
No DataReturns the status code with no body

Options

  • Response Code β€” Set any HTTP status code (100–599). Default: 200
  • Response Headers β€” Add custom headers (e.g., Cache-Control, X-Request-Id). Header names are preserved as-is

Compatibility

FeatureStatus
JSON, Text, Binary, Redirect, No Data modesSupported
Custom status codes and headersSupported
JWT modeNot supported β€” Cannot generate signed JWT tokens in responses. Use JSON mode with a pre-generated token instead
Streaming responsesNot supported β€” Responses are returned in full, not chunked. Binary data is sent as a complete response

Tips

  • Place this node at the end of a branch that starts with a Webhook trigger
  • Use JSON mode for API responses and Text mode for simple acknowledgements
  • For file downloads, use Binary mode β€” the file is sent as one complete response
  • Invalid JSON in the response body will show a clear error message with a preview of the malformed input

Status

This integration works on indie.money with known limitations. See the details above for specifics.