手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 免费部署 N8N 的 Zeabur 注册 | 登陆
浏览模式: 标准 | 列表2025年10月7日的文章

如何添加 n8n telegram trigger 来收到群组消息

虽然可以收,但还是需要过滤,否则后面消息就会太多了!

XML/HTML代码
  1. Hi! Yes, you can definitely trigger a workflow in n8n from a new message in a Telegram group chat, but there are a couple of important steps to make it work properly.  
  2.   
  3.   
  4.   
  5. 1、Add your bot to the Telegram group  
  6.   
  7. Just invite your bot like you would add any user.  
  8.   
  9. Make sure to give it admin permissions so it can read messages.  
  10.   
  11. 2、Disable privacy mode  
  12.   
  13. Go to @BotFather in Telegram.  
  14.   
  15. Use /mybots → select your bot → Bot Settings → Group Privacy.  
  16.   
  17. Turn privacy mode OFF — this allows the bot to receive all messages in group chats, not just commands.  
  18.   
  19. 3、Set up the Telegram Trigger node in n8n  
  20.   
  21. Add the Telegram Trigger node to your workflow.  
  22.   
  23. Set it to listen for the “Message” event.  
  24.   
  25. Use the bot credentials you set up in n8n (Telegram Bot Token).  
  26.   
  27. The trigger will now respond to any message in the group.  
  28.   
  29. 4、Filter if needed: If you only want to respond to specific messages or users, you can add a Filter or Switch node after the trigger.