Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Respond to Webhook

core.respond_to_webhook · version 1.1 · Flow

Sends the reply to the request that started the workflow.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
jwtAuthhttp.jwt

Parameters

NameTypeDefaultRequiredShown whenDescription
respondWithoptions"firstIncomingItem"Respond with. What the caller receives. One of allIncomingItems, binary, firstIncomingItem, json, jwt, noData, redirect, text.
redirectURLstring""respondWith = redirectRedirect URL.
responseBodyjson""respondWith = json, textResponse body.
payloadjson"{}"respondWith = jwtToken payload.
responseDataSourceoptions"automatically"respondWith = binaryBinary source. One of automatically, set.
inputFieldNamestring"data"responseDataSource = setBinary property.
optionscollection{}
options.responseCodenumber200Response code.
options.responseHeadersfixed_collectionResponse headers.
options.responseKeystring""Wrap in key. Put the returned data under this key.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
n8n-nodes-base.respondToWebhook1unverified