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

Moyen complexité Déclencheur9 nœuds💎 Other👁 2,656 vuespar MilanWR

Aperçu

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

Nœuds utilisés

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

Aperçu du workflow

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

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur déclencheur.

  2. 2

    Traitement

    Les données transitent par 9 nœuds, connecting filter, n8n, switch.

  3. 3

    Sortie

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

Détails des nœuds (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

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 deactivate-n8n-workflows-using-telegram-commands 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": "(De)activate n8n workflows using Telegram commands", "nodes": [...], ...}

Intégrations

filtern8nswitchtelegramtrigger

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds9
Complexitémedium
Déclencheurtrigger
Vues2,656
CatégorieOther

Créé par

MilanWR

MilanWR

@milanwr

Tags

filtern8nswitchtelegramtrigger

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 →