Templates / Activate and deactivate workflows on schedule using native n8n API

Activate and deactivate workflows on schedule using native n8n API

Ready for 3.0

by Olek · 1,838 views · created 2025-03-20 · 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-10-19.

Nodes used (4)

What it does

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 details. Set up steps 1. Adjust activation/deactivation schedule per your needs. Custom (cron) interval is a recommended approach. 2. Set targeted Workflow ID. You will find it in the URL of the workflow you want to manage. !img 3. Set n8n API credentials: - Create an API key: how to - Create n8n credentials using the API key: how to This workflow uses n8n node. DevOps workflow-management --- Other useful stuff Need a universal Error workflow to catch both execution and trigger errors? Here you go: Error handling: Send email via Gmail on execution or trigger-level errors More stuff by Olek and do not forget to backup your workflows often by automating.

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.