Contents
Google Forms integration

Google Forms push notifications for new responses

PushPiper pushes every Google Forms response to your phone, free for 10,000 messages a month on 10 devices. Google Forms itself only sends an email alert. A small Apps Script makes the handoff, trims answers to the 1,024-character message limit and runs well inside Google's quota of 20,000 URL Fetch calls a day, with no credit card needed.

Built-in email alerts and their limits

Google Forms includes a native notification switch, but it only delivers plain emails. You turn it on inside the form editor by clicking Responses, clicking More (the three vertical dots), and selecting Get email notifications for new responses.

It sounds convenient at first. But it has severe limits.

The native notification only emails the account that created the form. You cannot send those alerts directly to a group or your team. Worse, the email alert does not include the answers submitted by the respondent. It simply tells you that a new response arrived, which forces you to open a browser, navigate to your form, and load the responses tab just to read basic text. If you manage order requests, client inquiries, or internal sign-ups, waiting on inbox refreshes slows your response time down to a crawl.

Comparing your notification options

Here is how the native notification setting compares against an Apps Script trigger and a linked spreadsheet.

OptionWho is notifiedPush to phone
Built-in email notificationsThe form owner by emailNo
Apps Script with PushPiperYou, a group or your teamYes, with the answers
Linked Google Sheet with an onFormSubmit triggerAnyone you send toYes, see the Google Sheets guide

If you already pipe submissions into a spreadsheet, you can also trigger notifications from the spreadsheet itself using an onFormSubmit sheet event (see the Google Sheets guide). But when you want direct alerts without creating extra files in Google Drive, writing an Apps Script attached directly to your form is the cleanest path.

Setting up the Apps Script push notification

You can connect your form to PushPiper in about five minutes using Google Apps Script. Before you begin, open PushPiper to grab your API credentials. You will need your 30-character app token and your 30-character user key from your account dashboard. If you need details on key parameters, check the API reference.

Follow these steps to install the trigger:

  1. Open your form in Google Forms, look at the URL in your browser's address bar, and copy the long string of letters and numbers between /d/ and /edit. That string is your form ID.
  2. Create a project at script.google.com.
  3. Replace any code in the editor window with the script below.
  4. Replace APP_TOKEN with your PushPiper application token, USER_KEY with your user or group key, and YOUR_FORM_ID with the form ID you copied in the first step.
  5. In the toolbar dropdown, select the createTrigger function and click Run.
  6. Approve the permissions when prompted so the script can read your form and make external HTTP requests.
Code.gs
const APP_TOKEN = 'APP_TOKEN';
const USER_KEY = 'USER_KEY';
const FORM_ID = 'YOUR_FORM_ID';

function notifyPushPiper(e) {
  const lines = e.response.getItemResponses().map((item) => {
    const answer = item.getResponse();
    return `${item.getItem().getTitle()}: ${Array.isArray(answer) ? answer.join(', ') : answer}`;
  });

  UrlFetchApp.fetch('https://api.pushpiper.com/1/messages.json', {
    method: 'post',
    payload: {
      token: APP_TOKEN,
      user: USER_KEY,
      title: `New response: ${e.source.getTitle()}`.slice(0, 250),
      message: lines.join('\n').slice(0, 1024) || 'Empty response',
    },
  });
}

function createTrigger() {
  ScriptApp.newTrigger('notifyPushPiper').forForm(FormApp.openById(FORM_ID)).onFormSubmit().create();
}

Once you run createTrigger, Google attaches an installable trigger to your form. You only need to run this setup function once.

The script formats every submitted field into a readable title-and-value pair. When someone submits a response, the script extracts every question and answer, trims the combined string so it fits inside the character limit, and makes an authorized network call to deliver it immediately.

Why simple triggers do not work

If you have used Apps Script before, you might wonder why we cannot just write a simple onFormSubmit(e) function and skip the manual trigger creation. Simple triggers fail here.

Google classifies triggers into two types: simple triggers and installable triggers. Simple triggers run automatically based on reserved function names like onEdit or onOpen. But because they run without asking the user to approve permissions, Google isolates them in a strict sandbox. A simple trigger cannot call any service that requires authorization.

The UrlFetchApp service makes HTTP requests outside Google's servers, which requires explicit user permission. If you try to call UrlFetchApp.fetch from a simple trigger, Apps Script aborts execution and logs a permissions error.

An installable trigger bridges this gap. When you run createTrigger, you explicitly authorize the script to make external network calls and read form data. The trigger then runs in the background as your Google account whenever a user hits submit, sending the payload to PushPiper without requiring you to keep any tabs open.

The no-code email forwarding route

If your workplace or school policy restricts creating custom Apps Script projects, you can still get push alerts on your phone without writing a single line of code.

To use this method, enable the built-in email notification inside Google Forms under Responses, then More, then Get email notifications for new responses. Next, open PushPiper, go to Settings, and select Email to generate a private email gateway address. PushPiper generates a random 20-character address ending in @pushpiper.app.

Once you have your PushPiper address, hop into Gmail to configure a forwarding filter:

  1. In Gmail, click the gear icon, select See all settings, and click Forwarding and POP/IMAP.
  2. Click Add a forwarding address, enter your private @pushpiper.app address, and confirm it.
  3. Open the search bar options in Gmail, enter the sender address Google uses for form alerts, and click Create filter.
  4. Check Forward it to and choose your PushPiper address from the dropdown.

For full setup details on forwarding rules and filters, read our Gmail push notifications guide.

Keep in mind that the forwarding route only pushes the standard alert email from Google. It will notify you that a form response came in, but it will not display the submitted answers in the push banner. For full submission details on your lock screen, the Apps Script route is much better.

Quotas and limits to keep in mind

Google Forms and PushPiper handle high submission volumes easily, but you should keep the service boundaries in mind when planning your forms.

  • PushPiper Free gives you 10,000 messages every month across 10 devices, which resets on the 1st of each month at 00:00 UTC. If you handle higher volumes, check our pricing page for Pro and Team plans.
  • Regular @gmail.com accounts get 20,000 UrlFetchApp calls per day in Google Apps Script, while Google Workspace accounts get 100,000 calls per day.
  • Apps Script limits total trigger execution time to 90 minutes per day, with each single run capped at 6 minutes.
  • PushPiper limits messages to 1,024 characters and titles to 250 characters. The script uses .slice(0, 1024) on the combined answer text so long responses never trigger an HTTP 400 error.
  • If respondents leave questions blank, the script supplies a fallback string of Empty response so the required message parameter is never empty.

Sources

Questions and answers

Can I send Google Forms responses to multiple people on my team?

Yes. You can create a delivery group inside your PushPiper account with up to 500 members, then replace the user key in the script with your group key.

Will PushPiper push notifications break through Do Not Disturb on an iPhone?

No. PushPiper does not send iOS critical alerts that break through Do Not Disturb or Focus modes. High-priority messages will bypass PushPiper's internal quiet hours, but they cannot override iOS system focus settings.

Where do I find my Google Forms ID?

Open your form in edit mode and examine the address bar. The form ID is the long string of characters between docs.google.com/forms/d/ and /edit.

What happens if a respondent submits very long answers?

The script cuts the combined answers off at 1,024 characters using JavaScript slice. This ensures the payload stays within PushPiper's character limit and prevents the API from rejecting the message with an error.

Do I need to keep the Google Forms tab open for notifications to work?

No. The installable trigger runs entirely on Google's cloud infrastructure, so responses trigger push notifications even when your computer is asleep and all browser tabs are closed.