Connecting a Telegram Bot lets you view and reply to customer questions in Telegram groups or channels from SaleWisely. You can also use the bot for automated service and broadcast messages.
Tags: Telegram bot, BotFather, token, group chat, channel broadcast
Prerequisites
- A Telegram account.
- Permission to create and manage bots via BotFather.
1. Get a bot token from BotFather
- Log in to Telegram, search for BotFather, and open the chat. Click /start.
- To create a new bot, click /newbot and follow the prompts. You will receive a short link (shareable with visitors) and a token for managing the bot.
- To use an existing bot, click /mybots, choose the bot, and get its link and token.
2. Connect the bot in SaleWisely
- In SaleWisely, go to Integration → Telegram and click Add bot.
- Paste the Telegram token and confirm to finish the integration.
- After connecting, enable the account. You will then see messages in Chat when visitors contact you through this channel.
Warning: Do not use the same token for different services. Reusing a token will stop the bot from working properly.
3. Add the bot to a group
On mobile:
- Create a group in Telegram and add the bot to it.
- Open the group details and tap Administrators.
- Click Add Admin and set the bot as an administrator.
On desktop:
- Create a group, then right-click to view group info.
- Set the bot as an administrator, check all permissions, and save.
A new conversation appears in SaleWisely → Chat, where you can send and receive group messages.
Tip: For an existing group, just add the bot and make it an administrator.
4. Broadcast to a channel
On mobile:
- Create a channel in Telegram.
- Tap Add Administrators, then Add Admin to set the bot as an administrator.
On desktop:
- Create a channel, then right-click to manage it.
- Set the bot as an administrator, check all permissions, and save.
After setup, post one broadcast in the channel. A new conversation then appears in SaleWisely → Chat, where you can manage channel broadcasts.
FAQ
Can one Telegram bot connect to more than one project?
No. Telegram only allows a bot's webhook to point to one project. Connecting the bot to a new project breaks the old project's webhook, so messages will not sync across projects. If you use only one project but are not receiving messages, try re-authorizing the Telegram Bot.
How to verify setup is complete
The bot works when it is enabled in SaleWisely, added as an administrator to your group or channel, and a test message appears in the Chat inbox.