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

Moyen complexité Planifié7 nœuds💎 Other👁 919 vuespar Olek

Aperçu

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

Aperçu du workflow

Loading workflow preview...

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur planifié, s'exécutant selon un planning défini.

  2. 2

    Traitement

    Les données transitent par 7 nœuds, connecting merge, n8n, scheduletrigger.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier activate-and-deactivate-workflows-on-schedule-using-native-n8n-api téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

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

Intégrations

mergen8nscheduletriggerset

Obtenir ce workflow

Téléchargez et importez en un clic

Voir sur n8n.io
Nœuds7
Complexitémedium
Déclencheurscheduled
Vues919
CatégorieOther

Créé par

Olek

Olek

@olek

Tags

mergen8nscheduletriggerset

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →