🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

GF Microsoft Excel (Excel Online) Add-On Setup Guide

Updated 6 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Register your Azure AD app
  4. The settings page
  5. Enter your app and connect
  6. Create a feed
  7. Workbook, table and SharePoint
  8. Field to column mapping
  9. Conditional logic
  10. What happens on submit
  11. When something goes wrong
  12. Privacy and security
  13. A quick recap

Video walkthrough

Gravity Forms Microsoft Excel Online Add-On Setup Guide: Entry Rows (WordPress Side)
Video setup guide: Gravity Forms Microsoft Excel Online Watch on YouTube

The GF Microsoft Excel (Excel Online) Add-On keeps a live spreadsheet of your Gravity Forms entries. Every time someone submits a form, the add-on appends their entry as a new row to an Excel workbook table stored in your Microsoft 365 account, on OneDrive or in a SharePoint document library, through the official Microsoft Graph API. Map each form field to a column once, and from then on every submission lands in the right place automatically, ready for formulas, filters, PivotTables and sharing with your team.

This is a live, per-entry sync to Excel Online, not a one-off export file you download and not an import. It is a different product from the CSV / Excel importer that loads a spreadsheet file into a Gravity Forms List field: that one brings a file in, this one sends your entries out to a cloud workbook that updates as people submit.

You connect the add-on to your own Microsoft (Azure AD) app, so there is no GravityExtra account in the middle and no per-row fee. You stay in control of the permissions, and the only outside services the add-on ever contacts are graph.microsoft.com and login.microsoftonline.com.

What you need

  • WordPress with Gravity Forms 2.5 or newer.
  • PHP 7.4 or newer.
  • An active license key for this add-on.
  • A Microsoft 365 account with OneDrive or SharePoint, and an Excel workbook that contains at least one table.
  • Permission to register an app in the Azure portal (Microsoft Entra ID → App registrations).

If Gravity Forms is missing or too old, the add-on shows a notice in the WordPress admin and does nothing else, so a form is never left half connected.

Register your Azure AD app

The add-on signs in with your Microsoft app, not ours. In the Azure portal open Microsoft Entra ID → App registrations → New registration. Give it a name, and for supported account types the usual choice is “Accounts in any organizational directory and personal Microsoft accounts” so the app works with both OneDrive and SharePoint. Under Redirect URI, choose the Web platform and paste the redirect URI the add-on shows on its settings page (it is the Excel Online settings screen on your own site). Finally, open Certificates & secrets, create a new client secret and copy its value straight away, because Azure only shows it once.

You now have three pieces of information: the Application (client) ID and the Directory (tenant) from the app’s Overview page, and the client secret value you just created. Keep the secret to yourself, the way you would any password.

The settings page

Install and activate the add-on like any plugin, after Gravity Forms. Then open Forms → Settings → Excel Online. This page holds your license key and the details of your Azure app.

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
The settings page: your Azure app details, the redirect URI to register, and the Connect button.

Enter your app and connect

Paste the Application (client) ID, the client secret and the Directory (tenant). The client secret is stored encrypted at rest, so the plain value is never left sitting in your database. Copy the redirect URI shown on this page into your Azure app if you have not already, then press Connect to Microsoft. You are sent to Microsoft to sign in and approve the permissions once. When you come back, the page shows a green “Connected” message.

Behind the scenes, Microsoft returns a refresh token, which the add-on also stores encrypted at rest. That token lets the add-on get a fresh access token whenever it needs to append a row, so you do not have to sign in again for every submission. If you ever want to break the link, the Disconnect button forgets the stored tokens.

The Excel Online settings page after connecting: a green Connected to Microsoft message and a Disconnect button in place of the Connect button
Once connected, the page shows a green Connected status and a Disconnect button.

Create a feed

A feed tells the add-on which workbook and table to write to, and how to fill its columns. Open your form, go to Settings → Excel Online and add a new feed.

The Excel Online feed settings in the Gravity Forms editor: workbook item ID, optional SharePoint site ID, table name, and a field to column mapping that pairs each Excel column with a form field
The feed: point to the workbook and table, then map each column to a form field.

Workbook, table and SharePoint

Enter the workbook item ID, which is the drive item ID of the .xlsx file, and the table name of the Excel table you want to add rows to, such as Table1 or a name you gave it. For a workbook in your personal OneDrive, leave the SharePoint site ID blank. For a workbook in a SharePoint document library, enter the site ID and the add-on writes to that site’s drive instead.

The add-on works with a real Excel table, not just a sheet. If your workbook does not have one yet, open it in Excel, select your header row and data and choose Insert → Table. Tables give each column a stable name, which is exactly what the mapping below needs.

Field to column mapping

In the Field to column mapping section, add a row for each Excel column you want to fill. Type the column’s header name on the left and choose the Gravity Forms field on the right. You can also map a column to a merge-tag value if you want a fixed or combined value instead of a single field. Columns you do not map are simply left blank, and a column in the table that you forget to list is left untouched.

You do not have to list the columns in any particular order. Before it appends a row, the add-on reads the table’s real column order live from Microsoft Graph and lines your values up to match, so the right value always lands in the right column even if someone rearranges the table later.

Conditional logic

Each feed has its own conditional logic. Turn it on to sync only the entries you choose, for example only paid orders, only a certain product, or only submissions from a particular source. You can also create several feeds on one form, so a single entry can be written to more than one workbook or table at the same time.

What happens on submit

When an entry is submitted and the feed’s conditions are met, the add-on makes sure it has a valid Microsoft access token, refreshing it with your stored refresh token when the old one has expired. It then reads the table’s columns, builds one row from your mapping, and appends it to the table with a single Microsoft Graph call. A new row appears in your workbook within moments, and the add-on records a short note on the entry so you can confirm the sync.

A Gravity Forms entry detail screen showing an Excel Online note confirming the entry was synced to the workbook table with its row index
Each entry keeps a note confirming the sync, or explaining what to fix.

When something goes wrong

A failed Microsoft call never blocks a submission. If the token cannot be refreshed, the table cannot be found, or Microsoft is briefly unreachable, the entry is still saved as normal and the add-on writes a clear note on the entry saying what happened, so your visitor is never turned away and you can fix the feed at your leisure. Common causes are an expired client secret, a wrong workbook item ID or table name, or missing permissions on the Azure app.

Privacy and security

The add-on uses your own Azure app and your own Microsoft account. Your client secret and your refresh token are both encrypted at rest with a per-site key, the secret is shown masked after it is saved, and neither is ever written into an entry, a note or a log. The add-on is host-locked: it only ever contacts graph.microsoft.com for the workbook and login.microsoftonline.com for sign-in and token refresh, and nothing is sent anywhere else.

A quick recap

  • Register an Azure AD app, add the redirect URI, and create a client secret.
  • Paste the client ID, secret and tenant on the settings page and click Connect to Microsoft.
  • Create a feed with the workbook item ID and table name, then map your fields to the columns.
  • Submit a test entry and watch a new row appear in your Excel Online workbook.

That is all it takes to keep a living spreadsheet of your Gravity Forms entries in Excel Online, updated automatically with every submission.

Still need help?

Our support team answers tickets every day, usually within a few hours.

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