Activate and deactivate workflows on schedule using native n8n API — n8n Workflow
Übersicht
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-Vorschau
So funktioniert es
- 1
Auslöser
Der Workflow startet mit einem geplant-Auslöser, der nach einem definierten Zeitplan läuft.
- 2
Verarbeitung
Die Daten fließen durch 7 Knoten, connecting merge, n8n, scheduletrigger.
- 3
Ausgabe
Der Workflow schließt seine Automatisierung ab und liefert das Ergebnis an das konfigurierte Ziel.
So importieren Sie diesen Workflow
- 1Klicken Sie rechts auf die Schaltfläche JSON herunterladen, um die Workflow-Datei zu speichern.
- 2Öffnen Sie Ihre n8n-Instanz. Gehen Sie zu Workflows → Neu → Aus Datei importieren.
- 3Wählen Sie die heruntergeladene Datei
activate-and-deactivate-workflows-on-schedule-using-native-n8n-apiund klicken Sie auf Importieren. - 4Richten Sie Anmeldedaten für jeden Dienstknoten ein (API-Schlüssel, OAuth usw.).
- 5Klicken Sie auf Workflow testen, um zu überprüfen, ob alles funktioniert, und aktivieren Sie es dann.
Oder direkt in n8n → Aus JSON importieren einfügen:
Integrationen
Erstellt von
Olek
@olek
Tags
Neu bei n8n?
n8n ist ein kostenloses Open-Source-Workflow-Automatisierungstool. Selbst hosten oder die Cloud-Version nutzen.
n8n kostenlos holen →