Skip to content

Every 10 minutes

Log new HubSpot form submissions to Google Sheets

Each new submission to a HubSpot form becomes a row in a Google Sheets tab, one column per form field, with the page it came from.

Runs
Every 10 minutes
Apps
Google Sheets, HubSpot
AI
Not needed
Access
HubSpot private app scope forms; Google Sheets read+write

Send this to your assistant

Create a ClickRuntime automation: every 10 minutes, add new submissions from my Request a demo HubSpot form to the Demo requests tab of my sheet, matching each field to the column with the same name and adding the page URL.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

HubSpot stores form submissions on each contact's timeline, which is good for the CRM but awkward when an events team, a partner or a finance person just wants a list of who filled in a form.

This automation copies each new submission into a Google Sheets tab, field by field, with the time and the page the form was on.

Marketing teams, event organisers and agencies use the sheet to share sign-ups with people outside HubSpot or to run quick counts by campaign page.

What you get out of it

  • Share sign-ups without HubSpot seats

    Anyone with the sheet can see who registered.

  • Columns you control

    Fields map by name to your header row, so you can reorder or skip fields freely.

  • Source page recorded

    The page URL shows which landing page or campaign brought each submission.

  • Every submission once

    The last submission time is stored so rows are never repeated.

  • Raw data before CRM changes

    The sheet keeps what the person typed, even if contact properties are later edited.

How it works

What happens, step by step

  1. Every 10 minutes ClickRuntime asks HubSpot for the latest submissions to the form you choose.

  2. Submissions newer than the last one logged are picked.

  3. Each field value is placed under the column with the same name in your sheet's header row.

  4. The submission time and page URL are added, and the newest time is remembered.

Before it runs live

  • Connect your Google Sheets account and pick the spreadsheets it may use
  • Connect HubSpot

What you get

RunsEvery 10 minutes
Log new HubSpot form submissions to Google Sheetstoday, 9:00Succeeded
Google Sheets · Inbound › Demo requests2026-11-10 09:14 | Marco | Ricci | marco@fieldpoint.it | Fieldpoint | 51-200 | "Looking to replace our spreadsheet workflow" | northwind.example/pricing

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Google Sheets and HubSpot steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
log_new_hubspot_form_submissions_to_google_sheets.pyexample
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from datetime import datetime, timezone
from clickruntime import on_trigger, credentials, http, state, report_fetched

FORM_GUID = "your-form-guid"
SHEET_ID = "your-spreadsheet-id"
TAB = "Demo requests"

@on_trigger
def run(event):
    last = state.get("last") or 0
    data = http.get(f"https://api.hubapi.com/form-integrations/v1/submissions/forms/{FORM_GUID}", params={"limit": 50},
                    headers={"Authorization": f"Bearer {credentials.secret('HUBSPOT_API_KEY')}"}).json()
    new = sorted([s for s in data.get("results", []) if s["submittedAt"] > last], key=lambda s: s["submittedAt"])
    report_fetched(len(new))
    if not new:
        return {"new": 0}
    tab = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).spreadsheets().values()
    header = tab.get(spreadsheetId=SHEET_ID, range=f"'{TAB}'!1:1").execute().get("values", [[]])[0]
    rows = []
    for s in new:
        fields = {v["name"]: v["value"] for v in s["values"]}
        fields["submitted_at"] = datetime.fromtimestamp(s["submittedAt"] / 1000, timezone.utc).strftime("%Y-%m-%d %H:%M")
        fields["page_url"] = s.get("pageUrl", "")
        rows.append([fields.get(col, "") for col in header])
    tab.append(spreadsheetId=SHEET_ID, range=f"'{TAB}'!A:A", valueInputOption="RAW", body={"values": rows}).execute()
    state.set("last", new[-1]["submittedAt"])
    return {"new": len(new)}

FAQ

Common questions

How do columns match form fields?
The first row of your tab is the header. Name each column after the HubSpot field's internal name, such as email or company, plus submitted_at and page_url. Columns with other names stay empty, so you can add your own notes columns.
Which HubSpot access is needed?
A private app token with the forms scope, stored as a secret in the ClickRuntime dashboard.
What if more than 50 forms arrive in 10 minutes?
The example reads the latest 50. For high-volume forms, ask your assistant to follow HubSpot's paging cursor until it reaches the last logged submission.
What permissions does it need?
HubSpot private app scope forms; Google Sheets read+write. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it checks. Checks that find nothing new and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Log new HubSpot form submissions to Google Sheets” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.