Telegram bot that triggers when receiving the message “SORTEO”, records the user’s response in Google Sheets, and replies to the user

Let your Telegram bot capture contest entries, save responses to Google Sheets, and send instant thank-yous—no headaches, no manual work.

  • Instantly when the trigger is activated
  • Instantly when receiving a text message (telegrambot → webhook)
  • Check if meets specific conditions (btzfilters → process)
  • Ask user (telegrambot → ask)
  • Add a new row at the end of a sheet (gspreadsheet → add_row_to_end)
  • Reply to the user (telegrambot → reply)

Managing contest entries in a fast-growing Telegram community can quickly become a nightmare—manually tracking every participant, gathering extra details, and keeping records accurate eats up hours you don’t have. Mistakes, lost entries, or slow responses can hurt credibility, reduce engagement, and lead to missed opportunities, not to mention the risk of overlooking enthusiastic participants who expect quick acknowledgment and a smooth process.

Botize’s automation listens for every time a user messages 'SORTEO' to your Telegram bot. Instantly, it asks a custom follow-up (like 'Who did you recommend the channel to?'), captures the response, and neatly logs all user details and answers into the Google Sheet you specify—including date, time, and user info—before immediately sending a thank-you confirmation back to the participant. The process is seamless, accurate, and happens without manual effort, freeing you to focus on growing your audience and launching more engaging events.

Ready to transform the way you run giveaways? Follow Botize’s step-by-step guide or use this formula right away to automate every step—from filtering by keywords to customizing responses and choosing how and when entries are logged. No more spreadsheets chaos or missed messages: set it up and let your Telegram community thrive, hassle-free!

Start using this automation

It's ready to go. Choose how to set it up in your account.

Open it in the Botize editor

Load it into your account and customize it in the visual panel, with everything in view.

Open it in Claude or ChatGPT

Copy this and paste it into ChatGPT or Claude (with the free Botize connector): it'll load the automation, tailor it with you and save it to your account.

Not connected yet? Claude guide · ChatGPT guide


Run Your Telegram Giveaways on Autopilot

Here’s how it works: When someone sends “SORTEO” to your Telegram bot, your workflow springs into action. It asks them who they recommended, waits for their answer, and securely saves everything—date, time, username, and more—in Google Sheets. Finally, your participant gets a friendly confirmation. The whole process is visible, instant, and hands-off for you.

Manual Botize
Manually check for messages with 'SORTEO' keyword 2 minutes per entry 0 Minutes
Write response details into your spreadsheet 3 minutes per entry 0 Minutes
Send confirmation message to each participant 1 minute per entry 0 Minutes
Total 6 minutes per entry (plus frustration!) 0 Minutes

Looking for a no-nonsense way to run, track, and manage your Telegram giveaways? This is the exact solution you needed (and probably wish you found sooner).


Community Referral Contest

Run a week-long giveaway where users enter by recommending friends to your channel—the automation collects every participant and their referral, so picking your winner is simple and transparent.

Zero Manual Work

No more messy spreadsheets or forgotten entries. Your bot handles everything, so you can focus on making your giveaway awesome.

Instant Gratification

Participants get immediate confirmation, which keeps everyone happy and boosts your channel’s credibility.

Effortless Tracking

With every detail logged, picking winners (and keeping things fair) is easier than ever.


Feedback for Prizes

Host a Telegram campaign where users share valuable feedback in exchange for a prize entry. Every response is tracked instantly without you or your moderators lifting a finger.

🎉

⌾︎ You manage Telegram channels and want to run fair, efficient giveaways.

⌾︎ You’re tired of sifting through chat histories or scrambling for entry data.

🧑‍💻

✕ You never use Telegram bots or don’t host community giveaways.

✕ You prefer sorting through hundreds of private messages manually.


✓ Customize the follow-up question, so you can tailor it to your campaign—ask for emails, suggestions, or anything else.

✓ Decide the columns and data stored in Google Sheets, such as Telegram username, recommendations, time, and more.

✓ Set a personalized thank-you message to match your channel’s voice or surprise participants with bonus info.




This automation listens for incoming messages in your Telegram bot. When a user sends the message “SORTEO”, the automation is triggered. First, it asks the user a follow-up question requesting additional information (e.g., who they recommended to the channel). The user’s response is then captured. Next, the automation stores the collected data in a Google Sheets document, including the date and time, user ID, user name, and the user’s response. Finally, the bot replies to the user with a confirmation message thanking them for their participation. You need to configure your Telegram bot, set the Google Sheets destination, and ensure the sheet structure matches the expected columns.

Related automations

Other ready-to-use automations you may find useful.