Unpublish staged timed workflows via the n8n API and report to Slack
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 8 nodes and runs on a schedule (every day at 02:00). Along the way it connects Slack.
How it runs
Trigger: On a schedule (every day at 02:00).
- Set configuration (Edit Fields (Set)): sets 4 fields: allowTag, instanceLabel, dryRun…
- Get published workflows (n8n): uses n8n
- Find timed workflows without the tag (Code): runs custom JavaScript code
- Dry run off? (If): checks a condition and branches into true / false
- Unpublish workflow (n8n): deactivate
- Build report (Code): runs custom JavaScript code
- Send report to Slack (Slack): uses Slack
Services it uses
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 (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - n8n
n8n-nodes-base.n8n - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack
From the author
Quick Overview This workflow runs nightly on a staging n8n instance, finds published workflows with schedule or polling-style triggers that are not allow-listed by tag, and (optionally) deactivates them via the n8n API before sending a report to Slack. How it…