Skip to main content

Respond to Webhook

Control the response to incoming webhooks


Overview

Use the Respond to Webhook node to control the response to incoming webhooks. This node works with the Webhook node.

How to use Respond to Webhook

To use the Respond to Webhook node:

  1. Add a Webhook node as the trigger node for the workflow.
  2. In the Webhook node, set Respond to Using 'Respond to Webhook' node.
  3. 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.

Parameters

Configure the node behavior using these parameters.

Respond With

Choose what data to send in the webhook response.

  • All Incoming Items: Respond with all the JSON items from the input.
  • 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.
  • Redirect: Redirect to a URL set in Redirect URL.
  • Text: Respond with text set in Response Body.

Options

Select Add Option to view and set the options.

  • Response Code: Set the response code to use.
  • Response Headers: Define the response headers to send.
  • Put Response in Field: Available when you respond with All Incoming Items or First Incoming Item. Set the field name for the field containing the response data.