You are reading the article How To Send Email Notifications In Google Forms updated in September 2023 on the website Dacquyenphaidep.com. We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested October 2023 How To Send Email Notifications In Google Forms
Want to create a signup for your blog? Or do you need to organize an event for your office and need everyone’s information? With Google Forms you can create an online form in minutes and send it via email or even embed it on your blog post. While creating a form is super easy, sending email notifications to yourself and to the person signing up is a little trickier.
In this post, we’ll breakdown the steps so you can automate the process.
Step 1: Create FormFirst, create your Google Form. For this post, we’ll use a very simple form.
Step 2: Set notificationNow you can choose when to send the notification and how often. If the form requires urgent response, I’d recommend choosing “Email – right away.”
Step 3: Add code for confirmation emailYou may also want to send a confirmation email to the user once he or she submits the form. It can be a short email saying that you’ve received the information. It also assures the user that you’re working on the details submitted.
Next, choose Blank Project since you will be using your own code for this specific form.
Although you have chosen a blank page, there might be preloaded codes. Make sure to delete all of them and start with a clean slate. Now copy and paste this code:
function
myFunction(
e)
{
var
userName=
e.values
[
1
]
;
var
userEmail=
e.values
[
2
]
;
var
date=
e.values
[
3
]
;
var
subject=
"Form Submitted"
;
var
message=
"Thank you,"
+
userName+
"for choosing "
+
date;
MailApp.sendEmail
(
userEmail,
subject,
message)
;
}
Note: The above code assumes that your first field is “User name”, second field is “user email” and third field is the “Date”. You have to change the value accordingly if your input field order is different.
Do you want to know how these codes were generated? Watch this video from Jeff Everhart. He gives a detailed explanation of how the values are assigned.
Step 4: Set up trigger to send confirmation emails automaticallyChoose the options as indicated in the photo. Upon hitting save, you’ll need to authorize to run this code.
Step 5: Test codeOpen your Gmail account. In your inbox you should have the confirmation email with the subject “Form Submitted” or whatever subject you’ve written. This was the email that I received when I tested the form and the confirmation code.
As you can see, it looks really bare. However, you don’t need fancy codes right away. After testing the code and having it be fully functional, you can then add more HTML codes to the email’s body.
Google Forms is a convenient and extremely useful tool to almost everyone, most especially to huge websites and businesses who are constantly running surveys.
Irene Enriquez
Irene Enriquez is a freelance writer and a tech blogger. She believes that technology, like smartphones and mobile apps (and even video games!), can help people live a more productive and happier life. Visit her personal tech blog to get unique insight and practical tips about apps, video games and social media.
Subscribe to our newsletter!
Our latest tutorials delivered straight to your inbox
Sign up for all newsletters.
By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.
You're reading How To Send Email Notifications In Google Forms
Update the detailed information about How To Send Email Notifications In Google Forms on the Dacquyenphaidep.com website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!