Apps/Telegram Bot/Instantly when receiving a text message
Telegram Bot
Telegram Bot Trigger

Instantly when receiving a text message

It is triggered every time a user sends a text message to the bot or to a group/channel where the bot is located.

200+ apps to connectΒ·Tested & maintained tasksΒ·Human support in English & Spanish

In detail

What it does and what it's for

Automating tasks with Telegram Bot allows you to respond immediately to messages your users send to your bot or to the groups and channels where it participates. This integration facilitates the creation of workflows that are triggered upon receiving text messages, optimizing the interaction and management of your communications on Telegram.

With this functionality, you can configure specific actions that execute automatically for each received message, whether to respond with relevant information, process requests, or interact with other applications and services. This provides you with a powerful tool to enhance efficiency and personalization in communication with your audience.


  • You can choose to trigger the task for any message received or only for those that are preceded by a specific command (a word).

How it works

How it fits in an automated task

A Botize task pairs a trigger with one or more actions. This piece is one of them.

This is the trigger

Every time this event happens, the task kicks off on its own. You don't have to do anything.

Add one or more actions

What should happen next, in this app or in any of the 200+ connectable apps.

Turn it on and forget it

The task runs on its own from then on. If something's off, tweak it or we'll help you.

Already using Botize?

Connect your Telegram Bot

Add a profile to use it in your tasks. There's a step-by-step guide if you need it.

Add a new profile Step-by-step guide

Your profiles

Your connected Telegram Bot accounts

These are the accounts you already have linked to Botize, ready to use in your tasks. You can reconnect or remove any of them.

Setup

Customization options

Fields you can adjust when using it in your automation.

Chat ID

Output data

Information provided

When executed, this operation delivers the following data, which can be used in the same automatic task.

  • Tags

  • From User Id {{from_id}}

    ID of the user who sent the message.

  • Message Id {{message_id}}

    ID of the message.

  • Message Thread Id {{message_thread_id}}

    Thread ID if the message comes from a group with various topics.

  • From name {{from_name}}

    First name of the user who sent the message.

  • From username {{from_username}}

    Username of the user who sent the message. By default, Telegram users don't have a username, so only people who have their phone number can send them messages. If a user has a username, anyone can send them messages through the link https://t.me/username, and they will appear in Telegram search with their username.

  • From Chat Id {{chat_id}}

    ID of the chat where the message was sent.

  • User message {{text}}

    Text of the message.

  • Reply to message Username {{reply_to_message_username}}

    Username of the message being replied to.

  • Reply to message Text {{reply_to_message_text}}

    Text of the message being replied to.

  • Type of message {{type}}

    Type of message.

  • Forwarded from chat Id {{forward_from_id}}

    ID of the chat from which this message was forwarded

Learn by watching

Video tutorials

Short videos where you watch a real task being built from start to finish.

Get inspired

Ready-to-use automations

Real tasks built with Telegram Bot: switch them on in minutes and tweak them to your liking.

  • type
  • telegrambot β†’ webhook
  • plugin_delay β†’ stop
  • telegrambot β†’ reply
Pause a group of tasks with the OFF command and group name
  • type
  • telegrambot β†’ webhook
  • plugin_delay β†’ restart
  • telegrambot β†’ reply
Reactivate a task group with the ON command and group name
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ send_message_photo
What you write to a Telegram bot is published in a Telegram channel/group
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ reply
Respond with a predefined message when the bot receives a text message
  • type
  • telegrambot β†’ webhook
  • plugin_talk β†’ palomisimo
  • telegrambot β†’ reply
Reply with a message from a list
  • type
  • telegrambot β†’ webhook
  • twitter β†’ update_with_media
Forward user messages to Twitter
  • type
  • telegrambot β†’ webhook
  • fpages β†’ public_status
Forward user messages to a Facebook page
  • type
  • telegrambot β†’ webhook
  • gmail β†’ send
Forward user messages to Gmail
  • type
  • telegrambot β†’ webhook
  • gspreadsheet β†’ add_row_to_end
