Skip to content

Dzadaafa/GFormNotifyTelegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GForm Real-time Notify to Telegram

Notify on Google Form Responses in Real-time through Telegram

Receive instant notifications on Telegram whenever someone submits a response to your Google Form. Follow the guide below to get started:

  1. Create the Drive folder
  2. Create the Google Form
  3. Create a Telegram Bot
  4. Get Your Telegram Chat_ID
  5. Set up the Script
  6. Set up the Trigger

More:

  1. Unsafe Warning Message
  2. Find A Bug?

Create the Drive folder

  1. On your computer, go to drive.google.com
  2. On the left, click New and then Folder.
  3. Enter a name for the folder.
  4. Click Create.
  5. Double click on the folder

Create the Google Form

To create a form directly from Google Drive:

  1. Once you Create the Drive folder.
  2. Go inside the folder with double-clicking on it.
  3. In the top left, click New and then Google Forms.
  4. Double click to Enter
  5. Edit Your own form
  6. Click Send to make it accessible

Create a Telegram Bot for Notifications

  1. Go to BotFather in Telegram

  2. Press start

  3. type /newbot and Send/Enter

  4. Follow the instruction, till this message appear:

    Done Message

  5. Copy the HTTP API and Save it. We'll use it later

  6. Start your bot like you're start the BotFather

    Bot Link

  7. Once you started, it'll do nothing.

Get Your Telegram Chat_ID

  1. Go to UserInfoBot in Telegram

  2. Once you Start it, It'll return your profile information.

  3. copy your ID, and save it for later.

    profile info

Set up the Script

  1. Enter the New Form u created earlier

  2. In the top right, Click at the three dots ⋮

  3. Click at the Script Editor

    Script Editor

  4. You'll be redirected to Apps Script

    Apps Script tab It is based on JavaScript and runs in the cloud rather than on your device

  5. Paste the code from Script.gs

    Apps Script With Code

  6. Don't Forget to Change the Chat_ID and Bot Token

    let token = "Your token goes here"
    const chat_id = ["Your ID goes here"]

    Change the value

Set Up The Trigger

  1. Set the Trigger, to make it run everytime someone submit

    Trigger Button

  2. On the bottom left, Press Add Trigger Button

  3. Set the trigger like this:

    Trigger Setting

    and Save

    Once you save it, commonly you'll get a Warning Message... See More

  4. Deploy Your code by cicking deploy button, and New Deployment

    New Deployment

How To Deal with The Warning Message

  1. If your Warning might look like these

    Warning-mess

  2. Click the underlined text, Advanced

  3. It'll expand, click the option Go to project "project name"(unsafe)

    Advanced-expand

Find a Bug?

If you've come across a bug or identified an issue with this project, we welcome you to share your findings! Please use the "Issues" tab above to report the problem. Your feedback is invaluable in helping us improve and maintain the project. Thank You!

About

Used to notify any submitted Answer in your Google Form

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published