{"product_id":"n8n-api-workflow-unpublish-staged-timed-jobs-slack-report","title":"n8n API Workflow: Unpublish Staged Timed Jobs \u0026 Slack Report","description":"\u003ch3\u003eStop Unwanted Timed Jobs on Your n8n Staging Instance—Automatically Reported to Slack\u003c\/h3\u003e\n\u003cp\u003eThis n8n API workflow runs nightly on your \u003cstrong\u003estaging\u003c\/strong\u003e environment to detect \u003cstrong\u003epublished workflows\u003c\/strong\u003e that use \u003cstrong\u003eschedule\/interval\/cron\u003c\/strong\u003e or \u003cstrong\u003epolling\u003c\/strong\u003e triggers—and that are \u003cstrong\u003enot allow-listed by tag\u003c\/strong\u003e. It can \u003cstrong\u003edeactivate (unpublish) those jobs\u003c\/strong\u003e via the n8n API (optionally) and then sends a clear \u003cstrong\u003eSlack report\u003c\/strong\u003e so your team stays in control.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns every night at 02:00\u003c\/strong\u003e using a Schedule trigger.\u003c\/li\u003e\n  \u003cli\u003eSets configuration values such as \u003cstrong\u003eallow-list tag name\u003c\/strong\u003e, \u003cstrong\u003einstance label\u003c\/strong\u003e, \u003cstrong\u003edry-run mode\u003c\/strong\u003e, and whether to \u003cstrong\u003einclude polling triggers\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eUses the \u003cstrong\u003en8n API\u003c\/strong\u003e to \u003cstrong\u003elist all active, published workflows\u003c\/strong\u003e on the staging instance.\u003c\/li\u003e\n  \u003cli\u003eFilters results by:\n    \u003cul\u003e\n      \u003cli\u003eexcluding the current workflow,\u003c\/li\u003e\n      \u003cli\u003eexcluding workflows tagged with the allow-list tag,\u003c\/li\u003e\n      \u003cli\u003ekeeping only workflows with \u003cstrong\u003eschedule\/interval\/cron\u003c\/strong\u003e triggers or \u003cstrong\u003epolling\u003c\/strong\u003e configurations.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003eIf \u003cstrong\u003edry-run\u003c\/strong\u003e is disabled, it \u003cstrong\u003edeactivates matching workflows\u003c\/strong\u003e via the n8n API.\u003c\/li\u003e\n  \u003cli\u003eBuilds a \u003cstrong\u003esummary report\u003c\/strong\u003e of discovered workflows (and unpublished actions if applicable) and \u003cstrong\u003eposts it to Slack\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eReduce risk on staging by preventing accidental activation of timed jobs that aren’t explicitly allow-listed.\u003c\/li\u003e\n  \u003cli\u003eAudit and control scheduled\/polling workflows in multi-team n8n setups.\u003c\/li\u003e\n  \u003cli\u003eGive operators visibility through Slack updates before enforcing deactivations.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes\/tech stack:\u003c\/strong\u003e \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003en8n\u003c\/code\u003e, \u003ccode\u003eslack\u003c\/code\u003e, \u003ccode\u003esticky note\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e \u003cstrong\u003en8n API\u003c\/strong\u003e (staging base URL such as \u003ccode\u003ehttps:\/\/staging.example.com\/api\/v1\u003c\/code\u003e) and \u003cstrong\u003eSlack\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCredentials:\u003c\/strong\u003e n8n API key + Slack credential targeting your chosen channel\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eTip:\u003c\/strong\u003e Keep \u003cstrong\u003edryRun\u003c\/strong\u003e set to \u003ccode\u003etrue\u003c\/code\u003e until the Slack report output matches your expectations, then switch it off to enforce deactivation.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46244541497523,"sku":"N8N-21148","price":12.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/l7TJ4bywxL8JwUXuY50hv_BDGvGbW6.png?v=1792401197","url":"https:\/\/buyflowscripts.com\/products\/n8n-api-workflow-unpublish-staged-timed-jobs-slack-report","provider":"N8N Commerce","version":"1.0","type":"link"}