Guides

n8n webhook not triggering in production: what to check

If an n8n webhook works in testing but not in production, first check that the sender uses the Production URL and the workflow is published. Then match the HTTP method, path and authentication, and inspect saved executions before changing proxy settings. A request timeout can happen after an execution has started, so it is not proof that the webhook failed to trigger.

1. Check execution history before changing the webhook

First establish whether the request failed to arrive or the workflow failed after receiving it. Check the workflow’s execution-saving settings, then inspect the Executions list at the request time; production data does not appear live on the editor canvas like a test event. Missing history is inconclusive if those executions were not saved.

ObservationNext check
No saved execution, and history saving is enabledCompare the sender’s URL, method, authentication and proxy routing.
An execution exists and failedInspect its failing node; triggering and downstream processing are separate problems.
An execution is queued in queue modeCheck workers and Redis; the request has reached the execution system.
The caller timed out but an execution existsInspect response timing and side effects before replaying the request.

The execution-debugging documentation explains saved-history availability. The queue-mode documentation describes the handoff from the main process through Redis to workers.

2. Replace the Test URL with the Production URL

Copy the Production URL directly from the Webhook node into the sending service. The Test URL only listens after you select Listen for test event, and the documented test window is 120 seconds. A sender left on the test address will stop reaching that listener.

Do not derive the production address by guessing its path. Inspect the URL the node displays, and check the sender’s saved configuration rather than the value in an old screenshot.

Source: n8n webhook development.

3. Publish the workflow and match the request

Save and publish the workflow; on older interfaces this is the active/inactive control. Match the Webhook node’s HTTP method and path exactly. Opening a POST webhook in a browser sends a GET, so that is not a valid POST test. n8n only permits one registered webhook for a given path and method combination.

A 401 or 403 is a reason to inspect webhook authentication, IP restrictions and any proxy login layer. Identify which component returned the response instead of removing authentication to make the test pass.

The Webhook node documents authentication and request settings; common issues covers method matching and conflicting registrations.

4. Check the public URL and trusted proxy chain

On self-hosted n8n behind a reverse proxy, compare the displayed webhook address with the public HTTPS hostname. Current n8n documentation uses N8N_WEBHOOK_URL; it is available from 2.30.0, while WEBHOOK_URL is the older name and is deprecated from 2.35.0. Use the variable supported by your installed version.

# Example for one trusted reverse proxy; replace the reserved hostname.
N8N_WEBHOOK_URL=https://hooks.example.test/
N8N_PROXY_HOPS=1

The final proxy must forward X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Proto. Set the trusted-hop count for the real chain; do not copy 1 into a deployment with a different number of proxies. Check the deployed configuration and displayed URL after any controlled change. This is a self-hosted check, not a request to change n8n Cloud’s hosting configuration.

Source: n8n reverse-proxy configuration.

5. Separate a slow response from a missing trigger

A response timeout does not prove that nothing ran. The workflow may have already written to the CRM before its HTTP response was lost. Check the execution and downstream record before retrying.

n8n documents a 100-second incoming-webhook response limit on n8n Cloud, after which a 524 can occur. Self-hosted limits also depend on the caller and proxy. Increasing an outgoing HTTP Request node’s timeout does not change the incoming proxy’s response deadline.

For longer work, choose a deliberate acknowledgement boundary. One design is to validate and durably record the event, return a short acceptance response, then process it with a status lookup. An acceptance response confirms the defined handoff, not that every downstream action finished. This is a design recommendation, not a built-in durability guarantee.

Sources: webhook timeouts and Respond to Webhook.

6. Run one controlled production check

Use an authorised test workflow with external writes disabled or isolated. Copy its actual production URL, include its configured authentication, and send one labelled request using the configured method. This reserved-domain example will not contact a real instance until you replace it:

curl --include --max-time 15 --request POST \
  "https://hooks.example.test/webhook/sample-intake" \
  --header "Content-Type: application/json" \
  --data '{"event_id":"SAMPLE-001","sample_data":true}'

Record the response code, execution result and whether any intended test record exists. For a longer workflow, check the acknowledgement and final result separately. If replaying requests creates duplicates, use the duplicate-record checklist before switching real traffic back on.

FAQ

Why does the n8n Test URL work while the Production URL does not?

The Test URL is a temporary listener started from the editor. The production route needs a saved, published workflow and the sender must use its Production URL with the correct method, path and authentication.

Does a webhook timeout mean the workflow never started?

No. Inspect saved executions and the downstream system before retrying: work may have started or a write may already have succeeded.

Should I set WEBHOOK_URL or N8N_WEBHOOK_URL?

Check your installed version. Current n8n docs use N8N_WEBHOOK_URL, available from 2.30.0; WEBHOOK_URL is the older name and is deprecated from 2.35.0.

Related project and service