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.
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
Every 10 minutes ClickRuntime asks HubSpot for the latest submissions to the form you choose.
Submissions newer than the last one logged are picked.
Each field value is placed under the column with the same name in your sheet's header row.
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
Build your own
Need it to work differently?
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
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?
Which HubSpot access is needed?
What if more than 50 forms arrive in 10 minutes?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Sync leads from a Google Sheet into HubSpot
New rows in your Leads sheet become HubSpot contacts within 15 minutes, without duplicates, and each row gets its HubSpot ID.
See how it worksEnrich companies from a sheet and update HubSpot
Companies you add to your Enrich sheet are researched, created or updated in HubSpot with industry, size and a summary, and the row is marked done.
See how it worksTrack weekly HubSpot lifecycle numbers in a sheet
Every Monday a new row in your Pipeline metrics sheet shows how many contacts reached each lifecycle stage last week, split by source.
See how it worksKeep exploring
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.