Integration
Telegram
Connect your Telegram bot to Flowly
Prerequisites
- A Telegram account
- A deployed Flowly server
Walkthrough
1
Create a Telegram bot
Create a new bot on Telegram using BotFather:
- Open Telegram and search for
@BotFather - Send the command
/newbot - Follow the prompts to name your bot
- Choose a username for your bot — must end with
_bot
2
Copy your bot token
After creating your bot, BotFather sends you a token. It looks like this:
text
123456789:ABCdefGHIjklMNOpqrsTUVwxyzKeep this secret
Anyone with this token can control your bot. Never commit it to a public repo and rotate it immediately if exposed.
3
Connect in Flowly
- Go to your Flowly dashboard
- Navigate to your server's Connections tab
- Click Connect Telegram
- Paste your bot token
- Enter your bot's username (e.g.
@my_awesome_bot) - Click Connect
4
Start using your bot
Open a chat with your bot on Telegram and send /start. Your AI assistant is ready.
Try asking it questions like:
- "What can you help me with?"
- "Remind me to call mom tomorrow at 3pm"
- "Summarize this article: [paste URL]"
Troubleshooting
Bot not responding?
Make sure your server is running and the gateway is online. Check the server status in your dashboard. If the gateway just restarted, wait 10–20 seconds for it to reconnect to the Telegram long-poll session.
Invalid token error?
Double-check that you copied the entire token from BotFather, including the numbers before the colon. Tokens are sensitive to whitespace — paste carefully.