---
name: gravity-forms-to-sharepoint
description: Set up the Gravity Forms Power Automate Add-On by Reenhanced and build a first Power Automate flow that saves each Gravity Forms entry as an item in a SharePoint list. Use when the user wants to send WordPress or Gravity Forms submissions to SharePoint, Microsoft Lists or Power Automate, or asks for help with the Reenhanced free trial or license setup.
---

# Gravity Forms to SharePoint: first flow

## Goal

At the end, one Gravity Forms form on the user's WordPress site creates a new
item in a SharePoint list each time a visitor submits it. The work takes about
15 minutes when the user has the items in "Before you start".

The product is the **Gravity Forms Power Automate Add-On** (Standard edition)
by Reenhanced. Its Power Automate connector is **Gravity Forms by reenhanced**.
The connector has one trigger: **When a form is submitted**.

## How to work with the user

- Do one step at a time. Tell the user what you will do, do it or ask them to
  do it, then confirm the result before you continue.
- If you can control a browser or run commands on the WordPress server, do the
  step yourself after the user agrees. If you cannot, give the user the exact
  clicks and wait for them to tell you what they see.
- Use the user's real form name, field labels, SharePoint site and list name.
  Ask for them. Do not invent them.
- The license key is a secret. Do not repeat it in your replies and do not
  store it. Ask the user to paste it into the settings screen themselves when
  that is possible.
- Stop and ask if a screen does not match these instructions. Menu names in
  WordPress and Power Automate change from time to time.
- Do not change other plugin settings, other flows or other lists.

## Before you start

Ask the user to confirm each item. Do not start step 1 until all are true.

1. They can sign in to WordPress as an administrator.
2. Gravity Forms is installed and active, and the site has at least one form.
3. They have the plugin ZIP file and the license key from Reenhanced. The
   setup guide at https://wordpress.dev.office.reenhanced.com/get-started/gravity-forms-sharepoint/
   shows both when the user is signed in. The ZIP file is also at
   https://wordpress.dev.office.reenhanced.com/my-account/downloads/. The license key also arrives
   in an email that contains a line starting with "LICENSE-KEY:", about one
   minute after signup.
4. They can sign in to https://make.powerautomate.com with a work or school
   account. **Gravity Forms by reenhanced is a premium connector**, so that
   account needs a Power Automate license that includes premium connectors. A
   Power Automate trial license is enough to start.
5. They have a SharePoint site where they can create a list.

If item 4 is not true, tell the user plainly. The flow cannot run without it.

## Step 1: Install the plugin

In WordPress admin:

1. Go to **Plugins > Add New Plugin > Upload Plugin**.
2. Select the ZIP file, then select **Install Now**, then **Activate Plugin**.

With WP-CLI on the server, this command does the same:

```
wp plugin install /path/to/gravity-forms-power-automate.zip --activate
```

Check: the Plugins list shows **Gravity Forms Power Automate Add-On** as active.

## Step 2: Connect the license

1. Go to **Forms > Settings > Power Automate**.
2. Make sure **Enable Power Automate Integration** is set to **Enabled**.
3. Paste the license key into **License Key**.
4. Select **Save Settings**.

Check: the **License Details** section shows a line such as "You are using 1 of
1 domain(s) on your license."

If the screen shows "Invalid License", check for spaces before or after the
key. If it still fails, send the user to https://wordpress.dev.office.reenhanced.com/support/.

## Step 3: Make the form available to Power Automate

1. On the same settings screen, find **Forms available in Power Automate**.
2. Select the checkbox next to the form the user wants to connect.
3. Select **Save Settings**. This creates a Power Automate feed for the form.
4. Select **Sync Form Metadata**.

Check: the message "Form metadata synced successfully with Power Automate."
appears. A form with no feed never starts a flow.

## Step 4: Prepare the SharePoint list

Ask the user for the list of fields on the form. Then propose one SharePoint
column for each field the user wants to keep.

| Gravity Forms field | SharePoint column type |
|---|---|
| Single line text, Email, Phone, Website | Single line of text |
| Paragraph text | Multiple lines of text |
| Number | Number |
| Date | Date and time |
| Drop down, Radio buttons | Choice, or Single line of text |
| Checkboxes | Single line of text |
| Name | One Single line of text column for each part (First, Last) |
| Address | One Single line of text column for each part |
| File upload | Single line of text (it holds the file link) |