Save each new Telegram message to Google Sheets
  • type
  • telegrambot β†’ webhook
  • slack β†’ post_message
Forward user messages to Slack
  • type
  • telegrambot β†’ webhook
  • btzfilters β†’ process
  • telegrambot β†’ send_message_photo
Forward only messages that contain links to a channel
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ send_message_photo
Forward only messages containing the word IMPORTANT to a channel
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ send_message_photo
Bot to copy received text messages to another chat
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ send_message_photo
  • telegrambot β†’ send_message_photo
Forward user messages to different channels
  • type
  • telegrambot β†’ webhook
  • twitter β†’ tweet_from_url
  • telegrambot β†’ reply
Gets the link to download the videos from a tweet
  • type
  • telegrambot β†’ webhook
  • deepl β†’ translate
  • telegrambot β†’ reply
Spanish to Japanese translator bot for Telegram
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ forward_message
Forward messages from one Telegram chat to another
  • type
  • telegrambot β†’ webhook
  • gspreadsheet β†’ read_by_column
  • telegrambot β†’ reply
  • telegrambot β†’ reply
Upon receiving an ASIN, respond with the affiliate link according to the Telegram user
  • type
  • telegrambot β†’ webhook
  • gspreadsheet β†’ read_by_column
  • gspreadsheet β†’ read_by_column
  • gspreadsheet β†’ read_by_column
  • telegrambot β†’ reply
  • telegrambot β†’ reply
Search a record in the database for the name, email or profile indicated
  • type
  • telegrambot β†’ webhook
  • gspreadsheet β†’ read_by_column
  • telegrambot β†’ reply
  • gspreadsheet β†’ add_row_to_end
  • telegrambot β†’ reply
Bot that searches for users in Google Sheets and responds with their data if they are in the database; if not, it adds them to the sheet
  • type
  • telegrambot β†’ webhook
  • gspreadsheet β†’ read_by_column
  • telegrambot β†’ reply
  • amazon_associates β†’ get_product_detail
  • fpages β†’ public_image
  • gspreadsheet β†’ add_row_to_end
  • telegrambot β†’ reply
Send publish followed by an ASIN code
  • type
  • telegrambot β†’ webhook
  • gspreadsheet β†’ read_by_column
  • telegrambot β†’ reply
  • telegrambot β†’ reply
  • amazon_associates β†’ get_product_detail
  • gspreadsheet β†’ add_row_to_end
Bot Adding Amazon products to Sheets
  • type
  • telegrambot β†’ webhook
  • scrapingrobot β†’ html_request_scraper
  • amazon_lightning β†’ parse_single_product_html
  • fpages β†’ public_image
  • telegrambot β†’ reply
Send "ASIN" and a product code to the bot and publish it on your Facebook page
  • type
  • telegrambot β†’ webhook
  • fpages β†’ public_image
  • instagram_apigraph β†’ post_image
  • twitter β†’ update_with_media
Post from Telegram to Facebook Page, Instagram, and X (Twitter) simultaneously
  • type
  • telegrambot β†’ webhook
  • amazon_associates β†’ get_product_detail
  • instagram_apigraph β†’ post_image
  • fpages β†’ public_image
  • telegrambot β†’ send_message_photo
Post the products you send to the bot on Instagram, Facebook and Telegram
  • type
  • telegrambot β†’ webhook
  • amazon_associates β†’ get_product_detail
  • producttemplates β†’ template_to_image
  • producttemplates β†’ template_to_image
  • telegrambot β†’ reply
Send a product URL and return a post to share
  • type
  • telegrambot β†’ webhook
  • tinypng β†’ shrink
  • telegrambot β†’ reply
Bot to compress images with tinyPNG
  • type
  • telegrambot β†’ webhook
  • amazon_associates β†’ get_product_detail
  • woocommerce β†’ post_product_external
  • telegrambot β†’ send_message_photo
  • telegrambot β†’ reply
