--- title: Respond to Webhook description: Documentation for the Respond to Webhook node in n8n, a workflow automation platform. Includes guidance on usage, and links to examples. contentType: [integration, reference] priority: critical --- # Respond to Webhook Use the Respond to Webhook node to control the response to incoming webhooks. This node works with the [Webhook](/08-0-0-Workflow/integrations/builtin/core-nodes/n8n-nodes-base.webhook/index.md) node. ```{note} Runs once for the first data item The Respond to Webhook node runs once, using the first incoming data item. Refer to [Return more than one data item](#return-more-than-one-data-item-deprecated) for more information. ``` ## How to use Respond to Webhook To use the Respond to Webhook node: 1. Add a [Webhook](/08-0-0-Workflow/integrations/builtin/core-nodes/n8n-nodes-base.webhook/index.md) node as the trigger node for the workflow. 1. In the Webhook node, set **Respond** to **Using 'Respond to Webhook' node**. 1. 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. ## Node 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 File**: 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**. - **JWT Token**: Respond with a JSON Web Token (JWT). - **No Data**: No response payload. - **Redirect**: Redirect to a URL set in **Redirect URL**. - **Text**: Respond with text set in **Response Body**. This sends HTML by default (`Content-Type: text/html`). ## Node options Select **Add Option** to view and set the options. - **Response Code**: Set the [response code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) 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. - **Enable Streaming**: When enabled, sends the data back to the user using streaming. Requires a trigger configured with the **Response mode** **Streaming**. ## How n8n secures HTML responses Starting with n8n version 1.103.0, n8n automatically wraps HTML responses to webhooks in `