Webhook URL Consistently Reverting to Test Mode While Workflow is Active (n8n Cloud)

Hello @locopirate

You’re encountering a known behavior with n8n Cloud, and there’s a clear explanation supported by both the community and the development team. Here’s a detailed breakdown:

UI Behavior: Always Defaults to “Test URL”

  • The Webhook node always opens on the “Test URL” tab in the UI—even when the workflow is active.
  • However, this is only visual. Switching to “Production” there doesn’t stick in the interface—but doesn’t affect functionality either. You can read this post for a similar issue.

The Real Enabler: Workflow Activation

  • The Production webhook becomes live only when the workflow is activated (toggle turned ON and saved).
  • UI toggles within the Webhook node do not control this—they only show the URLs.
    See this post, or this one

Why You Get a 404:
The error indicates that n8n isn’t aware of your webhook—most likely because:

  • The workflow isn’t actually active at that moment (even if UI shows green).
  • Or the webhook path changed (due to duplication or re-save), and your script is calling an outdated path .

Some notes to Debug & Resolve:

Confirm the webhook path in the Webhook node hasn’t changed (re-save may regenerate it)

Double-check that no other workflow is using the same path. Duplicate webhook IDs can cause conflicts.

If It Still Doesn’t Work?

  • Recreate the Webhook Node:
    Delete the existing node, add a new Webhook trigger, save, activate, copy the URL, and test again—this often clears hidden conflicts.

Hope this helps.