Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Webhooks · n8n

Direct answer

n8n webhooks expose an HTTP endpoint that starts a workflow when called, with test and production URLs, authentication options and configurable responses.

When to use this

Use this when n8n must receive HTTP calls through a webhook node.

First 30 seconds

1. Webhook node exposes an HTTP endpoint.

2. Test URL works only while listening in editor; production URL when active.

3. Add authentication.

4. Respond node for custom responses.

5. Validate payloads.

Operational verification

POST → webhook node → workflow

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
n8n workflow automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformn8n workflow automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when n8n must receive HTTP calls through a webhook node.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

The negative fixture should deliberately exercise risks such as expression coercion, partial item failure, credential drift, retries duplicating side effects, error workflow recursion and successful node status masking external inconsistency, choosing the cases most relevant to HTTP endpoint/authentication, event/payload identity, replay/signature validation, response timing and deduplicating retries from the webhook sender.

Step 2 Common mistakes Narrow the fault
  • Using the test URL in production.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Webhook nodes expose test and production URLs.
  • Add authentication.
  • Configure the response.
Key checks
  • curl -sS -X POST -d @sample.json https://<n8n>/webhook/<path> — production webhook
  • Webhook authentication (header/basic) — security
  • Test vs production URLs — webhook-test vs webhook
ReferenceWhy it matters1 section · depth on demand

What it is

The n8n Webhook node exposes a URL that starts the workflow when called; test and production URLs differ.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Webhooks let external systems start an n8n workflow by sending an HTTP request. The Webhook node defines the path, method, authentication and how to respond, and passes the request body, headers and query to the next nodes.

Settings that matter:

SettingGuidance
AuthenticationHeader auth, basic auth or JWT — never leave production webhooks open
HTTP methodMatch what the sender uses
RespondImmediately (async) or after processing ("Respond to Webhook" node)
PathUnique, non-guessable for sensitive flows

Verify signatures from senders that provide them (GitHub, Stripe) in a Code or Crypto node before acting, and respond quickly to avoid sender timeouts and retries.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docn8n workflow automation current

Authoritative/upstream documentation reviewed for bounded claims in n8n > Webhooks. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.n8n.io/ · confidence 94%
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

For HTTP endpoint/authentication, event/payload identity, replay/signature validation, response timing and deduplicating retries from the webhook sender, prefer typed fields and stable IDs over human presentation text.

Confirmation

Confirm action

Continue?