How to Get Email Notification when User Submits Data Using Google Form ?

We can use Google Document for creating google documents like Word,Excel and Presentation. Google Document also provides us to create Form that can be embedded in the Webpage.Whenever user submits form then the entered data is stored in the excel file.

How to Get Email Notification when User Submits Data Using Google Form?


Steps to Get Email Notification when user Submits Data Using Form:

  1. We must have Google Account to access Google docs.
  2. Access your Google account and Go to Google Documents.
  3. Create Sample Form so that we can embed that form in our webpage.

  1. Create form using Google docs. Add Controls such as Textbox and Textarea in the form.

  1. Now Copy the code given and embed this code in your webpage or survey page. Now Survey page will have form and a submit button. User can fill information and after finishing he/she can submit data.

  1. As soon as Used Click on the Submit Button, Entered data will gets collected in the excel file inside Google Docs.
  2. Our aim is that, instead of checking excel sheet again and again we should get direct email notification in our mail so that admin can be informed about entered data.
  3. Open Excel File in Google Docs ==> Click on Tools ==> Notification Rules .
  4. Check this option (A user submits a form)
     
  5. User will get notifications as soon as user submits a form.
  6. Open Script Editor –
  7. Inside Script Editor Copy This Script so that you will get user entered data in email notification. Copy paste the following script and save it.
  1. Next go to Triggers –> Current Script’s Triggers and associates the Send Mail function with “On Form Submit” event.
  2. Save the Google script, authorize Google Docs to access your Gmail account (for sending email) and you’re done.