Skip to content
Sponsor

Respond to Webhook

Outputfiredcore.output.respond_webhook

The Respond to Webhook node as the Boltjar editor draws it, with its default settings

Answer the HTTP call that started this run, for a Webhook set to reply from Respond to Webhook. Each fire writes body to that caller. With last on (the default) the fire sends one whole response. Fires with last off stream the response piece by piece, and the next fire with last on ends it. The status, headers and content type of the first fire hold for the whole response. A stream goes out as server-sent events when the caller asks for text/event-stream, else one line per piece.

Fired. It runs when an event lands on trigger, and pulls its other inputs at that moment. A data wire never fires it.

Port Type Notes
trigger event Fires the node
body any Optional
Port Type Notes
trigger event

Right-click a knob and pick Convert to input to drive it from a wire.

Knob Kind Default Notes
status
status
number 200 100 to 599
content_type choice auto auto, application/json, text/plain, text/event-stream
headers
headers (JSON object)
text block {}
last
last (ends the response)
on / off on