(De)activate n8n workflows using Telegram commands — n8n 工作流
概览
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
使用的节点
工作流预览
工作原理
- 1
触发器
工作流由 触发器 触发器启动。
- 2
处理
数据流经 9 个节点, connecting filter, n8n, switch。
- 3
输出
工作流完成自动化并将结果发送到配置的目标。
节点详情 (9)
Sticky Note2
stickyNote
Keep only messages from a specific chat id
filter
Activate the sales workflow
n8n
Switch depending on content (deactivate)
switch
Receive commands from Telegram
telegramTrigger
如何导入此工作流
- 1点击右侧 下载 JSON 按钮保存工作流文件。
- 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入。
- 3选择下载的
deactivate-n8n-workflows-using-telegram-commands文件并点击导入。 - 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
- 5点击 测试工作流 验证一切正常,然后激活它。
或直接在 n8n → 从 JSON 导入 中粘贴:
集成
创建者
MilanWR
@milanwr