receiving ASIN and a code, publish the product on WooCommerce and Telegram
  • type
  • telegrambot β†’ webhook
  • chatgpt β†’ send_prompt
  • telegrambot β†’ reply
Telegram bot that uses a GPT assistant to reply to user messages
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ copy_message
  • telegrambot β†’ copy_message
Copy the complete messages you post in one chat/group/channel to two other different ones
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ reply
Telegram bot that responds with 'Hi!' to every message it receives
  • type
  • telegrambot β†’ webhook
  • chatgpt β†’ completion_attach_file
  • telegrambot β†’ reply
Bot to answer users' questions and inquiries about your services, commerce, or company based on the information provided in a text document
  • type
  • telegrambot β†’ webhook_txtimgdoc
  • telegrambot β†’ get_file
  • fpages β†’ public_image
Send each new post from a Telegram chat, group, or channel to a Facebook page
  • type
  • telegrambot β†’ webhook_txtimgdoc
  • btztextparser β†’ get_urls
  • telegrambot β†’ delete_message
Retrieve each new message from a Telegram chat, search for URLs from specific domains in the text, and if found, delete the message
  • type
  • telegrambot β†’ webhook
  • chatgpt β†’ send_prompt
  • telegrambot β†’ reply
Telegram bot that utilizes a GPT Assistant to respond to received messages
  • type
  • telegrambot β†’ webhook
  • chatgpt β†’ send_prompt
  • telegrambot β†’ reply
  • telegrambot β†’ send_message_photo
A Telegram bot that receives a message from the user, generates a response using GPT, sends the response to the user, and also posts it in a specific Telegram chat
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ delete_message
A Telegram bot to delete messages posted in a group that do not belong to a specific topic.
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ delete_message
Telegram bot to delete messages posted in a chat that do not come from specific users
  • type
  • telegrambot β†’ webhook_new_chat_member
  • telegrambot β†’ reply
Telegram bot to send a public welcome message to each new member of a Telegram group
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ delete_message
Telegram bot to delete messages posted in a chat that contain specific words
  • type
  • telegrambot β†’ webhook
  • amazon_associates β†’ get_product_detail
  • wp β†’ send
Telegram bot. It receives an ASIN code or a URL of an Amazon product, extracts the product information, and publishes it on WordPress
  • type
  • telegrambot β†’ webhook
  • btztextparser β†’ get_urls
  • gspreadsheet β†’ append_list_of_rows
  • telegrambot β†’ reply
A Telegram bot that extracts URLs from the text you send and saves them in consecutive rows of a Google Sheets document
  • type
  • telegrambot β†’ webhook
  • btztextparser β†’ get_urls
  • amazon_associates β†’ get_items
  • gspreadsheet β†’ append_list_of_rows
  • telegrambot β†’ reply
Telegram bot that extracts URLs from the text you send, retrieves each product's details from Amazon, and saves them in consecutive rows in Google Sheets
  • type
  • telegrambot β†’ webhook
  • btztextparser β†’ get_urls
  • site_inspector β†’ expand_multiple_urls
  • amazon_lightning β†’ urls2asins
  • amazon_associates β†’ get_items
  • gspreadsheet β†’ append_list_of_rows
  • telegrambot β†’ reply
Telegram Bot. Receives a list of Amazon URLs, extracts the products, and exports them to Google Sheets
  • type
  • telegrambot β†’ webhook
  • chatgpt β†’ completion_as_data
  • telegram_users β†’ search_message
  • chatgpt β†’ send_prompt
  • telegrambot β†’ reply
AI powered message search bot for Telegram chats
  • type
  • btzmail β†’ webhook
  • telegrambot β†’ send_message_photo
Publish to Telegram from your email. Use the email’s body as the post
  • type
  • telegrambot β†’ webhook
  • chatgpt β†’ completion_as_data
  • telegrambot β†’ reply
Telegram bot that extracts product data from unstructured text
  • type
  • telegrambot β†’ webhook
  • btzfilters β†’ process
  • telegrambot β†’ forward_message