Also add a Number column named **Entry ID**. It links each list item to its
entry in WordPress.

To create the list: open the SharePoint site, select **New > List > Blank
list**, name it, then add the columns with **Add column**.

Keep the first flow simple. Moving uploaded files into a document library is a
second flow. The guide is at
https://wordpress.dev.office.reenhanced.com/2021/how-to-move-file-uploads-from-wordpress-to-sharepoint-with-power-automate/

Check: the list exists and the user has told you the exact site address, list
name and column names.

## Step 5: Build the flow

Use route A if the user has Copilot in Power Automate. Use route B if they do
not, or if Copilot does not select the correct trigger.

### Route A: with Copilot in Power Automate

Use the prompts in the file "Copilot prompts: Gravity Forms to SharePoint" from
the same kit. Send one prompt at a time and check the result after each one.
Copilot cannot read the user's SharePoint lists, so the user must select the
form, the site and the list in the designer.

### Route B: in the designer

1. Go to https://make.powerautomate.com and select **Create > Automated cloud
   flow**.
2. Name the flow. Use the same name as the feed in WordPress.
3. In the trigger search box, type **Gravity Forms**. Select **When a form is
   submitted** from **Gravity Forms by reenhanced**. Select **Create**.
4. When Power Automate asks for a connection, paste the license key into
   **License Key** and select **Create**.
5. In the trigger, select the form in the **Form** field. If the form is not in
   the list, go back to step 3 of this skill and select **Sync Form Metadata**.
6. Select **+** below the trigger, then **Add an action**. Search for
   **SharePoint** and select **Create item**.
7. Select the **Site Address** and the **List Name**.
8. For each column, select the field and pick the matching form field from the
   dynamic content list. The form fields appear with their labels. Put the
   entry ID into **Entry ID**.
9. Select **Save**.

Check: the flow saves with no errors and its status is **On**.

## Step 6: Test

1. Open the form on the website and submit a test entry.
2. In WordPress, go to **Forms > Entries** and open the new entry. The notes
   show "Entry sent to Power Automate."
3. In Power Automate, open the flow. The run history shows a run with the
   status **Succeeded**.
4. Open the SharePoint list. The new item is there with the test values.

Tell the user clearly when all four checks pass. The flow is live.

## If something does not work

| What you see | What to do |
|---|---|
| The form is not in the Form list in Power Automate | In WordPress, select the form under "Forms available in Power Automate", save, then select **Sync Form Metadata**. Reopen the trigger. |
| The entry note says "Entry not sent to Power Automate. Power Automate integration is not enabled or license is invalid." | Open Forms > Settings > Power Automate. Set the integration to Enabled, check the license key and save. |
| The entry note says "Entry sent to Power Automate." but the flow has no run | Check that the flow is On and that the trigger uses the same form. A new flow can take a minute to register. Submit one more entry. |
| The flow run fails at Create item | Open the failed run and read the error on the action. The usual cause is a value that does not fit the column type, for example text in a Number column. |
| Power Automate says the connector needs a premium license | The account needs a Power Automate license with premium connectors. A trial license is enough to test. |
| A new field on the form is missing in Power Automate | Select **Sync Form Metadata** in WordPress, then reopen the flow. |

For anything else, send the user to https://wordpress.dev.office.reenhanced.com/support/. Give them
a short summary of the step that failed and the exact message, so they can
paste it into the support request.

## When the flow works

Tell the user these things:

1. Ask if they are on a free trial. If they are: the trial runs for 30 days
   from signup. To keep the flow running after that, they add a card at
   https://wordpress.dev.office.reenhanced.com/my-account/ under Subscriptions. They are not charged before
   the trial ends. If they already pay for a plan, do not say this.
2. One form can start more than one flow. Good second flows are a Microsoft
   Teams message for each entry and a row in an Excel table.
3. If they later need Power Automate to create or update entries in WordPress,
   that is the Professional edition:
   https://wordpress.dev.office.reenhanced.com/product/gravity-forms-power-automate-professional/
