Activate and deactivate workflows on schedule using native n8n API
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This workflow has 7 nodes and runs on a schedule (cron 0 8 * * *) (plus 1 other trigger). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (cron 0 8 * * *) (plus 1 other trigger).
- Workflow ID (Edit Fields (Set)): sets 1 field: workflowID
- Merge: merges the data from its input branches
- Merge: merges the data from its input branches
- n8n: activate
- n8n: deactivate
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- n8n
n8n-nodes-base.n8n - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
How it works This workflow will activate and deactivate a selected other workflow on schedule. > ⚠️ Warning! > This approach won't work for trial users as it requires n8n API that is not available to trial users. > See https://docs.n8n.io/api/ for…