core.webhook · version 2.1 · Trigger · webhook trigger
Starts the workflow when an HTTP request arrives.
Port Kind Label Required Max connections
output 0 main
Slot Accepted kinds Required
httpBasicAuthhttp.basic
httpHeaderAuthhttp.header
jwtAuthhttp.jwt
Name Type Default Required Shown when Description
multipleMethodsboolean falseAccept several methods .
httpMethodoptions "GET"HTTP method . Method the webhook listens for. One of GET, POST, PUT, PATCH, DELETE, HEAD.
pathstring ""URL path after /webhook/; segments starting with ‘:’ become parameters.
authenticationoptions "none"One of none, basicAuth, headerAuth, jwtAuth.
responseModeoptions "onReceived"Respond . When and how the caller gets a reply. One of onReceived, lastNode, responseNode.
responseCodenumber 200Response code .
responseDataoptions "firstEntryJson"responseMode = lastNode Response data . One of allEntries, firstEntryJson, firstEntryBinary, noData.
responseBinaryPropertyNamestring "data"responseData = firstEntryBinary Binary property to return .
optionscollection {}
options.binaryPropertyNamestring "data"Binary property . Where uploaded files are stored; several files get an index suffix.
options.rawBodyboolean falseKeep raw body . Also store the unparsed body as binary data.
options.ignoreBotsboolean falseIgnore bots . Drop requests from crawlers and link previews.
options.allowedOriginsstring "*"Allowed origins (CORS) . Comma separated list, or * for any.
options.ipWhiteliststring ""Allowed IP addresses . Comma separated IPs or CIDR ranges; empty allows all.
options.noResponseBodyboolean falseNo response body .
options.responseDatastring ""Custom response body . Body sent when responding immediately.
options.responseContentTypestring ""Response content type .
options.responsePropertyNamestring ""Property to return . Return only this property of the first item.
options.responseHeadersfixed_collection Response headers .
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 type Version range Status Fixtures
n8n-nodes-base.webhook1unverified
n8n-nodes-base.webhook>=2 <3unverified