Receive instant notifications on Telegram whenever someone submits a response to your Google Form. Follow the guide below to get started:
- Create the Drive folder
- Create the Google Form
- Create a Telegram Bot
- Get Your Telegram Chat_ID
- Set up the Script
- Set up the Trigger
More:
- On your computer, go to drive.google.com
- On the left, click New Folder.
- Enter a name for the folder.
- Click Create.
- Double click on the folder
To create a form directly from Google Drive:
- Once you Create the Drive folder.
- Go inside the folder with double-clicking on it.
- In the top left, click New Google Forms.
- Double click to Enter
- Edit Your own form
- Click Send to make it accessible
-
Press start
-
type /newbot and Send/Enter
-
Follow the instruction, till this message appear:
-
Copy the HTTP API and Save it. We'll use it later
-
Start your bot like you're start the BotFather
-
Once you started, it'll do nothing.
-
Go to UserInfoBot in Telegram
-
Once you Start it, It'll return your profile information.
-
copy your ID, and save it for later.
-
Enter the New Form u created earlier
-
In the top right, Click at the three dots ⋮
-
Click at the Script Editor
-
You'll be redirected to Apps Script
It is based on JavaScript and runs in the cloud rather than on your device
-
Paste the code from Script.gs
-
Don't Forget to Change the Chat_ID and Bot Token
let token = "Your token goes here" const chat_id = ["Your ID goes here"]
-
Set the Trigger, to make it run everytime someone submit
-
On the bottom left, Press Add Trigger Button
-
Set the trigger like this:
and Save
Once you save it, commonly you'll get a Warning Message... See More
-
Deploy Your code by cicking deploy button, and New Deployment
-
If your Warning might look like these
-
Click the underlined text, Advanced
-
It'll expand, click the option Go to project "project name"(unsafe)
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!