keepcalculator

06 Numbers and Powers

Email Notifications for Google Forms: Setup Guide

Card No. 06·72914 · Updated · Standard formula, shown below

Yes, Google Forms can send email notifications when someone submits a response, but the built-in option is limited to form owners and editors. To get notifications for every submission, you can use Google Forms’ native email notification feature (which notifies you once per day, not per submission) or set up a simple Google Apps Script that sends an email immediately after each response. This guide explains both methods, how to choose between them, and how to fix common issues.

How Google Forms Handles Email Notifications by Default

Google Forms has a built-in email notification feature that notifies form owners and editors when responses are submitted. However, this feature sends a daily digest email summarizing all responses received that day, rather than an individual email for each submission. This is fine if you only need a daily summary, but it’s not ideal if you need to respond to submissions in real time.

To enable the built-in notification:

  1. Open your form in Google Forms.
  2. Click the Responses tab at the top.
  3. Click the three-dot menu (⋮) and select Get email notifications for new responses.

Once enabled, you’ll receive a daily email listing all new responses. Note that this only notifies the owner and editors of the form—not respondents or other collaborators.

Setting Up Instant Email Notifications with Google Apps Script

If you need an email for every single response, the standard approach is to use Google Apps Script, a JavaScript-based platform that integrates with Google Workspace. Here’s how to set it up:

  1. Open your form and click the Script editor (puzzle piece icon) in the top-right.
  2. Delete any default code and paste the following script:
function sendEmail(e) {
  var form = FormApp.getActiveForm();
  var responses = e.response;
  var email = "your-email@example.com"; // Change this
  var subject = "New response: " + form.getTitle();
  var body = "A new response has been submitted.\n\n";
  var items = form.getItems();
  for (var i = 0; i < items.length; i++) {
    var item = items[i];
    var response = responses.getResponseForItem(item);
    if (response) {
      body += item.getTitle() + ": " + response.getResponse() + "\n";
    }
  }
  MailApp.sendEmail(email, subject, body);
}
  1. Click Save, then set up a trigger: click the clock icon, choose On form submit as the event type, and save.
  2. Test by submitting a test response—you should receive an email within seconds.

This script sends an email to the address you specify (you can change it to any email, including a group address). It includes the form title and all answers in plain text.

Using Google Sheets for Notifications (Alternative)

Another common approach is to connect your form to a Google Sheet and use a script in the sheet to send notifications. This is useful if you already have a spreadsheet and want to include additional logic, like sending different emails based on answers.

  1. In the form editor, click the Responses tab and select the green Sheets icon to create a spreadsheet.
  2. Open the spreadsheet, go to Extensions > Apps Script.
  3. Paste a similar script but use the onFormSubmit trigger and read the row data from the event object e.values.

This method is slightly more flexible because you can access the entire row of data, including timestamps, and you can format the email with HTML if needed.

How to Choose the Right Method

Consider these factors when deciding between the built-in digest and a script:

  • Frequency: Daily digest vs. instant per-response emails.
  • Recipients: Built-in only notifies form owners/editors; scripts can send to any email address.
  • Content: Scripts can include custom text, attachments, or even send different emails based on answers.
  • Technical comfort: Scripts require a small amount of coding; the built-in option is zero-code.

For most users who need real-time notifications, the Apps Script method is the standard solution. It’s free, reliable, and doesn’t require any paid add-ons.

Common Problems and Fixes

Even with a correct script, you might run into issues. Here are the most common ones:

  • No email received: Check that the script is deployed with the correct trigger. Go to the script editor, click the clock icon, and confirm the trigger is set to On form submit. Also check your spam folder.
  • Script errors: Open the script editor, go to Executions (or View > Logs) to see error messages. Common errors include incorrect email address or missing permissions.
  • Permissions: When you run the script for the first time, you’ll be asked to authorize it. Make sure you click Review permissions and accept the warnings.
  • Trigger not firing: If you changed the form after setting up the trigger, the trigger should still work, but if you copied the form, you may need to re-create the trigger.
  • Duplicate emails: Ensure you haven’t set up both the built-in notification and a script—you’ll get both a daily digest and individual emails. Choose one.

Limitations and Considerations

Google Apps Script has quotas for email sending: free Google accounts can send up to 100 emails per day, while Google Workspace accounts have higher limits (often 1,500 per day). If you expect more than 100 submissions per day, you’ll need to look at paid add-ons or other services.

Also, the script sends emails from your Google account, so the recipient will see your email address as the sender. If you want to send from a different address, you can use MailApp.sendEmail({to: ..., subject: ..., body: ..., from: ...}) but only if you’ve verified that address in your Google account settings.

Finally, note that the script runs under the account that created it. If that account is deactivated, the notifications stop. For critical forms, consider using a dedicated Google account or a paid service like Form Notifications (a Google Workspace add-on) that handles this for you.

Frequently Asked Questions

Can I get email notifications for each response without coding?

Yes, but not with the free built-in feature. You can use Google Workspace add-ons like Form Notifications or Email Notifications for Forms from the Google Workspace Marketplace. These often offer a free tier with limited emails, then a subscription. Alternatively, you can use a service like Zapier with a free plan (up to 100 tasks per month) to send notifications.

Why am I not receiving email notifications from my Google Form?

First, check that you’ve enabled the built-in notification in the Responses tab. If you’re using a script, check the trigger and execution logs. Also, ensure the email address you’re sending to is correct and that the email isn’t in spam. For the built-in digest, note that it sends once per day, so you won’t get an email immediately after each response.

Can I send notifications to multiple email addresses?

Yes, with a script you can use MailApp.sendEmail to a comma-separated list of addresses, or use MailApp.sendEmail({to: "a@example.com,b@example.com", ...}). For the built-in digest, only the form owner and editors are notified—you can add editors in the form’s settings.

How do I stop email notifications for a Google Form?

For the built-in digest, go to the Responses tab, click the three-dot menu, and uncheck Get email notifications for new responses. For a script, go to the script editor, click the clock icon, and delete the trigger. If you used an add-on, disable it in the Add-ons menu.

Does the email notification include the respondent’s answers?

Yes, if you use a script, you can include all answers in the email body. The built-in digest includes a link to the responses spreadsheet, but not the actual answers in the email. If you need the answers in the email, use a script or an add-on that supports it.

Can I send a custom confirmation email to the respondent?

Yes, you can use a script to send a confirmation email to the respondent if you include a question for their email address. In the script, retrieve the email from the response and send a separate email to that address. This is a common use case for order confirmations or event registrations.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →