Send Google Forms by Email - Premium

Preview:

DESCRIPTION

The Google Form by Email is a Google script that sends the form data in an email as soon as a user submits the form. The data can be sent as HTML, Text or as PDF attachments. Available at http://labnol.org/?p=20884

Citation preview

Getting StartedThe Google Forms Email Notification (Premium) sends you an email message with all the dataentered by the user in the Google Form. You can choose to receive the data as rich HTML, plain textor as PDF attachments. The sheet also allows you to send a copy of the submitted form to thesubmitter for confirmation.

The functionality is mostly written using Google Apps Script.

Step 1 - Create Response SheetOpen the spreadsheet link that you have received in the email and click the "Yes, make a copy" linkto create a copy of the sheet in your Google Drive.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 1

Step 2 - Create Google FormInside the new sheet, click Tools -> Create a form to create a Google Form. If you want to use anexisting form, skip to step #6.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 2

Step 3 - Open Google DriveGo to drive.google.com and create a new Gogle Form. If you have created a form already, pleaseskip to step #6.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 3

Step 4 - Build the FormYou can have any number of fields in your Google Form. Just remember to include a field calledEmail Address (you can give it any name) where the form submitter will enter his or her emailaddress. Make it a required field.

This is required if you wish to send a copy of the filled form to the form submitter.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 4

Step 5 - Preview the Google FormOur Google Form is now ready. Click the "View Form" button in the Form editor to preview the form.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 5

Step 6 - Change Form DestinationSwitch to the Google Form editor and choose Change Response Destination under Responses.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 6

Step 7 - Use Existing SpreadsheetSelect "New Sheet in an Existing Spreadsheet" as the Response Destination.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 7

Step 8 - Pick the Response SheetSelect the sheet that you created in Step #2 as new response destination.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 8

Step 9 - AuthorizeOpen the Responses Google spreadsheet and choose Authorize under the Google Forms menu.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 9

Step 9a - AuthorizeClick OK at the Authorization Required dialog.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 10

Step 9b - Request for PermissionClick Accept at the Permission dialog. You are running the form in your own Google Drive and thenone of your data will be visible to anyone other than you.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 11

Step 10 - ConfigureIn the same Google Sheet, choose Step 2: Configure under the Google Forms menu.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 12

Step 11 - Enter DataThis is the important part.

1. If you wish to use the submitter's email address in the replyTo field, select the column namethat contains that email address.

2. Select your email address that will appear in the "FROM" field of the email notifications. Youcan select any account that is linked to your Gmail account.

3. Enter your name that will appear in the FROM field of outgoing notifications.4. Enter one or more email addresses where the notifications should go. Separate addresses

with a comma.5. What will be the subject of the email message.6. Enter text that will appear in the message body in addition to the form values.7. Select the email format - choose between HTML (recommended), Text or PDF.8. Would you like to send a copy of the mail to the form submitter.

Save the change. It might take upto 5 seconds for the changes to get saved.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 13

Step 12 - Test the FormNow that are form is ready, it is time to test the changes. In the sheet, choose Form -> Go to LiveForm.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 14

Step 13 - Dummy DataEnter some dummy data in the form and hit Submit.

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 15

Step 14 - Email NotificationOpen your mailbox and you should see a notificaition with the form fields and values.

SupportTwitter: @labnol

Email: amit@labnol.org

Blog: labnol.org

Email Notifications for Google Forms

Digital Inspiration www.labnol.org Page 16

Recommended