Telegram
Connect a Telegram bot so the AI agent and your team answer customers on Telegram.
Connect a Telegram bot to Octocom and customers can message your business on Telegram. Each private chat with the bot becomes a conversation in the Octocom help desk. The AI agent answers with the same knowledge, rules and workflows as on your other channels, and your team takes over in the same chat when needed.
You need a Telegram bot token, and the Manage integrations and Edit channels permissions in Octocom. If you don't have a bot yet, create one with Telegram's @BotFather first.
Connect your bot
Create a bot in Telegram
Open @BotFather in Telegram and send /newbot. Follow the prompts to choose the bot's name and username. BotFather replies with the bot's token.
To connect a bot you already have, send /token to BotFather and choose the bot to get its token again.
Paste the token into Octocom
In the Octocom dashboard, select the business that should receive the Telegram conversations. Open Settings -> Workspace -> Integrations -> Telegram, paste the token into Bot token and click Connect.
Octocom registers itself with Telegram as the bot's message receiver. Nothing else needs configuring on the Telegram side. If Telegram rejects the token, the dashboard says so: check that you copied the whole token and try again.
Test it
Open your bot in Telegram, press Start and send a message. The conversation appears in the help desk on the Telegram channel, and the AI agent replies in the chat.
Use a bot dedicated to Octocom. Telegram delivers a bot's messages to one receiver, so another system that used the same bot stops receiving them once it is connected here. Treat the token like a password: anyone who has it can control the bot.
What customers experience
- Private chats only. Customers talk to the bot one to one. If someone adds the bot to a group, it leaves the group.
- Text and photos. Text messages and photos (with their captions) come through. For other message types, such as voice messages, files, stickers or locations, the conversation notes which type the customer sent, so the AI agent or your team can ask for the details in text.
- One conversation at a time. Messages continue the customer's open conversation. Once it is closed, the next message starts a new one. Sending
/startalways starts a fresh conversation and closes the open one. - Text replies. Replies from the AI agent and your team arrive as text messages in the same chat. Images and file attachments are not sent on Telegram, so agents reply in text.
What the AI agent and your team can do
The AI agent handles Telegram conversations like any other messaging channel: it answers from your knowledge base, follows bot rules and workflows, and runs actions. To handle Telegram differently, limit a workflow, bot rule or article to the Telegram channel, or leave Telegram out of its channel list.
When the AI agent hands off, it tells the customer the team will reply in Telegram. Your agents open the conversation in the help desk and reply there. The reply goes to the customer's Telegram chat. Notes, tags, assignment and views work as on every other channel. See Managing conversations.
Disconnect
Open Settings -> Workspace -> Integrations -> Telegram and choose Disconnect. Octocom stops receiving the bot's messages and removes itself as the bot's receiver in Telegram. Existing conversations stay in the help desk. To switch to a different bot, disconnect the current one first, then connect the new token.
Related
- Channels overview: every channel and how it connects.
- Handed-off conversations: when and where your team replies.