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:

  1. Open Telegram and search for @BotFather
  2. Send the command /newbot
  3. Follow the prompts to name your bot
  4. 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:ABCdefGHIjklMNOpqrsTUVwxyz
Keep 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

  1. Go to your Flowly dashboard
  2. Navigate to your server's Connections tab
  3. Click Connect Telegram
  4. Paste your bot token
  5. Enter your bot's username (e.g. @my_awesome_bot)
  6. 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.

Next steps