Telegram Bots & Group Management
Create a Telegram bot with @BotFather, connect it to Wably, and run keyword replies, data collection, sequences, broadcasts, AI agents and automatic group moderation.
Wably can run your Telegram bot — for customer chats, broadcasts to subscribers and managing Telegram groups. Telegram chats appear in the Shared Inbox next to WhatsApp.
Create and connect your bot#
- In Telegram, open @BotFather (the official bot with a blue tick) and send
/newbot. - Choose a display name, then a username ending in
bot(for exampleFreshMartHelpBot). - BotFather sends an API token. Copy it and keep it private.
- In Wably, open Connect Account → Connect Telegram and paste the token.
- Your bot appears in Chatbot Manager → Bots / Accounts. Open
t.me/YourBotNameand press Start to test.
The token is the password to your bot. Never share it. If it leaks, send /revoke to @BotFather and connect the new token in Wably.
What you can build#
| Feature | Where | Example |
|---|---|---|
| Get Started message | Quick Actions → Get-started | Welcome + menu buttons when someone presses Start |
| Keyword bot | Automation → Keyword Replies | price, menu, timings |
| Collect details | Data Collection → User Input Flows | Name, email, phone — saved to custom fields |
| Email collection | User Input Flow with an Email reply type | Wrong formats are rejected and asked again |
| Location / birthday buttons | Quick Actions | Ask for location or date of birth with one tap |
| Sequences | Automation → Follow-up Sequences | A short welcome series over a few days |
| Broadcasts | Broadcasting → Telegram tab | Announcements to all bot subscribers |
| Google Sheets | Bot Settings → Google | Save new subscribers and answers to a sheet |
| Unsubscribe / Re-subscribe | Quick Actions | Let people stop messages |
| AI agent | AI → Agents and AI Configuration | Answer free-typed questions from your knowledge |
Group management#
Add your bot to a Telegram group as an admin (with permission to delete messages and restrict members). Then you can:
- Welcome new members with a message — their first name can be included.
- Verify new members with a button ("I'm human") before they can post.
- Remove spam — delete messages with links or banned words and warn the sender.
- Answer common questions in the group with keyword replies.
Tracked links#
Share a bot link such as https://t.me/YourBotName — or a tracked link created in Wably — to send people into a specific welcome flow and see where they came from.
Telegram has no 24-hour rule or per-message fees like WhatsApp, which makes it useful for frequent updates to a community. Still, only message people who joined your bot.
| Problem | Check |
|---|---|
| "Invalid token" | Copy the full token again from @BotFather, with no spaces |
| Bot doesn't reply | A Get-started or keyword flow exists for this bot and is saved |
| Group features don't work | The bot is an admin in the group with delete/restrict rights |