Connect Google Forms to Sage
Every time someone submits your Google Form, Appalix Sage receives the response instantly — no paid add-ons, no Zapier, no polling. A one-time Apps Script setup fires a webhook with the full submission, which Sage scores and stores automatically. This guide walks through the complete setup in under 10 minutes.
How it works
Google Forms does not support native outbound webhooks, but it does support Apps Script — a lightweight JavaScript runtime built into every Google Form. You paste a small script that runs automatically on every form submission and posts the response to your Appalix webhook URL.
- The script fires on the On form submit trigger — no polling, instant delivery.
- It sends every field label and value, plus the form title, directly to Appalix.
- Appalix normalises the fields (name, email, phone, company, message) and runs AI analysis automatically.
- The script and webhook URL are unique to your workspace — nothing is shared.
What you'll need
- An Appalix account on the Pro plan or above
- A Google Form — any form in your Google account
- Access to the form's Apps Script editor (available in all free Google accounts)
No API keys, no OAuth setup, and no paid Google Workspace plan is required — a free Google account works perfectly.
Step 1 — Connect Google Forms in Sage Integrations
- In Appalix, navigate to Sage → Integrations in the left sidebar.
- Scroll to the Forms section and find the Google Forms card.
- Click Connect to expand the configuration panel.
- Webhook Secret (optional): You can enter any string here (e.g. a long random password). If provided, the secret is appended to your webhook URL as a query parameter — Appalix will reject any request that doesn't include it. Leave this blank if you prefer a simpler setup.
- Click Save & Connect. The card will show a green Connected badge.
Step 2 — Copy the pre-filled Apps Script
- In the connected Google Forms card, expand the setup panel. You'll see a Set up in 3 steps section.
- Click the Copy script button. The entire Apps Script (including your unique webhook URL) is copied to your clipboard.
The script looks like this:
function sendToAppalix(e) {
var form = FormApp.getActiveForm();
var fields = {};
e.response.getItemResponses().forEach(function(r) {
fields[r.getItem().getTitle()] = String(r.getResponse());
});
UrlFetchApp.fetch('https://appalix.ai/api/webhooks/google-forms/YOUR_ID', {
method: 'post',
contentType: 'application/json',
payload: JSON.stringify({ form_title: form.getTitle(), responses: fields }),
muteHttpExceptions: true
});
}When you copy from the Appalix card, YOUR_ID is replaced with your real workspace ID (and your secret, if you set one).
Step 3 — Open Apps Script in your Google Form
- Open your Google Form in Google Forms (forms.google.com).
- Click the 3-dot menu (⋮) in the top-right corner of the form editor.
- Select Extensions → Apps Script. The Apps Script editor opens in a new tab.
Step 4 — Paste and save the script
- In the Apps Script editor, you'll see a
Code.gsfile with a default function. Select all existing code and delete it. - Paste the script you copied from Appalix (⌘V on Mac, Ctrl+V on Windows).
- Click the Save icon (floppy disk 💾) or press ⌘S / Ctrl+S.
- If prompted to name the project, enter something like Appalix Webhook and click OK.
Step 5 — Add the On form submit trigger
The script won't run automatically until you attach it to a trigger. This is a one-time setup per form.
- In the Apps Script editor, click the Triggers icon — it looks like a clock or alarm bell (⏰) in the left sidebar.
- Click Add Trigger (bottom-right of the page).
- In the trigger dialog, set:
- Choose which function to run:
sendToAppalix - Which deployment should run: Head
- Select event source: From form
- Select event type: On form submit
- Choose which function to run:
- Click Save.
- Google will ask you to authorise the script. Sign in with your Google account and click Allow. This lets the script access form responses and make external HTTP requests.
Step 6 — Test the connection
- Go back to Sage → Integrations in Appalix.
- Expand the connected Google Forms card and click Send test submission.
- You should see "Test sent — check your Forms tab." within a few seconds.
- Navigate to Sage → Forms to see the test entry. It will appear as a submission from "Test Form (Google Forms)".
Alternatively, submit your actual Google Form. The response will appear in Sage → Forms within seconds.
What gets captured
Every field in your Google Form is sent to Appalix exactly as labelled. Appalix then automatically maps common field names to standard contact fields:
| Standard field | Detected from labels like… |
|---|---|
| Name | "Name", "Full Name", "Your Name" |
| "Email", "Email Address", "E-mail" | |
| Phone | "Phone", "Phone Number", "Mobile", "Tel" |
| Company | "Company", "Organisation", "Business Name" |
| Message | "Message", "Comments", "How can we help?" |
All other fields are stored in the raw payload and are visible when you open a submission in Sage → Forms. Nothing is lost — unmapped fields are just not extracted into the standard contact columns.
Connecting multiple Google Forms
You only connect Google Forms once in Sage Integrations — the same webhook URL works for every form. For each additional Google Form, simply repeat steps 3–5: open the form, go to Apps Script, paste the same script, and add the same trigger.
Submissions from different forms are distinguished in Appalix by their form title (the name of the Google Form). If two forms share the same title, their responses will be grouped under one form in Sage.
Frequently asked questions
Do I need a paid Google Workspace account?
No. Apps Script is available in all free Google accounts and is enabled by default for any Google Form you create.
What happens to submissions received before the trigger was set up?
The Apps Script only fires for new submissions after the trigger is saved. Existing responses are not sent retroactively. Use the test submission button to confirm the live connection is working.
Is the webhook secret required?
No — it is optional. Without it, your webhook URL is still unique to your workspace (it contains your workspace ID). Adding a secret provides an extra layer of protection against anyone guessing your URL and posting fake submissions.
Can I edit the script after saving?
Yes. Open Apps Script on the form, edit the code, and save. The trigger will continue to work — you don't need to re-create it after editing the script.
Will it work if a respondent leaves a question blank?
Yes. Blank answers are simply omitted from the fields object sent to Appalix. Required vs. optional questions behave identically from the webhook's perspective.
How do I disconnect?
Click Disconnect on the Google Forms card in Sage Integrations. To stop submissions from being sent, also delete the trigger in Apps Script (Triggers → hover over the trigger → click the three-dot menu → Delete trigger). Existing submissions in Sage are not affected.
📊
Ready to connect your Google Form?
Connect in Sage Integrations, paste the script, and your form submissions will start flowing into Appalix automatically.
Go to Sage Integrations →Related tutorials
Appalix Forms — Complete Guide
Everything about connecting ad platforms, scoring leads, and pushing to your CRM pipeline.
Connect Meta Lead Ads
Receive Facebook and Instagram lead form submissions in real time via webhook.
Connect Google Ads Lead Forms
Receive Google Ads lead form submissions in Appalix via webhook.
Meet Appalix Sage
How the Sage AI panel works and what it can do for your team.