Forward to another chat the messages written by a specific user in a Telegram group
  • type
  • telegrambot β†’ webhook
  • telegram_users β†’ search_message
  • btzsimilartext β†’ similar_text_to_json_list
  • telegrambot β†’ delete_message
Detects and removes duplicate or highly similar messages on Telegram
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ delete_message
Telegram bot to delete messages posted in a specific group and topic that do not belong to a specific user
  • type
  • telegrambot β†’ webhook_new_chat_member
  • telegrambot β†’ reply
Telegram bot to send a private welcome message to each new member of a Telegram group.
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ ask
  • chatgpt β†’ send_prompt
  • telegrambot β†’ ask
  • chatgpt β†’ send_prompt
  • telegrambot β†’ reply
Telegram bot to generate and evaluate math exercises
  • type
  • telegrambot β†’ webhook
  • btzpauseresume β†’ delay
  • telegrambot β†’ edit_message
When a new message is detected in a Telegram chat, it waits 5 days and then modifies the message content by adding a word
  • type
  • telegrambot β†’ webhook_new_chat_member
  • plugin_talk β†’ post_message
  • telegrambot β†’ reply
Telegram bot to send a random public message from a list to each new member of a Telegram group
  • type
  • telegrambot β†’ webhook_txtimgdoc
  • chatgpt β†’ completion_as_data
  • telegrambot β†’ delete_message
β€œChecks each new message with GPT and deletes those that break the rules
  • type
  • telegrambot β†’ webhook
  • btzloop β†’ repeater
  • chatgpt β†’ completion_as_data
  • btzflow β†’ get_flow_next_step
  • collect_list β†’ collect
  • telegrambot β†’ reply
Telegram Conversational Assistant for Tour Booking
  • type
  • telegrambot β†’ webhook
  • gemini β†’ send_prompt
  • telegrambot β†’ reply
Telegram bot that replies to user messages using Gemini
  • type
  • telegrambot β†’ webhook
  • btzloop β†’ repeater
  • chatgpt β†’ completion_as_data
  • btzflow β†’ get_flow_next_step
  • drive β†’ copy_file
  • gspreadsheet β†’ add_row_to_end
  • collect_list β†’ collect
  • telegrambot β†’ reply
Telegram conversational assistant to register products in new Google Sheets documents
  • type
  • telegrambot β†’ webhook
  • gspreadsheet β†’ add_row_to_end
  • telegrambot β†’ copy_message
Save each new Telegram message to Google Sheets and also copy it to another Telegram chat, group, or channel
  • type
  • telegrambot β†’ webhook
  • btzpauseresume β†’ delay
  • telegrambot β†’ copy_message
Each new message from a Telegram chat, group, or channel is copied to another after 24 hours
  • type
  • telegrambot β†’ webhook_txtimgdoc
  • btzfilters β†’ process
  • btzpauseresume β†’ delay
  • telegrambot β†’ delete_message
Delete any new Telegram message that contains a document or media after 7 days
  • type
  • telegrambot β†’ webhook
  • shopee β†’ replace_text_urls
  • telegrambot β†’ edit_message
Monitor every new message published in a Telegram chat and replace any Shopee URLs it contains with Shopee affiliate links
  • type
  • telegrambot β†’ webhook
  • fpages β†’ public_status
Post every new message from a Telegram chat, group, or channel to a Facebook Page
  • type
  • telegrambot β†’ webhook
  • btztextparser β†’ get_urls
  • btzfilters β†’ process
  • amazon_associates β†’ get_product_detail
  • amazon_associates β†’ get_product_detail
  • amazon_associates β†’ get_product_detail
  • telegrambot β†’ reply
Analyze Amazon links in Telegram and show prices in ES, FR, and IT
  • type
  • telegrambot β†’ webhook
  • chatgpt β†’ completion_as_data
  • gcalendar β†’ create_event
  • telegrambot β†’ reply
Telegram bot that extracts events from user messages using GPT and registers them in Google Calendar with confirmation via Telegram
  • type
  • telegrambot β†’ webhook
  • btzfilters β†’ process
  • telegrambot β†’ send_message_photo
