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

How to Stream Gravity Forms Entries to Google BigQuery

GravityExtra
How to Stream Gravity Forms Entries to Google BigQuery

Form answers are some of the most valuable data a business collects: who asked for a demo, which plan they chose, where they came from. Yet in many companies those answers stay inside WordPress, and the analysts who work in Google BigQuery get them as an occasional spreadsheet export. This guide shows how to stream every Gravity Forms entry into a BigQuery table as it arrives, with the table built from your form, using the Gravity Forms BigQuery Premium Add-on.

Why send form entries to BigQuery

BigQuery is the place where many teams keep the numbers that matter: web analytics, ad spend, orders and product usage. When form entries sit in the same warehouse, a question such as which campaign brought the most requests for a quote with a budget above a certain amount becomes a short query instead of a week of copying data between tools.

  • One source of truth. The entry, the campaign data and the sales result can be joined in one query.
  • Fresh data. Rows arrive seconds after the submission, not once a night.
  • No export routine. Nobody has to remember to download a file and upload it again.
  • Your own project. The data goes straight from your site to your Google Cloud project, with your own access rules and retention.

The usual ways, and where they hurt

There are three common ways to get form answers into a warehouse. You can export a file by hand, which is fine for a one-off and poor for anything regular. You can use an automation service such as Zapier or Make between the form and BigQuery, which works but adds a monthly bill that grows with the number of entries, another login to protect, and a mapping that you must keep in step with the form. Or you can write code against the BigQuery interface yourself, which is flexible and costs developer time that is hard to justify for a simple feed.

A feed inside WordPress sits in the middle. It has no per-task fee, it knows the form, and it can follow the form when you change it.

What you need before you start

  • A Google Cloud project with billing turned on. Streaming inserts are not available in the free tier of BigQuery.
  • A dataset in that project.
  • A service account with permission to write to that dataset, and its JSON key file.
  • Gravity Forms 2.5 or newer, and the BigQuery add-on with an active license.

Step 1: create the dataset and the service account

In the Google Cloud console, open BigQuery and create a dataset, for example one called web. Then open the service accounts page and create an account for your site. Give it the BigQuery Data Editor role on the dataset. That role is enough to read the dataset, create tables, add columns and insert rows. Finally create a JSON key for the account. A file is downloaded; treat it like a password.

A service account is the right tool for this job because it is not a person. It has no mailbox, it cannot be used to sign in to the console, and you can cut its access in one click without touching anyone’s own account.

Step 2: paste the key into the add-on

In WordPress, open the BigQuery settings in the Gravity Forms settings. Enter the project ID and the dataset, paste the whole text of the key file into the box and save. The add-on checks that the text is a real service account key and then keeps it encrypted, using a lock made from the secret salts of your site. It never shows the key again. All you see afterwards is the email address of the service account, so you can tell which key is in use.

Press the button that tests the connection. The add-on signs in to Google and reads the dataset. If you see a message that the dataset can be read, the hard part is done.

Step 3: add a feed to your form

Open the form, go to its BigQuery settings and add a feed. Give it a name and the name of the table. Leave the columns on the automatic setting. That is all that is needed for a first test.

When the next entry arrives, the add-on creates the table with one column for each field of the form, and then adds the row. A number field becomes a number column, a date field becomes a date column, a time field becomes a time column, a consent box becomes a true or false column, and a set of checkboxes becomes a repeated column that holds a list of the ticked choices. Name and address fields get one column for each part. The entry ID, the form ID and the date the entry was created (in UTC) are added as well, and you can switch on more details such as the payment status or the source address.

How it deals with a changing form

Forms change. A question is added for a new campaign, a label is reworded. A feed that cannot follow the form is a trap, because the first change makes the rows fail. This add-on follows the form in one safe direction: it adds columns for new fields and never changes or removes an existing column. Your reports, views and dashboards keep working, old rows stay as they were, and the new column is simply empty for them.

If you reword labels often, set the feed to name the columns by field ID. A column is then called field_3 instead of a name made from the label, and it stays the same whatever you do to the label. If you already have a table that analysts rely on, choose the columns yourself: pick a source for each column and the add-on sends exactly those, with the names you wrote.

What happens when something goes wrong

Networks fail, and permissions change. The add-on saves the entry first, so the visitor always sees the confirmation, and sends the row in the background a moment later. If Google does not answer or says it is busy, the row is tried again after one minute, then five minutes, thirty minutes, two hours and twelve hours. If the fault is final, such as a missing permission or a value the table cannot take, the add-on does not keep hammering. It writes the reason from Google as a note on the entry, where your team will see it.

When you fix the cause, select the entries in the entry list and use the bulk action to send them again. The same action fills the table with entries that were collected before you set the feed up.

Things to know before you rely on it

  • Delivery is at least once. The add-on sends a row ID so that a repeated send in the same minute is dropped, but this is a best effort by Google. If you need exact counts, use a view that keeps one row for each entry ID.
  • Rows are not editable right away. Google keeps new streamed rows in a buffer, and for a while they cannot be changed with an update or delete statement. Plan corrections with that in mind.
  • WordPress and BigQuery are separate. Deleting an entry in WordPress does not delete the row in BigQuery. If a person asks to be erased, remove the row there too.
  • Cost is small but not zero. Streaming is billed by data volume. A form entry is a few hundred bytes, so even a busy site pays very little, but look at your own price list.

Security in plain words

The key file is the most sensitive part of the setup, so it deserves a short explanation. The add-on never stores it in plain text. It never writes it to a log, never puts it in an entry note and never shows it on a screen. The sign-in request to Google is signed on your own server with the PHP OpenSSL extension, so no third-party code or service handles your key. Calls go only to Google over HTTPS, with the certificate checked. Give the service account the least access it needs, put it on one dataset, and rotate the key from time to time in the Google Cloud console.

A worked example: a trade show lead form

A company collects leads at a trade show with a form that asks for a name, a work email, a company size, the products of interest as checkboxes and the date of a follow-up call. The marketing analyst wants to compare the leads with the ad spend of the same month.

  1. The developer creates the service account and pastes the key once.
  2. On the lead form they add a feed with the table name trade_show_leads and leave everything on automatic.
  3. The first entry creates the table: name_first, name_last, email, company_size, products_of_interest (a list), follow_up_date (a date), plus the entry ID and the creation time.
  4. The analyst opens BigQuery and runs a query that joins the table with the ad data by month. No export, no spreadsheet.
  5. In week two the team adds a question about budget. The next entry adds a budget column. The analyst’s query keeps working.

Frequently asked questions

Do I need to install anything from Google?

No. There is no library to add and no command line to run. The add-on talks to Google through the normal WordPress web calls.

Does it slow down my form?

No. The row is sent after the entry is saved, in the background, unless you choose to send while the visitor waits.

Can one form feed more than one table?

Yes. Add as many feeds as you like. Each has its own table, columns and condition, so you can send everything to one table and only the qualified leads to another.

Will old entries be sent?

Not by themselves. Use the bulk action in the entry list to send entries that arrived before the feed existed.

What if I stop using the add-on?

Your table and its rows stay in BigQuery. Remove the key in the settings and the add-on has no access at all.

Get started

If your form answers belong in your warehouse, the quickest route is a feed that does the work by itself. See what the add-on does, what it costs and how to install it:

See the BigQuery add-on

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