(De)activate n8n workflows using Telegram commands — n8n Workflow

Mittel Komplexität Auslöser9 Knoten💎 Other👁 2,656 Aufrufevon MilanWR

Übersicht

Telegram N8N workflow (de)activator

What does it do? This workflow helps you to quickly activate or deactivate a workflow through Telegram. Sometimes we are not able to access a PC to resolve an issue if something goes wrong with a workflow. If you, like me, use Telegram to send yourself error reports, you can quickly react in case of urgency. Just by sending '/stop' combined with the name you use for a workflow, you can deactivate a workflow, or reactivate it with '/start'. For example '/stop

Verwendete Knoten

Sticky Note2Keep only messages from a specific chat idActivate the sales workflowSwitch depending on content (deactivate)Receive commands from Telegram

Workflow-Vorschau

Switch depending on content
0 = if command contains the word "marketing"
1 = if command contains the word "sales"
Switch depending on command
0 = /stop
1 = /start
Telegram N8N workflow (de)activator
What does it do?
This workflow helps you to quickly activate or deactiva
K
Keep only messages from …
D
Deactivate the marketing…
D
Deactivate the sales wor…
A
Activate the marketing w…
S
Switch depending on cont…
R
Receive commands from Te…
A
Activate the sales workf…
S
Switch depending on comm…
S
Switch depending on cont…
9 nodes8 edges

So funktioniert es

  1. 1

    Auslöser

    Der Workflow startet mit einem auslöser-Auslöser.

  2. 2

    Verarbeitung

    Die Daten fließen durch 9 Knoten, connecting filter, n8n, switch.

  3. 3

    Ausgabe

    Der Workflow schließt seine Automatisierung ab und liefert das Ergebnis an das konfigurierte Ziel.

Knotendetails (9)

ST

Sticky Note2

stickyNote

#1
KE

Keep only messages from a specific chat id

filter

#2
AC

Activate the sales workflow

n8n

#3
SW

Switch depending on content (deactivate)

switch

#4
RE

Receive commands from Telegram

telegramTrigger

#5

So importieren Sie diesen Workflow

  1. 1Klicken Sie rechts auf die Schaltfläche JSON herunterladen, um die Workflow-Datei zu speichern.
  2. 2Öffnen Sie Ihre n8n-Instanz. Gehen Sie zu Workflows → Neu → Aus Datei importieren.
  3. 3Wählen Sie die heruntergeladene Datei deactivate-n8n-workflows-using-telegram-commands und klicken Sie auf Importieren.
  4. 4Richten Sie Anmeldedaten für jeden Dienstknoten ein (API-Schlüssel, OAuth usw.).
  5. 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:

{ "name": "(De)activate n8n workflows using Telegram commands", "nodes": [...], ...}

Integrationen

filtern8nswitchtelegramtrigger

Diesen Workflow holen

Herunterladen und mit einem Klick importieren

JSON herunterladenAuf n8n.io ansehen
Knoten9
Komplexitätmedium
Auslösertrigger
Aufrufe2,656
KategorieOther

Erstellt von

MilanWR

MilanWR

@milanwr

Tags

filtern8nswitchtelegramtrigger

Neu bei n8n?

n8n ist ein kostenloses Open-Source-Workflow-Automatisierungstool. Selbst hosten oder die Cloud-Version nutzen.

n8n kostenlos holen →