虽然可以收,但还是需要过滤,否则后面消息就会太多了!
XML/HTML代码
- 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.
- 1、Add your bot to the Telegram group
- Just invite your bot like you would add any user.
- Make sure to give it admin permissions so it can read messages.
- 2、Disable privacy mode
- Go to @BotFather in Telegram.
- Use /mybots → select your bot → Bot Settings → Group Privacy.
- Turn privacy mode OFF — this allows the bot to receive all messages in group chats, not just commands.
- 3、Set up the Telegram Trigger node in n8n
- Add the Telegram Trigger node to your workflow.
- Set it to listen for the “Message” event.
- Use the bot credentials you set up in n8n (Telegram Bot Token).
- The trigger will now respond to any message in the group.
- 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.