Activate and deactivate workflows on schedule using native n8n API — n8n Workflow

Medium complexity Scheduled7 nodes💎 Other👁 919 viewsby Olek

Overview

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 Adjust activation/deactivation schedule per your needs. Custom (cron) interval is a recommended approach. Set targeted Workflow ID. You will find it in the URL of the workflow you want to manage.

Set n8n API credential

Workflow Preview

Loading workflow preview...

How it Works

  1. 1

    Trigger

    The workflow starts with a scheduled trigger, running on a defined schedule.

  2. 2

    Process

    Data flows through 7 nodes, connecting merge, n8n, scheduletrigger.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded activate-and-deactivate-workflows-on-schedule-using-native-n8n-api file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Activate and deactivate workflows on schedule using native n8n API", "nodes": [...], ...}

Integrations

mergen8nscheduletriggerset

Get This Workflow

Download and import in one click

View on n8n.io
Nodes7
Complexitymedium
Triggerscheduled
Views919
CategoryOther

Created by

Olek

Olek

@olek

Tags

mergen8nscheduletriggerset

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →