Get access to free tutorials, exclusive content and more.

How to Connect WordPress to Google Sheets

Spreadsheets might not be the most exciting thing in the world, but when you need one, you need one! Google Sheets is one of the best and most popular spreadsheet applications for collaborative teams. Unfortunately, there are not a lot of easy-to-find ways to integrate WordPress with them.

If you recently visited WordPress.org searching for a plugin that fits your needs, you likely found yourself disappointed. Custom integrations work, but the time and resources to maintain them can be a real hassle.

What other options are there?

How to connect WordPress to Google Sheets with your WordPress forms

Using your WordPress forms, you can connect WordPress with Google Sheets in just four steps. This process automates and immediately sends data over. All you have to do is establish the link, and information flows with every form submission! Let’s look at how.

What you’ll need to follow this guide:

1. Get set up with Zapier.

The Ninja Forms Zapier add-on is the tool that establishes the link between WordPress and the application to which you want to send data. First, get Zapier installed and activated on your website.

Next, create an account with Zapier themselves. Now you’re ready to get started!

2. Make a Zap!

Integrations between applications handled by Zapier are called Zaps. We’ll be creating a Zap that will connect Ninja Forms with your target service. It’s super simple. Just log into your Zapier account and click “Make a Zap!”

Create a Zap

TL;DR Setup

  1. Search for the Ninja Forms integration, then pair it with Google Sheets.
  2. Scroll down the page until you see the blue Connect Google Sheets + Ninja Forms button, and click.
  3. After that, you will be redirected to the Zap page with the Trigger and Action automatically added.

3. Set up Ninja Forms Submission in Ninja Forms as your Trigger

Next, choose Ninja Forms to act as a trigger. This is the event that will kick off your automation. After that, select the New Form Submission event as your trigger.

Ninja Forms Submission Zapier Trigger
This step should take about 15 seconds.

Copy and paste the webhook URL

Next, copy the Zapier webhook URL and paste it into the Zapier action of the form you want to use:

After pasting in the webhook, be sure to click Done, Publish, then Preview and Submit your form before continuing in Zapier.

✨ Be sure to enter data into each field before you submit, even it it’s not a required field!

When you finish this, continue in Zapier and test the action.

test trigger to make sure Ninja Forms connection has been established

 

This will confirm whether or not a secure connection exists. They’ll offer troubleshooting advice on the odd chance that it fails. After a successful test, it’s time to move on!

4. Set up Google Sheets as your Action App

Setting up your Action App follows a similar process to the Trigger App setup we covered earlier. First, select ‘Google Sheets’ as your app. Then, choose your event – for this example, it’s ‘Create Spreadsheet Row.’ Once you’ve made your selection, simply click ‘Continue‘ to proceed.

The Google Sheets App & Event

After that, sign in to your Google Account.

Allow Zapier to connect to your Google account

Finish up by filling out the action, making sure to include the message from your form submission. That’s it! Zapier will test your data flow to confirm the connection, and you will have sent your form submission data to Google Sheets.

test spreadsheet ninja forms and zapier