Log Gravity Forms entries to Google Sheets
When someone submits your Gravity Forms form, their answers land as a new row in a Google Sheets worksheet, with the submission time, so you can sort, filter and follow up from one place.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/log-gravity-forms-entries-to-google-sheets/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Data & Analytics · Data automation
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/log-gravity-forms-entries-to-google-sheets
Set it up with the CLI
- Add it. Copies the folder into
zaps/log-gravity-forms-entries-to-google-sheets/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/log-gravity-forms-entries-to-google-sheets - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy log-gravity-forms-entries-to-google-sheets - Check it. Its recent runs, with status and errors.
npx zap-pack logs log-gravity-forms-entries-to-google-sheets
zaps/log-gravity-forms-entries-to-google-sheets/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 2 to fill in
- connections/google-sheets.tsThe
google-sheetsaccount it uses - connections/gravity-forms.tsThe
gravity-formsaccount it uses - triggers/form-submission.tsWhat starts it:
gravity-formsgetEntry1 to fill in - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownBased on the zapier.com template Capture form responses from Gravity Forms and create rows in Google Sheets.
What it does
- Trigger: a submission of the chosen Gravity Forms form (
gravity-forms,getEntry). The entry carries the answers keyed by the form's field labels. - Code: picks the mapped answers out of the entry. If none of the mapped fields has a value, the run stops and writes nothing.
- Google Sheets adds one row to the worksheet with each answer in its column and the entry's submission time in the date column.
The Zap only writes to the sheet. It does not change anything in Gravity Forms.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there | Where |
|---|---|---|
REPLACE_SPREADSHEET_ID |
The sheet that logs the entries. Ask which sheet it is, then look up its ID with the user's Google Sheets connection. | SPREADSHEET_ID in config.ts |
REPLACE_WORKSHEET_ID |
The tab that gets the rows, with a header row. Look up its ID with the user's Google Sheets connection. | WORKSHEET_ID in config.ts |
REPLACE_GRAVITY_FORM |
The form to log. Ask which form it is, then look up its ID with the user's Gravity Forms connection. | form_id in triggers/form-submission.ts |
Also review the defaults with them:
feed_nameintriggers/form-submission.ts: the name Gravity Forms uses to route submissions to this Zap. Make it unique for this Zap (for example by adding the form's name) and never change it after the first deploy.ENTRY_COLUMNSandDATE_SUBMITTED_COLUMNinworkflow.ts: the example map covers name, email, phone and message. Gravity Forms entries are keyed by each form's own field labels, which differ per form, so the example keys will not match yours. Ask which form fields they want logged and which column of their sheet each goes in, then rewrite the map with the exact field keys and column keys such asCOL$A(not header names). The sheet's headers must match that map.
Ask which Gravity Forms connection the trigger should use, for the site that hosts the form, and which Google Sheets account owns the log sheet.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/log-gravity-forms-entries-to-google-sheets, replace each REPLACE_… value as this file says, then run npx zap-pack deploy log-gravity-forms-entries-to-google-sheets, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. Either way, name the workflow Log Gravity Forms entries to Google Sheets (zapier.sh/log-gravity-forms-entries-to-google-sheets): zap-pack takes that name from this file's title, so leave the title as it is, and with Zapier MCP give the workflow that name when you create it. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
gravity-forms(the trigger's account, for the site that hosts the form) andgoogle-sheets(the account that owns the log sheet) to the user's connections. No other app needs a connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/form-submission.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them, withREPLACE_GRAVITY_FORMreplaced there too. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect each action's fields with the user's connections and sample the trigger before the first test run. Rewrite
ENTRY_COLUMNSinworkflow.tsto match the field keys in the sample, and fix any other key that doesn't match.
Test it
Run this sample as a draft test run (run_workflow_draft in Zapier MCP) before publishing, pointed at a copy of the log sheet. The sample uses the example field keys, so replace them with the keys from the real trigger sample if you changed ENTRY_COLUMNS:
{
"Name": "[install-test] Jordan Rivera",
"Email": "jordan.rivera@example.com",
"Phone": "555-0100",
"Message": "Sample submission",
"date_created": "2026-12-01 09:30:00"
}
Confirm one new row appears with those values in the mapped columns. Then send an input with the mapped fields empty and check that no row is added and the run reports no-mapped-answers. If run-status tools aren't available, check the result in Google Sheets directly. Ask the user to delete the test row; the agent doesn't delete it.
Then publish and confirm the trigger is active.
Notes
- Every submission adds a new row, so a resubmitted form is logged twice.
- The
date_createdfield is the entry's submission time as Gravity Forms stores it. Confirm that name on the first sample; if the trigger delivers it under another key, change it inworkflow.ts. If it is missing, the date cell is left blank. - Multi-part fields such as a name or address may arrive as separate keys (for example
Name (First)); map each key to its own column. - It suits any form-to-sheet log, for example collecting athlete program sign-ups or feedback so a coach can sort and follow up. To act on new rows, add a Slack message or email after the row is created.
- The sheet holds respondents' personal details. Share it only with the people who need it, and don't commit a real spreadsheet ID to a repository.