手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆

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

首页 > Ideas >

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

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.  

 



本站采用创作共享版权协议, 要求署名、非商业和保持一致. 本站欢迎任何非商业应用的转载, 但须注明出自"易栈网-膘叔", 保留原始链接, 此外还必须标注原文标题和链接.

« 上一篇 | 下一篇 »

发表评论

评论内容 (必填):