(De)activate n8n workflows using Telegram commands — n8n 工作流

复杂度 触发器9 个节点💎 Other👁 2,656 次查看作者:MilanWR

概览

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

使用的节点

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

工作流预览

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

工作原理

  1. 1

    触发器

    工作流由 触发器 触发器启动。

  2. 2

    处理

    数据流经 9 个节点, connecting filter, n8n, switch。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (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

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 deactivate-n8n-workflows-using-telegram-commands 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

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

集成

filtern8nswitchtelegramtrigger

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点9
复杂度medium
触发器trigger
查看次数2,656
分类Other

创建者

MilanWR

MilanWR

@milanwr

标签

filtern8nswitchtelegramtrigger

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →