telegrambot

Send a message

Send a message, an image/video/document or both to a specific chat, group or channel.

Telegram Bot Action


Automating tasks with Telegram Bot allows you to send messages, images, videos, or documents to specific chats, groups, or channels efficiently. This integration supports HTML tags like bold, italic, and links, as well as interactive buttons that can direct users to URLs or trigger other automations.

Customize your messages dynamically using tags from other applications, Spintax, and Mustache to keep your posts engaging and varied. You can also include your own images or those generated from keywords with Unsplash, and add buttons that redirect users or initiate private chats with the bot.



  • The following tags are currently supported in the messages: b, strong , i, em, u, ins, s, strike, del, a, code, pre.
  • You can include URL Buttons and Callback Buttons in posts.







Customization Options

Configurable fields you can adjust in your automation

  • Enable Rules
  • Message Filters
  • Message Text
  • Photo File
  • Media Position
  • Buttons
  • Keyboard
  • Message Thread ID
  • Disable Link Preview
  • Disable Notification
  • Enable Output Variable Renaming
  • Output Variables

Dynamic messages

Supports tags from any other app, Spintax and Mustache so your posts always vary and look attractive.

🎁 Emojis, bold, Strikethrough text, Hyperlinks...

Posts with images

Own images or for example obtained from a keyword with Unsplash.

You can also generate your own images with Product Templates.

Posts with buttons

Buttons that send the user to the web or URL that you indicate.

And Buttons that when pressed by the user activate certain automations that you have programmed. For example: Open a private chat between the bot and the user who has clicked on it.

Rich text/HTML formatting

You can include the following HTML tags in your posts to format the text and make it more visually attractive to the reader.

Tag Example Result
<B> <b>Bold</b> text Bold text
<STRONG> <strong>Bold</strong> text Bold text
<I> <i>Italic</i> text Italic text
<EM> <em>Italic</em> text Italic text
<U> <u>Underlined</u> text Underlined text
<INS> <ins>Underlined</ins> text Underlined text
<S> <s>Strikethrough</s> text Strikethrough text
<STRIKE> <strike>Strikethrough</strike> text Strikethrough text
<SPAN CLASS="TG-SPOILER"> Text <span class="tg-spoiler">hidden</span> Text β–‘β–‘β–‘β–‘β–‘β–‘
<DEL> <del>Strikethrough</del> text Strikethrough text
<A> <a href="https://google.es">Hyperlink</a> text Hyperlink text
<CODE> <code>Preformatted</code> text1 Preformatted text
<PRE> <pre>Preformatted</pre> text1 Preformatted text

1. This format has the property of automatically copying the text to the user's clipboard when clicked.



Troubleshooting

Error messages and suggestions to fix it.





Information provided

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

  • Tags

  • Message Id {{message_id}}

  • Chat Id {{chat_id}}

  • File Id {{file_id}}




Related automations

  • type
  • foursquare β†’ checkins_friend_category
  • telegrambot β†’ send_message_photo
Share my friends’ check-ins in the Telegram group
  • type
  • zohoprojects β†’ new_milestone_update
  • telegrambot β†’ send_message_photo
Communicate in our Telegram group every new milestone achieved
  • type
  • zohoprojects β†’ new_task_update
  • telegrambot β†’ send_message_photo
Communicate in our Telegram group every new task that is created for the project
  • type
  • infojobs β†’ offers_by_query
  • telegrambot β†’ send_message_photo
Share in my group every job offers for Ruby or Python in Barcelona or Madrid
  • type
  • coc β†’ clan
  • btzfilters β†’ process
  • telegrambot β†’ send_message_photo
Notify your Telegram group when your clan levels up
  • type
  • rss β†’ rss_new
  • telegrambot β†’ send_message_photo
Post the headline and link of each new entry from a feed or RSS channel in a Telegram chat
  • type
  • telegrambot β†’ webhook
  • telegrambot β†’ send_message_photo
What you write to a Telegram bot is published in a Telegram channel/group
  • type
  • giphy β†’ new_gif_from_keyword
  • telegrambot β†’ send_message_photo
Send each new GIF on a topic you specify to a Telegram chat or group
  • type
  • plugin_talk β†’ post_message
  • fpages β†’ public_status
  • telegrambot β†’ send_message_photo
Publish to Facebook Pages and to a chat or Telegram group at the same time
  • type
  • trabber β†’ one_destination
  • telegrambot β†’ send_message_photo
Post Madrid-Barcelona flight offers on a Telegram channel
  • 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
  • site_inspector β†’ site_down
  • telegrambot β†’ send_message_photo
Send an alert to a Telegram group if a website is down
  • type
  • gcalendar β†’ alert_events
  • telegrambot β†’ send_message_photo
Share Google Calendar events an hour in advance on a Telegram channel
  • type
  • public_channels β†’ new_post
  • telegrambot β†’ send_message_photo
Copy the text of messages and the first image from posts in a public Telegram channel to my group/channel/chat
  • type
  • gspreadsheet β†’ read_random_row
  • telegrambot β†’ send_message_photo
Every hour post a random row of a spreadsheet on a Telegram channel
  • type
  • plugin_talk β†’ post_message
  • telegrambot β†’ send_message_photo
Every hour select a message from a list and send it to me
  • type
  • plugin_talk β†’ post_message
  • telegrambot β†’ send_message_photo
Every hour choose a message from a list and send it to a group
  • type
  • plugin_talk β†’ post_message
  • telegrambot β†’ send_message_photo
Every hour choose a message from a list and send it to a Telegram channel/group
  • type
  • plugin_talk β†’ post_message
  • telegrambot β†’ send_message_photo
Send automatic messages to a Telegram contact
  • type
  • ganalytics β†’ get_metrics
  • telegrambot β†’ send_message_photo
Share the analytics of the last 7 days with a contact from your agenda
  • type
  • aliexpress_associates β†’ search_by_category
  • telegrambot β†’ send_message_photo
Post AliExpress products from a category to a public channel
  • type
  • site_inspector β†’ site_updated
  • telegrambot β†’ send_message_photo
Notify a Telegram group when a website is updated
  • type
  • gspreadsheet β†’ read_row
  • amazon_associates β†’ get_product_detail
  • telegrambot β†’ send_message_photo
Post Amazon affiliate links on Telegram
  • type
  • dropbox β†’ new_file
  • telegrambot β†’ send_message_photo
Send images from a Dropbox folder to a Telegram channel
  • type
  • amazon_associates β†’ search_by_keyword
  • telegrambot β†’ send_message_photo
Post Amazon products from a keyword to Telegram
  • type
  • gspreadsheet β†’ read_row
  • telegrambot β†’ send_message_photo
Extract each row from a Google Sheets containing products, create a message with the cell values, and post it on Telegram
  • type
  • gspreadsheet β†’ search_row_by_column_v2
  • telegrambot β†’ send_message_photo
Post the rows that match a certain value to Telegram
  • type
  • public_channels β†’ new_post
  • deepl β†’ translate
  • telegrambot β†’ send_message_photo
Translate an existing channel into another language
  • type
  • paypal β†’ new_transaction
  • telegrambot β†’ send_message_photo
Send a message when a transaction occurs in PayPal
  • type
  • paypal β†’ new_transaction
  • btzfilters β†’ process
  • telegrambot β†’ send_message_photo
Send a message whenever a charge over 100 Euros arrives
  • type
  • drive β†’ get_document_by_id
  • telegrambot β†’ send_message_photo
Every day download an spreadsheet as CSV and share it on Telegram
  • type
  • gspreadsheet β†’ read_row
  • btztextparser β†’ text_parser
  • btzfilters β†’ process
  • telegrambot β†’ send_message_photo
Extract the price from product descriptions and publish it on Telegram
  • type
  • public_channels β†’ new_post
  • btztextparser β†’ text_parser
  • telegrambot β†’ send_message_photo
Extract product prices and publish them on a Telegram channel
  • type
  • plugin_talk β†’ post_message
  • telegrambot β†’ send_message_photo
Every 2 days send a message from a list to the Telegram group
  • type
  • twitter β†’ likes_from_me
  • telegrambot β†’ send_message_photo
Share my favorite tweets in the Telegram group with a link to the tweet
  • type
  • telegram_users β†’ webhook_all
  • telegrambot β†’ send_message_photo
Copies the text and the first image from each post in a public group to another one of mine
  • type
  • gspreadsheet β†’ read_row
  • scrapingrobot β†’ html_request_scraper
  • amazon_lightning β†’ parse_single_product_html
  • telegrambot β†’ send_message_photo
Extract Amazon products without API and send them to Telegram
  • type
  • telegrambot β†’ send_message_photo
Webhook to publish messages with images to a Telegram chat, group, or channel
  • type
  • amazon_lightning β†’ search_deals
  • telegrambot β†’ send_message_photo
Retrieve Amazon deals and post them on Telegram
  • type
  • amazon_lightning β†’ search_deals
  • bitly β†’ shorten
  • telegrambot β†’ send_message_photo
Extract Amazon offers, shorten the affiliate link with Bitly, and post them on Telegram
  • type
  • gspreadsheet β†’ read_row
  • telegrambot β†’ send_message_photo
Post links saved in a spreadsheet to Telegram
  • type
  • telegrambot β†’ webhook_command
  • amazon_associates β†’ get_product_detail
  • telegrambot β†’ send_message_photo
  • telegrambot β†’ reply
Send a command and ASIN code to a Telegram bot. It will then retrieve and share the Amazon product in a group or channel
  • type
  • amazon_associates β†’ search_by_category
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
Accessories with discounts of 2% or more
  • type
  • amazon_lightning β†’ search_deals
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
Publish Amazon deals with customized images on Telegram
  • type
  • aliexpress_associates β†’ search_by_keyword
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
Publish AliExpress products to Telegram with customized images
  • type
  • gspreadsheet β†’ read_row
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
CSV Hot Product AliExpress a Telegram
  • type
  • aliexpress_associates β†’ csv_next_row
  • telegrambot β†’ send_message_photo
Post products from AliExpress CSV files on Telegram
  • type
  • telegram_users β†’ webhook_all
  • telegram_users β†’ get_post_files_urls
  • telegrambot β†’ send_message_photo
Copies the text, images, videos, or files from each post in a public or private chat, group, or channel to another one of your own
  • type
  • telegram_users β†’ webhook_all
  • btzfilters β†’ process
  • telegram_users β†’ get_post_files_urls
  • telegrambot β†’ send_message_photo
Copy each new post from a third-party Telegram chat that contains specific keywords into a chat you own
  • type
  • amazon_lightning β†’ search_deals
  • wp β†’ send
  • telegrambot β†’ send_message_photo
Extracts Amazon deals, creates a post on WordPress, and publishes them on Telegram
  • type
  • amazon_associates β†’ search_by_category
  • wp β†’ send
  • telegrambot β†’ send_message_photo
Post products on Telegram that link to Amazon from Wordpress
  • type
  • falabella β†’ search_deals
  • telegrambot β†’ send_message_photo
Post on Telegram each product from Falabella of a specific category
  • type
  • falabella β†’ search_deals
  • telegrambot β†’ send_message_photo
Post products under $50,000 on Telegram
  • type
  • falabella β†’ search_deals
  • telegrambot β†’ send_message_photo
Post on Telegram products from Falabella with discounts of more than 10%
  • type
  • public_channels β†’ new_post
  • btztextparser β†’ get_first_last_url
  • plugin_strings β†’ remove_urls
  • site_inspector β†’ update_get_parameters
  • telegrambot β†’ send_message_photo
Duplicate a Telegram channel with products, while changing the tag of the Amazon affiliate URLs
  • type
  • telegrambot β†’ send_message_photo
Send a message and photo to Telegram every day at the same time
  • type
  • aliexpress_associates β†’ csv_next_row
  • exchangerateapi β†’ pair_conversion
  • telegrambot β†’ send_message_photo
Convert prices to Euros before each publication on Telegram
  • type
  • telegram_users β†’ webhook_all
  • telegram_users β†’ get_post_files_urls
  • telegrambot β†’ send_message_photo
  • datetime β†’ get_timestamp
  • plugin_delay β†’ task_wait_until_timestamp
Post a message from a group or private channel and wait until the next day
  • type
  • telegram_users β†’ webhook_all
  • telegram_users β†’ get_post_files_urls
  • plugin_strings β†’ remove_urls
  • telegrambot β†’ send_message_photo
Copy messages from a third-party Telegram chat to your own chat, removing any URLs beforehand
  • type
  • amazon_lightning β†’ search_deals
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
Send me PRIME offers discounted more than 5% to my Telegram account
  • 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
  • telegram_users β†’ webhook_all
  • btzfilters β†’ process
  • telegram_users β†’ get_post_files_urls
  • telegrambot β†’ send_message_photo
Copy each new post from specific users in a third-party Telegram chat into a chat you own
  • type
  • telegram_users β†’ webhook_all
  • telegram_users β†’ get_post_files_urls
  • btzfilters β†’ process
  • telegrambot β†’ send_message_photo
Forward only images posted in a certain group or private channel
  • type
  • telegram_users β†’ webhook_all
  • telegram_users β†’ get_post_files_urls
  • btzfilters β†’ process
  • telegrambot β†’ send_message_photo
Copy only messages that do not contain certain words
  • type
  • telegram_users β†’ webhook_all
  • telegram_users β†’ get_post_files_urls
  • deepl β†’ translate
  • telegrambot β†’ send_message_photo
Copy messages translated into another language via DeepL
  • type
  • telegram_users β†’ webhook_all
  • telegram_users β†’ get_post_files_urls
  • plugin_strings β†’ preg_replace
  • telegrambot β†’ send_message_photo
Extracts each new message from a public/private Telegram chat, searches and replaces certain words, and then publishes it in a separate Telegram chat
  • type
  • gspreadsheet β†’ read_row
  • amazon_associates β†’ get_product_detail
  • producttemplates β†’ template_to_image
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
  • fpages β†’ public_image
Publish on Telegram and Facebook the products indicated in Google Sheets
  • type
  • btzfilters β†’ process
  • amazon_lightning β†’ search_deals
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
Automatically post Amazon deals on Telegram only between 8:00 AM and 11:00 PM
  • type
  • calendly β†’ webhook_subscription_created_events
  • calendly β†’ get_event
  • telegrambot β†’ send_message_photo
Notify each new event via Telegram
  • type
  • calendly β†’ webhook_subscription_canceled_events
  • calendly β†’ get_event
  • telegrambot β†’ send_message_photo
Notify each canceled event via Telegram
  • type
  • fpages β†’ mystatuses
  • telegrambot β†’ send_message_photo
Send to Telegram every new Page post
  • type
  • awin β†’ csv_next_row
  • producttemplates β†’ template_to_image
  • tinyurl β†’ shorten
  • telegrambot β†’ send_message_photo
Products from AWIN to Telegram with short link
  • type
  • amazon_lightning β†’ search_category_deals
  • telegrambot β†’ send_message_photo
Extracts deals from a specific category on Amazon and posts them on Telegram
  • 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
  • amazon_associates β†’ search_by_category
  • woocommerce β†’ post_product_external
  • telegrambot β†’ send_message_photo
Extract products from an Amazon category, publish them on WooCommerce, and share them on Telegram
  • type
  • ebay β†’ search_fixed_price_product_by_keyword
  • telegrambot β†’ send_message_photo
Post eBay products on Telegram
  • type
  • ebay β†’ search_fixed_price_product_by_keyword
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
Post eBay products with improved image on Telegram
  • type
  • amazon_coupons β†’ search_coupons
  • telegrambot β†’ send_message_photo
Coupons from Amazon Spain to Telegram
  • type
  • amazon_coupons β†’ search_coupons
  • amazon_associates β†’ get_product_detail
  • telegrambot β†’ send_message_photo
Coupons from Amazon Spain to Telegram
  • type
  • amazon_associates β†’ search_by_keyword
  • chatgpt β†’ send_prompt
  • telegrambot β†’ send_message_photo
Enhance product titles with GPT and post to Telegram
  • type
  • amazon_lightning β†’ search_deals
  • chatgpt β†’ send_prompt
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
Post deals on Telegram with custom titles and images
  • type
  • aliexpress_associates β†’ search_by_category
  • chatgpt β†’ send_prompt
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
Post AliExpress products on Telegram with custom titles and images
  • type
  • amazon_coupons β†’ search_coupons
  • amazon_associates β†’ get_product_detail
  • btzfilters β†’ process
  • chatgpt β†’ send_prompt
  • producttemplates β†’ template_to_image
  • telegrambot β†’ send_message_photo
Coupons in Telegram with personalized title and image
  • type
  • amazon_lightning β†’ search_deals
  • btzurlshortener β†’ shorten
  • telegrambot β†’ send_message_photo
Post Amazon deals with free short links
  • type
  • awin β†’ csv_next_row
  • telegrambot β†’ send_message_photo
Publish products from a category of 'El Corte InglΓ©s' on a Telegram channel
  • type
  • awin β†’ csv_next_row
  • telegrambot β†’ send_message_photo
Publish products from a category of 'Miravia' on a Telegram channel
  • type
  • telegrambot β†’ webhook_command
  • awin β†’ merchant_url_to_awin_id
  • awin β†’ merchant_url_to_awin_id
  • awin β†’ merchant_url_to_awin_id
  • awin β†’ merchant_url_to_awin_id
  • awin β†’ merchant_url_to_awin_id
  • awin β†’ merchant_url_to_awin_id
  • telegrambot β†’ reply
  • awin β†’ get_product_detail
  • telegrambot β†’ send_message_photo
Telegram bot to convert specific Miravia product URLs into posts for a group or channel
  • type
  • telegram_users β†’ bps_next_from_multichats
  • telegrambot β†’ send_message_photo
Search for messages in various Telegram chats containing specific words and forward them to another chat
  • type
  • mysql β†’ query
  • telegrambot β†’ send_message_photo
Run a daily MySQL query to obtain the number and total of sales made during the previous day and send them to a Telegram chat
  • type
  • telegrambot β†’ webhook_command
  • temu β†’ get_product_detail
  • telegrambot β†’ send_message_photo
  • telegrambot β†’ reply
