Google Forms integration
Ring a bell every time your form is submitted — on your phone, or on a TV. One tap with the add-on, or a small Apps Script if you prefer to wire it yourself. No Zapier. No polling. Real-time.
Recommended: the add-on (one tap)
- Install Mobile Push Notifications for Google Forms from the Google Workspace Marketplace.
- Open your form and pick Set up notifications from the add-on menu.
- Click Turn on notifications. That's the whole setup.
The add-on creates a counter named after your form, wires the form-submit trigger itself, and hands you a link into PingBell — already signed in as you. Every submission rings the bell from that moment on. Drop the counter on a board and put it on a screen.
Manual path: Apps Script
Prefer to see the wiring? You need a PingBell source (create one on the Sources page at my.pingbell.io and copy its webhook URL), a Google Form you own, and 2-3 minutes.
Step 1 — Open the Form's Script editor
- Open your Google Form in edit mode
- Click the three-dot menu (top-right)
- Select Script editor. A new tab opens to Apps Script.
Step 2 — Paste the script
Replace the entire contents of Code.gs with the following, then replace the URL constant with your source's webhook URL:
// PingBell — Google Forms integration (manual Apps Script path)
// Paste this into: Your Form > kebab menu > Script editor
// Replace PINGBELL_WEBHOOK_URL with your source's webhook URL
// (copy it from the Sources page at my.pingbell.io).
const PINGBELL_WEBHOOK_URL = 'https://hooks.pingbell.io/log?id=YOUR_SOURCE_ID';
function onFormSubmit(e) {
const itemResponses = e.response.getItemResponses();
const payload = {};
for (const ir of itemResponses) {
const key = ir.getItem().getTitle().replace(/\s+/g, '_').toLowerCase();
payload[key] = ir.getResponse();
}
UrlFetchApp.fetch(PINGBELL_WEBHOOK_URL, {
method: 'post',
contentType: 'application/json',
payload: JSON.stringify(payload),
muteHttpExceptions: true,
});
} Step 3 — Set up the trigger
- In the Apps Script editor, click the Triggers icon (the clock, left sidebar)
- Click Add Trigger
-
Configure:
- Function:
onFormSubmit - Event source: From form
- Event type: On form submit
- Function:
- Click Save. Google will ask you to authorize the script — approve the permissions to allow outbound HTTP requests.
Step 4 — Test it
- Fill out and submit your form
- The counter ticks and the bell rings within seconds — check the Activity page if you want the receipts
Troubleshooting
The script runs but the counter doesn't move
Verify the webhook URL matches the one on your Sources page. In Apps Script, open Executions and inspect the latest run for a non-200 response code.
Authorization fails
Some Google Workspace for Education domains restrict Apps Script outbound HTTP. Ask your admin to whitelist hooks.pingbell.io, or use the add-on instead.