โ† Back to list

๐Ÿš€Send Google Form Responses to Telegram Instantly (No Zapier!)

Want to get notified on Telegram the moment someone submits your Google Form? Hereโ€™s a quick, no-BS guide to set it up using Google Appsโ€ฆ

Sourabh Panchal ยท 2025-04-04 07:47 ยท 1 claps ยท 1.7 min read
#google-forms #google-forms-tutorial #telegram #trick-or-treat #telegram-bot
Open on Medium โ†—

๐Ÿš€Send Google Form Responses to Telegram Instantly (No Zapier!)

Want to get notified on Telegram the moment someone submits your Google Form? Hereโ€™s a quick, no-BS guide to set it up using Google Apps Script + Telegram Bot API โ€” all for free, no third-party tools needed.

๐Ÿงฐ What Youโ€™ll Need

  • A Google Form
  • A Telegram bot (via @BotFather)
  • Your Telegram chat ID (user or group)
  • 10 minutes tops

๐Ÿ“ฒ Step 1: Create Your Telegram Bot

  1. Open @BotFather
  2. Send /newbot
  3. Give it a name and username (e.g., FormAlertBot)
  4. Copy the bot token โ€” it looks like: 123456789:ABCdefGhIJKlmnOPqrsTUVwxyz1234567890

๐Ÿ†” Step 2: Get Your Telegram Chat ID

  • For personal use: Start a chat with your bot, then use @userinfobot to get your User ID.
  • For group use:
  1. Add your bot to the group.
  2. Send a message in the group.
  3. Use @getidsbot or Bot API to get the group ID. (Usually starts with -100...)

๐Ÿง™โ€โ™‚๏ธ Step 3: Open Your Google Formโ€™s Spreadsheet

  1. Click โ€œResponsesโ€ โ†’ โ€œView in Sheetsโ€
  2. In the linked Sheet, go to Extensions โ†’ Apps Script

โœ๏ธ Step 4: Add This Script

Replace the token and chat ID in this code with your own:

const telegramBotToken = 'YOUR_BOT_TOKEN_HERE';
const chatId = 'YOUR_CHAT_ID_HERE';

function sendTelegramMessage(e) {
  const responses = e.values;

  const message =
    `๐Ÿ“ *New Google Form Submission:*\n\n` +
    `๐Ÿ•’ *Time:* ${responses[0]}\n` +
    `๐Ÿ‘ค *Name:* ${responses[1]}\n` +
    `๐Ÿ“ง *Email:* ${responses[2]}\n` +
    `๐Ÿ’ฌ *Telegram ID:* @${responses[3]}\n` +
    `๐Ÿ“Œ *Subject:* ${responses[4]}\n` +
    `๐Ÿ“ *Message:* ${responses[5]}`;

  const url = `https://api.telegram.org/bot${telegramBotToken}/sendMessage`;
  const payload = {
    chat_id: chatId,
    text: message,
    parse_mode: 'Markdown'
  };

  const options = {
    method: 'post',
    contentType: 'application/json',
    payload: JSON.stringify(payload)
  };

  UrlFetchApp.fetch(url, options);
}

โฐ Step 5: Set the Trigger

  1. In Apps Script โ†’ Click the clock icon โฐ (Triggers)
  2. โ€œAdd Triggerโ€
  • Function: sendTelegramMessage
  • Event type: On form submit
  • Deployment: Headless

โœ… Youโ€™re Done!

Every time someone submits the form, youโ€™ll get a ping like:

๐Ÿ“ New Google Form Submission:
๐Ÿ•’ Time: 4/4/2025 12:53:46  
๐Ÿ‘ค Name: user-xyz  
๐Ÿ“ง Email: xyz@gmail.com 
๐Ÿ’ฌ Telegram ID: @test-1234
๐Ÿ“Œ Subject: Try  
๐Ÿ“ Message: Test msg

๐Ÿ› ๏ธ Bonus Tips

  • Format using parse_mode: 'HTML' if you prefer HTML-style messages
  • Use UrlShortener or message trimming if data is too long
  • Want to notify multiple chats? Loop through an array of chat IDs

๐Ÿ‘‹ Final Thoughts

This setup is super useful for:

  • Support requests
  • Lead capture
  • Bug reports
  • Feedback collection

No middlemen. No fees. 100% yours.


๋ฉ”ํƒ€๋ฐ์ดํ„ฐ
post_id
5bc78b4cf6b2
slug
send-google-form-responses-to-telegram-instantly-no-zapier-5bc78b4cf6b2
url
https://medium.com/@IamCOD3X/send-google-form-responses-to-telegram-instantly-no-zapier-5bc78b4cf6b2
canonical_url
https://medium.com/@IamCOD3X/send-google-form-responses-to-telegram-instantly-no-zapier-5bc78b4cf6b2
author_url
https://medium.com/@IamCOD3X
status
ok
fetched_at
2026-06-26 03:39:16