Respond to Webhook
Use the Respond to Webhook node to control the response to incoming webhooks. This node works with the Webhook node.
Last updated
Use the Respond to Webhook node to control the response to incoming webhooks. This node works with the Webhook node.
Last updated
To use the Respond to Webhook node:
Add a node as the trigger node for the workflow.
In the Webhook node, set Respond to Using 'Respond to Webhook' node.
Add the Respond to Webhook node anywhere in your workflow. If you want it to return data from other nodes, place it after those nodes.
Configure the node behavior using these parameters.
Choose what data to send in the webhook response.
Binary: respond with a binary file defined in Response Data Source.
First Incoming Item: respond with the first incoming item's JSON.
JSON: respond with a JSON object defined in Response Body.
No Data: no response payload.
Text: respond with text set in Response Body.
Select Add Option to view and set the options.
Response Headers: define response headers to send.
When using the Respond to Webhook node, workflows behave as follows:
The workflow finishes without executing the Respond to Webhook node: it returns a standard message with a 200 status.
The workflow errors before the first Respond to Webhook node executes: the workflow returns an error message with a 500 status.
A second Respond to Webhook node executes after the first one: the workflow ignores it.
A Respond to Webhook node executes but there was no webhook: the workflow ignores the Respond to Webhook node.
Response Code: set the to use.