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

How to Sync Gravity Forms Entries to Excel Online (OneDrive & SharePoint)

GravityExtra
How to Sync Gravity Forms Entries to Excel Online (OneDrive & SharePoint)

Spreadsheets are where form data goes to be useful. A list of entries sitting in your WordPress admin is fine for a quick look, but the moment you want to total a column, filter by a value, build a PivotTable or simply share the numbers with a colleague, you reach for Excel. The trouble is the copying: export a file, open it, paste the new rows, repeat tomorrow. This guide shows how to sync Gravity Forms entries to Excel Online instead, so every submission appends itself as a new row to a live workbook on OneDrive or SharePoint, automatically, with the GF Microsoft Excel (Excel Online) Add-On and without writing a line of code.

A live row, not a download

There are two very different ways to get form data into a spreadsheet. One is to export a file on demand: you press a button, a .xlsx or .csv is generated, and you download it. That is a snapshot, frozen at the moment you pressed the button. The other way, the one this add-on does, is to append each entry to a workbook that already lives in the cloud. The workbook is always current because a new row is written the instant someone submits. Your formulas, charts and shared views update themselves, and nobody has to remember to run an export.

It is worth being clear about what this is not. It is not the separate importer that reads a CSV or Excel file and loads it into a Gravity Forms List field on the page; that tool brings a spreadsheet in. This add-on sends your entries out, to Excel Online, as they arrive.

How the sync works

Under the hood, the add-on talks to Microsoft 365 through the official Microsoft Graph API, the same interface Microsoft’s own apps use. An Excel workbook on OneDrive or SharePoint can contain a table, and a table has a tidy, named set of columns. When an entry is submitted, the add-on asks Graph for the table’s columns, builds a single row from the fields you mapped, and appends that row to the table. One submission, one new row, in the right columns.

Because the add-on reads the column order live before it writes, your values always line up correctly even if the table is rearranged later. And because it uses your own Microsoft app to sign in, there is no shared account in the middle and no per-row fee.

Step 1: register your Microsoft app

The add-on signs in with an Azure AD app that you own. In the Azure portal, open Microsoft Entra ID, choose App registrations and create a new registration. Add the redirect URI the add-on shows on its settings page as a Web platform redirect, then open Certificates & secrets and create a client secret. Copy its value immediately; Azure shows it only once. From the app’s Overview you also get the Application (client) ID and the Directory (tenant). Those three values are all you need.

Step 2: connect WordPress to Microsoft

Install and activate the add-on after Gravity Forms, then open Forms → Settings → Excel Online. Paste the client ID, the client secret and the tenant, and press Connect to Microsoft. You sign in once and approve the permissions, and the add-on stores a refresh token so it can keep appending rows without asking you to sign in again. The client secret and the refresh token are both encrypted at rest, and the add-on only ever contacts graph.microsoft.com and login.microsoftonline.com.

The Excel Online settings page in Gravity Forms: license key, Azure Application client ID, client secret, directory tenant, the redirect URI to register, and the Connect to Microsoft button
Paste your Azure app details and connect your Microsoft account once.

Step 3: map your fields to columns

Open your form, go to Settings → Excel Online and add a feed. Enter the workbook’s item ID and the table name, leave the SharePoint site ID blank for a OneDrive workbook, and then map each Excel column to a Gravity Forms field. Columns you do not map are left blank. Turn on conditional logic if you only want to sync certain entries, and add more than one feed if you want an entry written to more than one workbook or table.

If you would like the full, screen-by-screen walkthrough, including how to find a workbook’s item ID and how to create a table, read the Excel Online setup guide. For a broader look at keeping Microsoft 365 and Gravity Forms in step, the tutorial on how to sync Gravity Forms to Microsoft Excel Online is a good companion.

Step 4: submit a test entry

Fill in your form and submit it. Within moments a new row appears in your Excel Online workbook, in the columns you mapped, and the add-on records a short note on the entry confirming the sync. If anything is misconfigured, for example a wrong table name or an expired secret, the entry is still saved normally and the note explains what to fix, so a visitor is never turned away because of a spreadsheet problem.

Why a live Excel sync is worth it

Once the data flows on its own, the spreadsheet becomes the place you actually work. You can build a dashboard with PivotTables and charts that refresh as entries arrive, share a single workbook with a team instead of emailing files back and forth, and keep a running record that never falls behind. The form collects; Excel Online makes sense of it; and you never copy a row by hand again.

Frequently asked questions

What do I need before I start?

You need WordPress with Gravity Forms 2.5 or newer, PHP 7.4 or newer, and a Microsoft 365 account with a workbook saved in OneDrive or a SharePoint document library. That workbook must contain a real Excel table, not just a sheet of cells. If it does not have one yet, open the file in Excel, select your header row and data, and choose Insert then Table. A table gives every column a stable name, which is what the field mapping lines up against. You also need permission to register an app in the Azure portal, and an active license key for the add-on.

Do I have to set up an Azure app, and why?

Yes, and it is a one-time job that keeps you in control. The add-on signs in with your own Azure AD app rather than a shared GravityExtra account, so your data path is yours alone and there is no per-row charge. In the Azure portal you create an App registration, add the redirect URI the settings page shows, and create a client secret. You then paste three values into the add-on: the Application (client) ID, the client secret and the Directory (tenant). The add-on requests the offline_access scope so Microsoft returns a refresh token, which lets it mint new access tokens on demand without asking you to sign in for every submission. You approve the requested permissions once during sign-in (admin consent), and you can revoke the link at any time with the Disconnect button.

How does the field to column mapping work?

In each feed you add a row for every Excel column you want to fill: type the column’s header name and pick the Gravity Forms field (or a merge-tag value) that feeds it. You do not have to list columns in any order. Just before it writes, the add-on reads the table’s real column order live from Microsoft Graph and arranges your values to match, so the right value always lands in the right column even if someone rearranges the table later. Columns you do not map are left blank, and columns you forget to list are left untouched.

Are there any limits?

The add-on appends rows; it does not update or delete existing rows. One submission writes one new row to the chosen table. Microsoft Graph applies its own throttling on very high volumes, so an occasional request can be delayed, but a failed or delayed Graph call never blocks the submission: the entry is always saved and a note on the entry explains what happened so you can retry or fix the feed.

What data leaves my site, and where does it go?

Only the mapped field values for each entry are sent, and only to Microsoft: graph.microsoft.com for the workbook and login.microsoftonline.com for sign-in and token refresh. Nothing is sent to GravityExtra. The client secret and the refresh token are encrypted at rest on your site, the secret is shown masked after you save it, and neither is ever written into an entry, a note or a log.

Ready to keep a living spreadsheet of your submissions? Get the Gravity Forms Microsoft Excel Online Premium Add-on and connect your first workbook in minutes.

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