Templates / (De)activate n8n workflows using Telegram commands

(De)activate n8n workflows using Telegram commands

Ready for 3.0

by MilanWR · 2,833 views · created 2023-12-02 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 9 nodes and runs on Telegram events (message). Along the way it connects Telegram.

How it runs

Trigger: On Telegram events (message).

  1. Keep only messages from a specific chat id (Filter): keeps only the items that match a condition
  2. Switch: routes items into 2 branches
  3. Switch: routes items into 2 branches
  4. Switch: routes items into 2 branches
  5. Deactivate the marketing workflow (n8n): deactivate
  6. Deactivate the sales workflow (n8n): deactivate
  7. Activate the marketing workflow (n8n): activate
  8. Activate the sales workflow (n8n): activate

Services it uses

Telegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (4)

From the author

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,…

Excerpt from MilanWR's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.