Skip to content
FunnelGuard

Fix guide by FunnelsGuard

n8n workflow inactive or server down: how to find and fix it

DLV-115High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

n8n is an automation tool. Many sites use it to take a form submission, send it to a webhook URL, and then pass the lead to a CRM, email, Slack or a spreadsheet. Two things can break that chain.

The workflow is inactive. In n8n, a workflow only listens on its Production URL while the Active toggle is on. When it is off, the production webhook URL returns a 404 error such as "The requested webhook is not registered". The Test URL works only while you click Listen for test event in the editor, so a form pointed at a test URL stops working as soon as you close the editor.

The self-hosted server is down. If you run n8n yourself (Docker, a VPS, a Raspberry Pi), the process can crash, run out of memory or disk, lose its database, or stop after a server reboot or update. The webhook then times out or returns 502/503 from your reverse proxy.

Workflows can also become inactive after a failed activation, for example when a trigger node has a bad credential, or after you import, duplicate or update a workflow and forget to switch it on.

Why it costs you leads or sales

The visitor sees a normal thank-you page, because many form plugins treat the webhook as a background step. You see nothing wrong. Meanwhile each lead sent to the dead webhook is lost, unless the form also stores entries or sends an email. Many forms do not retry, so one outage can lose every lead during that period.

Where the lead is lost
  1. Visitor submits formForm shows thank-you page
  2. Webhook call to n8n404 (inactive) or 502/timeout (server down)
  3. n8n workflow runsNever starts
  4. CRM, email, SlackNo lead arrives

The form works and the visitor sees a success message, but the lead stops at the dead webhook.

Leads lost during an outageExample numbers
Leads lost during an outage (example)1 day: 5 leads; 1 weekend (3 days): 15 leads; 2 weeks: 70 leads02754515701 day1 weekend (3 days)2 weeksleads

Example: a site getting 5 leads a day, with the workflow inactive for different lengths of time. Numbers are illustrative.

How to check if your site has it

Check the workflow and the server
  1. Open the workflow in n8n

    Look at the Active toggle at the top right of the editor. If it is off, the production webhook is not listening. Also check the Workflows list, where inactive ones are marked.

  2. Confirm which URL your form uses

    Open the webhook node and compare the Production URL and Test URL with what is saved in your form plugin. The Test URL contains /webhook-test/, the production one contains /webhook/.

  3. Call the production URL yourself

    Send a test request with curl (below). A 200 means it is listening. A 404 with 'not registered' means inactive. A 502, 503, 504 or a timeout points to the server or proxy.

  4. Check the Executions list

    In n8n open Executions. A gap with no runs while your form received leads confirms the workflow was not triggered.

  5. Check the server

    If self-hosted, check the container or process is running, and that disk space, memory and the database are fine. Check the reverse proxy and SSL certificate too.

Call your production webhook (use a test payload, not a real lead)bash
curl -i -X POST "https://n8n.example.com/webhook/your-path" \
  -H "Content-Type: application/json" \
  -d '{"name":"Test Lead","email":"test@example.com","fg_test":"1"}'
What the response tells you
ResponseLikely causeFirst fix
404 'webhook is not registered'Workflow inactive, or using the Test URLTurn on Active; use the Production URL
502 / 503 / 504n8n process down or proxy cannot reach itRestart n8n and check logs
Timeout, no responseServer offline, firewall or DNS problemCheck server, DNS and ports 80/443
SSL errorExpired or wrong certificateRenew the certificate
200 but no data downstreamWorkflow runs but a later node failsOpen the failed execution

How to fix it

Get leads flowing again
  1. Activate the workflow

    Switch the Active toggle on. If n8n refuses, read the error: it is usually a node with missing credentials or a trigger that cannot register. Fix that node, then activate again.

  2. Switch the form to the production URL

    Paste the Production URL (path /webhook/...) into your form's webhook setting, not the /webhook-test/ one.

  3. Restart the server and find the crash cause

    Restart n8n, then read its logs for out-of-memory kills, full disk, database connection errors or failed updates.

  4. Make it restart on its own

    Run n8n with a restart policy so it comes back after a crash or reboot (example below).

  5. Replay the lost leads

    Export entries from your form plugin or CRM-side logs for the outage window and resubmit them manually or through the workflow. Leads that were never stored anywhere cannot be recovered.

