TemperStack
Beginner8 min readUpdated Mar 13, 2026

How to activate a workflow on n8n

Quick Answer

Activate n8n workflows by toggling the Active switch or clicking Publish in the Editor UI top-right; workflows run automatically on triggers once active. Verify triggers, credentials, and logs first; toggle OFF/ON to re-register webhooks. CLI and API methods available for advanced users.

Prerequisites

  1. n8n instance running continuously (self-hosted, Cloud, or desktop app)
  2. At least one valid trigger node (Webhook, Cron, Schedule - not Manual Trigger)
  3. Valid credentials for all nodes
  4. Workflow ID from URL (alphanumeric string at end)
  5. For n8n Cloud: Available active workflow slots
1

Open Workflow in Editor UI

Navigate to your n8n Editor and open the target workflow. The workflow ID is the alphanumeric string at the end of its URL, e.g., in http://localhost:5678/workflow/109, ID is 109. Ensure it has at least one valid trigger node like Webhook or Schedule.
2

Toggle Active Switch

In the top-right corner, find the Active/Inactive toggle (grey for inactive, green for active). Slide or click it to ON. For trigger changes like Webhooks, toggle OFF then ON to re-register production URLs.
Tip
New workflows are inactive by default; activation enables automatic execution on triggers.
3

Click Publish Button

Alternatively, click the Publish button in the top navigation bar. This transitions the workflow from draft to active status, making it run whenever triggers receive input or meet conditions.
4

Configure Workflow Settings

Click the Options menu, then Settings. Set Timezone for Schedule triggers, Error Workflow for failures, and toggle Save failed production executions. Use production Webhook URLs (not test).
Tip
HTTPS/SSL required for production Webhooks.
5

Verify Trigger Nodes

Confirm at least one trigger node exists (e.g., Webhook, Cron, Schedule). Workflows with only Manual Trigger cannot activate for production. Test manually first via Execute Workflow button.
6

Check Credentials

Validate all nodes have valid, non-expired credentials. Reconnect any invalid/revoked tokens. Check logs for errors like Workflow is inactive or Webhook not registered.
Tip
Cloud users: Ensure under active workflow limits.
7

Activate via CLI (Advanced)

n8n execute --id <ID>
Use this to set workflow active status directly on the database. Changes require n8n restart to take effect if instance is running.
Tip
Find ID from URL; operates on database.
8

Activate via n8n API (Advanced)

Generate API key in Settings > n8n API. Use n8n node or HTTP Request to PATCH /workflows/<ID> with { "active": true } and API key header. Test after upgrades as API may change.
Tip
Not for trial users; check /api/v1/docs.
9

Test and Monitor Executions

After activation, switch to Executions tab to view runs. Test production Webhook URLs in browser. Ensure n8n runs continuously (Docker/PM2).
10

Restart if Needed

For persistent issues, restart n8n instance. Most problems resolve in under 10 minutes with this checklist.
Tip
Check server timezone for Cron/Schedule.

Troubleshooting

Workflow inactive by default or toggle stuck grey
Toggle Active switch top-right to ON (green). For Webhook changes, toggle OFF/ON to re-register. Check logs for Workflow is inactive.
Missing trigger nodes (only Manual Trigger)
Add valid trigger like Webhook, Cron, or Schedule. Manual Trigger blocks production activation.
Invalid/expired credentials or Webhook errors
Reconnect credentials; use production Webhook URL (not test). Ensure HTTPS/SSL and correct timezone.
n8n Cloud active workflow limit hit
Check plan slots; deactivate others or upgrade.
CLI/API changes not applying
Restart n8n instance after commands. Verify Workflow ID from URL.

Related Guides

More n8n Tutorials

Other Tool Tutorials

Ready to get started with n8n?

Put this tutorial into practice. Visit n8n and follow the steps above.

Visit n8n