Templates / Unpublish staged timed workflows via the n8n API and report to Slack

Unpublish staged timed workflows via the n8n API and report to Slack

Ready for 3.0

by Retailbox Automation · 0 views · created 2026-10-17 · DevOps

Ready 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.

📬 Weekly n8n 3.0 breakage alerts, free

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).

  1. Set configuration (Edit Fields (Set)): sets 4 fields: allowTag, instanceLabel, dryRun…
  2. Get published workflows (n8n): uses n8n
  3. Find timed workflows without the tag (Code): runs custom JavaScript code
  4. Dry run off? (If): checks a condition and branches into true / false
  5. Unpublish workflow (n8n): deactivate
  6. Build report (Code): runs custom JavaScript code
  7. Send report to Slack (Slack): uses Slack

Services it uses

Slack

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)

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…

Excerpt from Retailbox Automation's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.