Use this when n8n must receive HTTP calls through a webhook node.
Webhooks · n8n
n8n webhooks expose an HTTP endpoint that starts a workflow when called, with test and production URLs, authentication options and configurable responses.
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.
POST → webhook node → workflow
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- Webhook nodes expose test and production URLs.
- Add authentication.
- Configure the response.
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:
| Setting | Guidance |
|---|---|
| Authentication | Header auth, basic auth or JWT — never leave production webhooks open |
| HTTP method | Match what the sender uses |
| Respond | Immediately (async) or after processing ("Respond to Webhook" node) |
| Path | Unique, 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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.