Docker Compose: restart n8n automaticallytext
services:
  n8n:
    image: docker.n8n.io/n8nio/n8n
    restart: unless-stopped
    ports:
      - "5678:5678"
    volumes:
      - n8n_data:/home/node/.n8n

volumes:
  n8n_data:
Update the webhook URL in your form
  1. Open your form plugin

    In the plugin's webhook or integration settings (for example Gravity Forms Webhooks add-on, WPForms Webhooks addon or Contact Form 7 extensions), replace the URL with the n8n Production URL. Menu names vary by plugin.

  2. Keep entries stored

    Make sure the plugin saves entries in the dashboard so you can replay missed leads.

How to confirm it's fixed

Confirmation checks
  • The workflow shows Active in n8n.
  • curl to the Production URL returns 200.
  • A test form submission creates a new entry in n8n Executions with status Success.
  • The test lead reaches the CRM, inbox or Slack channel.
  • The form plugin uses the /webhook/ URL, not /webhook-test/.
  • The server restarts n8n after a reboot (test it in a maintenance window).

How to prevent it happening again

Prevention
  • Use an uptime monitor on your n8n domain and on a health-check URL such as /healthz.
  • Set an n8n Error Workflow so failed executions notify you.
  • Use restart policies and monitor disk, memory and database.
  • Keep certificate renewal automatic.
  • After every n8n update, import or duplication, check the Active toggle.
  • Run a scheduled test submission that proves a lead gets all the way through.
  • Keep a copy of every lead in your form plugin or CRM.

How FunnelGuard handles this

FunnelGuard detects this issue only partly, through a webhook catcher. It runs your real form journey on a schedule from the EU or the US, and checks that the form fires its webhook call and how that call is answered. If the call to your n8n URL returns an error such as 404 or 502, or fails, a failure is re-checked from a second region and then one alert goes out with a screenshot and a likely cause.

How an unnoticed outage unfolds
  1. Day 0

    Workflow deactivated after an update, or server crashes overnight.

  2. Day 0-2

    Form shows success, leads hit a 404 or 502 and are dropped.

  3. Day 3

    Sales team notices fewer enquiries.

  4. Day 3

    You turn the workflow on and replay stored entries.

Questions people ask

Why is my n8n webhook returning 404?

Most often the workflow is inactive, so the production URL is not registered. It can also mean the form uses the /webhook-test/ URL, which only works while you are listening for a test event in the editor. Turn on Active and use the Production URL.

Why is my n8n workflow not triggering from my form?

Check that the workflow is Active, that the form points to the Production URL and that the n8n server is reachable. Then look at Executions: if no run appears, the request never arrived or was rejected before the workflow started.

Does an inactive n8n workflow lose form leads?

Yes, unless your form stores entries or retries. The webhook returns an error, the workflow never runs, and many forms still show a success message to the visitor. Keep a copy of each lead in the form plugin or CRM.

How do I keep self-hosted n8n running after a crash?

Run it under a process manager or use a Docker restart policy such as restart: unless-stopped. Also monitor disk space, memory and the database, which are common causes of crashes.

How do I get alerted when n8n goes down?

Use an uptime monitor on your n8n domain and set an Error Workflow inside n8n for failed runs. A scheduled test submission through your real form also proves leads still reach their destination.

What is the difference between the n8n test URL and production URL?

The Test URL (/webhook-test/) works only while the editor is listening for a test event. The Production URL (/webhook/) works continuously, but only while the workflow is Active. Forms should always use the Production URL.

Can FunnelGuard monitor my n8n workflow?

Partly. It runs your form journey and checks the webhook call through a webhook catcher, so a 404 or server error is caught. It does not see inside n8n, such as the Active toggle, executions or server health.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: Via webhook catcher.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.