Use case

A Telegram bot with an AI agent behind it

Paste a bot token, and the agent answers in direct messages and groups. Voice messages reach it as text, and every person who writes becomes a contact.

Who builds it

You build a Telegram bot for a business or a community: answers to questions, the status of an order, a booking. Some people type, some send voice messages, and some write in a group the bot belongs to.

The bot gets an agent with tools behind it. Your MCP server gives the agent your data, voice messages reach it as text, and every person who writes becomes a contact your team can see.

Telegram bot of a bike repair shopExample
  1. Voice message, 0:07
  2. Transcribed: “Is my bike ready? The order number is 4471.”
  3. Order 4471 is ready: new brake pads and a chain. The shop is open until 19:00 today.
  4. Could someone look at the gears when I pick it up?
  5. The agent calls the shop's MCP tool add_order_note
  6. I've left a note on the order for the mechanic. See you before 19:00!
The voice message reaches the agent as text. The agent reads the order through the shop's own MCP tool and adds the note with another one.

How you build it on Flutch

  1. Start from Assistant with tools

    Start from Assistant with tools: give it a prompt, a model and your MCP tools.

  2. Create the bot

    Create a bot in @BotFather and paste its token in the console.

  3. Get voice messages as text

    Voice messages are transcribed automatically, so the agent gets every one of them as text.

  4. Reply as a person when needed

    When a person is needed, your team takes over the conversation from the inbox.

What it costs to run

1,000 messages a month on Claude Haiku 4.5, each with one model call of 2,500 input and 150 output tokens, come to about $3.41 in model calls, paid from your workspace balance.

  • Processing, $0.002 per message at the 1-second minimum and $2.00 for that month, is free during launch, so you pay $3.41.
  • Transcribing voice messages is charged at Whisper's catalog price.
  • Channels, the inbox, contact cards, traces and Quality Control are included, and a new workspace starts with $5 of credit.

Where to start

The console will suggest starting with an assistant with tools.