🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 28, 2026

Keep a Google Sheet in Step with Gravity Forms Entries (Edits, Trash and Spam)

GravityExtra
Keep a Google Sheet in Step with Gravity Forms Entries (Edits, Trash and Spam)

Sending Gravity Forms entries to a Google Sheet is easy. Keeping that sheet right after the entries change is harder. An entry gets corrected, a spam lead is deleted, a test submission is trashed, and the spreadsheet your team reads every morning no longer matches WordPress. This guide shows how to keep a Google Sheet in step with your Gravity Forms entries, using the Gravity Forms Google Sheets add-on: new rows for new entries, updated rows for edited entries, and deleted rows for trashed or spam entries.

Why a sheet drifts away from your entries

Most form-to-sheet set-ups only add rows. That works on day one. Then real life starts:

  • A customer calls to correct the phone number, and you fix it on the entry. The sheet still has the old number.
  • A spam submission slips through and you mark it as spam. The sheet still counts it as a lead.
  • Someone sends a test entry and trashes it. The test row stays in the report.
  • You restore an entry you trashed by mistake. It is no longer in the sheet.

After a few weeks, nobody trusts the sheet. The fix is to treat the sheet as a mirror of the entries, not as a log of submissions.

How the add-on keeps the sheet in step

Each feed of the add-on writes an entry as a new row. When you tick Keep the row in step with the entry on the feed, the add-on remembers which row belongs to which entry and follows the entry from then on:

  • Edit the entry and the row is rewritten with the new values.
  • Trash the entry or mark it as spam and the row is deleted. The rows below move up, and the add-on moves its own row numbers with them, so the next edit still lands on the right row.
  • Restore the entry and its row is added again.

Every action leaves a note on the entry, so you can see in WordPress which row was written, updated or deleted.

The Google Sheets feed of a Gravity Form: account, spreadsheet and sheet chosen, two sheet columns mapped to form fields, and the option to keep the row in step with the entry

Step 1: connect your Google account

The add-on uses your own Google Cloud app, so entries go straight from your site to Google with no service in the middle. In Google Cloud Console, create a project, turn on the Google Sheets API and the Google Drive API, and create an OAuth client of the type “Web application”. The add-on shows the redirect address to paste into that client.

Then go to Forms > Settings > Google Sheets, click Add a Google account, paste the client ID and secret, and click Save and connect with Google. After you allow access, the account shows as Connected. You can add more than one account, for example one for sales and one for support.

The Google accounts list in Forms, Settings, Google Sheets: two connected accounts with Edit, Reconnect, Test connection, Disconnect and Remove

Step 2: give the sheet column titles

Type the column titles in the first row of the sheet: First name, Last name, Email, Plan, and so on. The add-on reads that row and lists the titles on the feed screen. Leave extra columns to the right for your own formulas or comments; the add-on leaves columns it does not write alone.

Step 3: map form fields to columns

Open the form, go to Settings > Google Sheets and add a feed. Choose the account, the spreadsheet and the sheet. Under Columns, choose a sheet column on the left and the form field to write in it on the right. Each value goes under its own column, even when the columns are far apart.

The add-on writes values in a form people can read in a sheet:

  • A name or an address in full, or one part if you map a part.
  • Checked check boxes separated by commas.
  • Dates in the format of the date field.
  • Consent as Yes or No.
  • List fields with one line per row.
  • File uploads as links.
  • The form title and a link that opens the entry in WordPress.

Click Write a test row to check the connection before you go live, then delete that row from the sheet.

Step 4: turn on “Keep the row in step with the entry”

Tick the option under Options and save the feed. From now on, edits, trash, spam and restore are reflected in the sheet. Without the option, the add-on writes the row once and leaves it, which is what you want for a pure submission log.

Step 5: send only the entries you need

Use the feed condition to write a row only when the entry matches your rules, for example only Premium plans, only one region, or only when a consent box is ticked. Add more feeds to send the same form to different sheets or tabs.

What happens when Google says no

Access can be removed, a sheet renamed, a spreadsheet deleted. When Google refuses a row, the add-on adds a note with Google’s message to the entry, records it in the Gravity Forms log, and sends an e-mail to the addresses you set on the Google account. You find out the same day, not at the end of the month.

