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

Medium complexity Trigger9 nodes💎 Other👁 2,656 viewsby MilanWR

Overview

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

Nodes used

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

Workflow Preview

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

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 9 nodes, connecting filter, n8n, switch.

  3. 3

    Output

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

Node Details (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

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

Integrations

filtern8nswitchtelegramtrigger

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes9
Complexitymedium
Triggertrigger
Views2,656
CategoryOther

Created by

MilanWR

MilanWR

@milanwr

Tags

filtern8nswitchtelegramtrigger

New to n8n?

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

Get n8n Free →