Telegram
Prerequisites
- A Telegram account
- A deployed Flowly server
Walkthrough
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
Copy your bot token
After creating your bot, BotFather sends you a token. It looks like this:
123456789:ABCdefGHIjklMNOpqrsTUVwxyzConnect 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
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.