Access tokens from Google last about an hour; the add-on renews them on its own, so you connect the account once.

Tips for a sheet your team trusts

  • One sheet per purpose. A “Leads” tab that mirrors the entries, and a separate tab for your pivot tables and charts that reads from it. Never type in the mirrored rows.
  • Keep the first row fixed. Freeze it in Google Sheets so it stays visible, and do not sort the mirrored tab by hand: sort in a filter view or in the report tab instead.
  • Add an entry link column. Map Entry link (admin) to a column so anyone can jump from a row to the entry in WordPress.
  • Use spam filtering on the form. Entries that never reach the sheet are better than rows that must be deleted later.
  • Give the right people access. Share the spreadsheet in Google, not the WordPress account.

New in 2.1.0: fill a form field from the sheet

The add-on now also works the other way round. With the Gravity Forms Dynamic Populate add-on active, a connected Google Sheet can fill the choices of a form field, so a product list, branch names or event sessions kept in a sheet show up in your drop-down without copying rows.

  1. On Forms → Settings → Google Sheets, check the new Dynamic Populate source panel: the cache time (default 300 seconds, 0 = no cache) and the Refresh Google Sheets data now button.
  2. Edit a form, open the field’s Dynamic Population settings and choose the source Connected GravityExtra integration.
  3. Pick Google Sheets (GravityExtra) › your spreadsheet › tab, then the columns for the choice value and label (listed by their first-row titles).
  4. Save the form. When you change the sheet, press Refresh to show the new rows at once.

Gravity Forms Google Sheets settings: the Dynamic Populate source panel with a cache time field and a manual refresh button

The rows are read on your server and your Google credentials never reach the page. If Google cannot be reached, the field keeps the last rows that were read. The sheet is only read, never changed. Full steps: populate a field from a Google Sheet.

New in 2.2.0: prefill a form from the sheet

Version 2.2.0 adds two-way sync. As well as writing entries to the sheet, a form can now be prefilled from the matching row: a returning member sees their name and e-mail already filled in and only checks them before sending. The same column map is used both ways, so there is nothing new to map.

A Gravity Forms form prefilled from a Google Sheet row: first name, last name and e-mail already filled in

It is private by design, because a sheet of entries holds personal data:

  • Own row only. By default the row is found with the logged-in user’s own e-mail (or username, or a profile field). The key comes from the signed-in account, not from the page address, so nobody can load someone else’s row.
  • Signed links for e-mails. The {gegs_prefill_link} merge tag puts a link with a signed token, valid for 24 hours, in a notification. An altered or expired link is refused and the form loads empty.
  • No guessable links unless you ask. A plain ?gegs_key=… lookup is off by default and, when switched on, is meant only for non-personal reference sheets.
  • Mapped columns only, server-side. Columns you did not map never leave your server, your Google credentials never reach the page, and lookups are rate limited per visitor.

Edits are safer too: if the row of an edited entry was removed, moved or changed in the sheet, the add-on no longer overwrites it or adds a duplicate; it leaves a note on the entry. Full steps: prefill a form from a Google Sheet.

Common questions

Can I write to a spreadsheet someone else owns?

Yes, if the Google account you connected can edit it.

Do changes in the sheet come back to WordPress?

No. The sheet follows the entries, not the other way round. Correct the entry in WordPress and the row is updated. Since 2.2.0 a form can be prefilled from a matching row (see above), but a saved entry is still only changed in WordPress.

What if I rename the sheet tab?

Choose the new tab name on the feed and save. Until then, Google refuses the rows and you get a note and an e-mail.

Updating from version 1.0

Version 2.0 of the add-on is a full rebuild that installs over 1.0 as a normal update. Connected Google accounts, feeds and the links between entries and rows are kept, and the redirect address of your Google app does not change. One improvement to check after the update: 2.0 writes each value under the column it is mapped to, where 1.0 wrote the values side by side from column A.

Summary

A Google Sheet is only useful if it matches your entries. Connect your Google account once, give the sheet column titles, map each form field to its column, and turn on Keep the row in step with the entry. New entries add rows, edits update them, trash and spam remove them, and restores bring them back, with a note on every entry and an e-mail when something goes wrong. Read the documentation for every setting, or see the add-on page for plans.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr