Telegram chat bot from a ready template: receives messages and replies
The nana800 Telegram chat bot template receives customer messages and replies right away: it thanks the sender, repeats the text and links to any photos, and adds a sticker. All you need is a bot token from @BotFather pasted into two blocks, with no code and no server. A message with a reply costs two runs of a basic block, and 1,000 such runs cost $1.
Build it in the builder
Chain of blocks
- 1
Trigger
A button to run the chain by hand. There is no message from a person in that case and nobody to reply to, so test the bot with a real Telegram message.
- 2
Trigger · Message to bot (trigger)
The trigger catches messages people send to the bot and presses of buttons under its messages. It passes on the text, chat_id to reply to, the sender and links to photos and files. Paste your bot token here.
- 3
Action · Custom script
A short JavaScript script joins the message text and photo links into one line for the reply. You can rewrite it: pull out an order number, check for keywords, prepare data for a sheet. The block is free.
- 4
Action · Send Telegram message
The bot replies in the same chat: chat_id from the trigger is already filled in. The template reply thanks the sender, repeats the request and is followed by a sticker. Paste the bot token here too.
What it is good for
- An auto reply to customers: "Thanks, we got your request, a manager will answer soon"
- Photos and documents from customers: the bot receives files up to 20 MB, and a second send block can forward their links to a manager
- A base for an AI bot: put a YandexGPT, ChatGPT or Claude block between the trigger and the reply
- Collecting requests in a sheet: add a Google Sheets record block before the reply
- A bot with a menu: buttons under the message and different replies through the condition block
How to set it up
- 1
Create a bot with @BotFather
Send /newbot to @BotFather in Telegram, pick a name and a username and copy the token that looks like 123456789:AAH... The token is the key nana800 uses to receive messages of the bot and reply on its behalf.
- 2
Open the template and paste the token
In the builder open Ready templates, pick Telegram Chat Bot Minimal and press Use. In the Telegram message from user to bot block replace the placeholder in the token field with your token.
- 3
Set up the reply
Paste the same token into the Telegram message send block. Leave the chat ID field as it is: it already holds chat_id from the trigger, so the bot answers whoever wrote. Rewrite the reply text in your own words, and replace the sticker with yours or clear the sticker ID field.
- 4
Turn the scheme on and message the bot
Turn the scheme on in its settings, open your bot in Telegram, press Start and send a message. The bot replies with text and a sticker, and Run history shows what each block did.
- 5
Extend the bot for your task
Add the blocks you need between the script and the reply: YandexGPT to answer in its own words, a record in a sheet or CRM, a second message to a manager. While the scheme is on, it costs $0.0042 per hour.
Services in this template
- Telegram
Build a Telegram bot without code: reply to messages, add buttons, send leads and alerts to a chat, group or channel. Free balance every month, no card needed.
- JavaScript
Add your own JavaScript or TypeScript to schemes and start schemes from your code with an npm library. Both blocks are free, no card needed to start.
Frequently asked questions
Build your first scheme for free
Sign-up is free and needs no card. Every month the balance is topped up to $3.50 for free, enough for about 3,500 runs of basic blocks.
Build it in the builder