Telegram bot that publishes messages in a chat using a custom alias for each user
  • type
  • telegrambot β†’ webhook
  • btzloop β†’ repeater
  • chatgpt β†’ send_prompt
  • btzchrome β†’ execute_commands
  • collect_list β†’ collect
  • telegrambot β†’ reply
Telegram bot to control your Google Chrome browser
  • type
  • telegrambot β†’ webhook
  • tiktok β†’ post_video
Post a predefined TikTok video using each Telegram message as the title
  • type
  • telegrambot β†’ webhook_new_chat_member
  • plugin_talk β†’ post_message
  • telegrambot β†’ send_message_photo
  • telegrambot β†’ reply
Send a message to a Telegram group when a new member joins and a direct message to the user from a predefined list
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ ask
  • telegrambot β†’ reply
Telegram bot triggered by a text message, asks for an image, and replies with a final message
  • type
  • telegrambot β†’ webhook
  • gspreadsheet β†’ add_row_to_end
Copy each new message received in a Telegram chat to a new row in Google Sheets, only if it is sent by one of the specified Telegram users
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ ask
  • chatgpt β†’ send_prompt
  • telegrambot β†’ reply
Telegram bot that is triggered when a message is received, asks the user for their name, generates content with GPT, and sends it back
  • type
  • telegrambot β†’ webhook
  • btzfilters β†’ process
  • telegrambot β†’ reply
Reply to each new message using the same text, only if it starts with specific words
  • type
  • telegrambot β†’ webhook_new_chat_member
  • telegrambot β†’ reply
  • btzpauseresume β†’ delay
  • telegrambot β†’ delete_message
When a new member joins a Telegram group, send a public message that is automatically deleted after 15 minutes
  • type
  • telegrambot β†’ webhook
  • btzfilters β†’ process
  • telegrambot β†’ ask
  • gspreadsheet β†’ add_row_to_end
  • telegrambot β†’ reply
Telegram bot that triggers when receiving the message β€œSORTEO”, records the user’s response in Google Sheets, and replies to the user

Frequently Asked Questions


How can I limit who can interact with my bot?

You can limit who can interact with your bot by using the 'Task runs when receiving updates from a specific user, group or channel' field in the bot's settings. This field allows you to specify specific users, groups or channels that are able to interact with the bot.

Why can't my bot see messages posted in a Telegram group?

By default, Telegram bots are configured not to listen to messages posted in groups. To allow your bot to see messages in the group, follow these steps:

  • - In your Telegram app, search for the contact @Botfather and enter his chat.
  • - Type the command /mybots in the chat to see the list of Telegram bots you have created.
  • - Select the corresponding bot from the list.
  • - Tap on the 'Group Privacy' option.
  • - Make sure the 'Privacy Mode' option is set to 'Off' so your bot can listen to messages posted by other users in the group.
Another way to ensure that your bot can see all messages posted by group users is to grant it administrator permissions in the group.

Can I pass data to an automatic task that is triggered when a user presses a button?

Yes, by receiving the command from the pressed button in the same task that displays the buttons and then calling to execute the corresponding task as shown in the following video https://youtu.be/VBhifL0abZA

Common Errors


Bad Request: file is too big

Telegram does not allow bots to download files whose size exceeds 20MB.

Due to this Telegram limitation, messages sent to the bot with an attached file or document that exceeds this size cannot be processed.

Send a message to your Telegram bot to start this task. Open Telegram and send the bot a text, photo, video, or file

To start this specific automation, you need to open Telegram, search for your bot in your contacts, and send it a text message.

If you have also selected the option 'Only runs when receiving messages from a specific user, group, or channel,' you will need to send the message from the chat you have specified.

Need a hand?

Real people behind it

Email us

info@botize.com
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Message us on Telegram

t.me/botize
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Come with an idea.
Leave with an automation.

Create your first task in minutes. Do it once and forget about it forever.

Start automating