Telegram bot to send URLs of products from Temu.com and post them with their image and price in a specific Telegram chat
  • type
  • awin β†’ search_products
  • telegrambot β†’ send_message_photo
Share Miravia deals on Telegram with discounts surpassing a specified percentage
  • type
  • telegrambot β†’ webhook_command
  • aliexpress_associates β†’ get_product_detail
  • telegrambot β†’ send_message_photo
  • telegrambot β†’ reply
Send a command and AliExpress URL to a Telegram bot. It will then retrieve and share the product in a group or channel
  • type
  • amazon_associates β†’ search_by_keyword
  • chatgpt β†’ completion_as_data
  • telegrambot β†’ send_message_photo
Extract products from Amazon for a specific keyword, generate a new title with GPT, and post the product on Telegram

Frequently Asked Questions


How do I create a button in Telegram that when pressed opens a chat with a specific user or bot?

When creating the button in Botize, indicate the URL "https://t.me/username". This will create a button that when pressed will open a chat with the specified user/bot. Simply replace username with the Telegram username of the user or bot you want to talk to. For example, if the username of the user you want to talk to is 'Botize', the URL would be "https://t.me/botize". Clicking on this button will automatically open a conversation with that user on Telegram.

I receive the error: Can't parse entities. Can't find end tag corresponding to start tag strong

This error indicates that in the message that is being attempted to be sent through Telegram, contains a HTML 'strong' opening tag (or start) that does not have its corresponding closing tag (or end).

To fix it, check the message that is attempting to be sent and make sure all opening tags have a corresponding closing tag.

I receive the error: Can't parse entities. Tag <span> must have class 'tg-spoiler'

This error indicates that the message being sent through Telegram contains an HTML tag <span>, but it does not have the 'tg-spoiler' class.

Telegram only allows the <span> tag within a message if it is accompanied by the 'tg-spoiler' class. Otherwise, the tag should be removed from the message.

How do I get the ID of a topic?

To find the ID of a topic in Telegram, post a message in that topic and then copy the message link (right-click or long-press on mobile). When you paste it into a text editor, you'll see a URL similar to this: https://t.me/c/XXXXXXX/YY/ZZ. The number that appears in the YY position is the topic ID.

How do I get the URL of a public Telegram channel or group?

From the Telegram app on iOS/Android:

  1. Open your public channel or group and tap the name at the top.
  2. Tap Share link and you'll see a URL like https://t.me/<username>; copy it from there.
Note: If Share link doesn’t appear or you don’t see a @username, the chat is private.

Common Errors


Bad Request: need administrator rights in the channel chat

To enable the bot to post messages in the specified chat, Telegram requires you to add the bot to the chat and grant it administrator permissions.

If you have already added the bot to the chat, please make sure that in the bot's permissions settings, under 'What can this bot do?', the 'Post messages' option is enabled.

Bad Request: wrong file identifier/HTTP URL specified

This error occurs when attempting to send a file that does not meet certain requirements set by Telegram.

Here's why this error can occur:

  • File Type: Telegram only supports sending videos, images and GIF, PDF, and ZIP files.
  • Voice Messages: Telegram only supports voice messages of type 'audio/ogg' and must not exceed 1MB in size.
We suggest verifying that the file your automated task is attempting to send complies with the specific requirements and size limitations.

Bad Request: message caption is too long

In Telegram, the text that accompanies images has a maximum limit of 1,024 characters. You should therefore review any caption you send and shorten it so it does not exceed this limit, since Telegram will reject anything longer.

As an alternativeβ€”and to avoid the restriction Telegram imposes on messages that include imagesβ€”you can consider sending the image and the text in two separate messages.

Bad Request: too many messages to send as an album

Telegram sets a maximum of 10 photos or videos per post.

Edit your automation task and reduce the number of URLs to include in a single post.

Forbidden: bot can't initiate conversation with a user

This error occurs because Telegram bots cannot initiate a conversation with a user proactively. They can only respond to users who have sent them at least one message at some point. If the user has never interacted with the bot, the bot will not have permission to send them messages.

Error 'TOPIC_CLOSED'

This error message means that you're trying to send a message to a topic or thread in Telegram that has already been closed.

Telegram does not allow sending messages to closed topics, even if the bot or user has permissions in the group or channel.

To resolve this issue, edit your automation task and make sure you're using a topic that is currently open. If the topic was closed manually or automatically by Telegram, you'll need to select another valid topic in your task settings.

Write us

By email or by Telegram.
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Let's talk

Choose day and time.
We share the screen and answer all your questions.