Resources/Connect Google Forms to Sage
Tutorial8 min read · Pro+ plan

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.
Plan requirement: Google Forms integration requires a Pro, Scale, or Enterprise plan. Upgrade in Settings → Upgrade.

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

  1. In Appalix, navigate to Sage → Integrations in the left sidebar.
  2. Scroll to the Forms section and find the Google Forms card.
  3. Click Connect to expand the configuration panel.
  4. 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.
  5. Click Save & Connect. The card will show a green Connected badge.
Tip: After connecting, click the Set up button on the card to reveal the Apps Script setup guide with your pre-filled webhook URL.

Step 2 — Copy the pre-filled Apps Script

  1. In the connected Google Forms card, expand the setup panel. You'll see a Set up in 3 steps section.
  2. 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

  1. Open your Google Form in Google Forms (forms.google.com).
  2. Click the 3-dot menu (⋮) in the top-right corner of the form editor.
  3. Select ExtensionsApps Script. The Apps Script editor opens in a new tab.
Note: The Apps Script editor is linked to this specific form. You'll need to repeat steps 3–5 for each Google Form you want to connect — each form gets its own script and trigger.

Step 4 — Paste and save the script

  1. In the Apps Script editor, you'll see a Code.gs file with a default function. Select all existing code and delete it.
  2. Paste the script you copied from Appalix (⌘V on Mac, Ctrl+V on Windows).
  3. Click the Save icon (floppy disk 💾) or press ⌘S / Ctrl+S.
  4. 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.

  1. In the Apps Script editor, click the Triggers icon — it looks like a clock or alarm bell (⏰) in the left sidebar.
  2. Click Add Trigger (bottom-right of the page).
  3. 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
  4. Click Save.
  5. 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.
Authorization warning: Google may show a warning that the app is unverified. This is normal for scripts you write yourself — click AdvancedGo to [project name] (unsafe) to proceed. The script only reads form responses and calls your own Appalix webhook URL.

Step 6 — Test the connection

  1. Go back to Sage → Integrations in Appalix.
  2. Expand the connected Google Forms card and click Send test submission.
  3. You should see "Test sent — check your Forms tab." within a few seconds.
  4. 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.

Not receiving submissions? Check the Apps Script execution log: in the Apps Script editor, click Executions in the left sidebar. Look for failed runs — common causes are a typo in the webhook URL or the trigger not being saved correctly.

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 fieldDetected from labels like…
Name"Name", "Full Name", "Your Name"
Email"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

📬

Stay ahead of the curve

Get new guides, case studies, and product updates delivered to your inbox every two weeks.

No spam. Unsubscribe any time.