Title: Importer for Gravity Forms and NationBuilder
Author: dabernathy89
Published: <strong>April 23, 2016</strong>
Last modified: November 7, 2016

---

Search plugins

![](https://ps.w.org/importer-for-gravity-forms-and-nationbuilder/assets/banner-
772x250.png?rev=1402645)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/importer-for-gravity-forms-and-nationbuilder/assets/icon-256x256.
png?rev=1402645)

# Importer for Gravity Forms and NationBuilder

 By [dabernathy89](https://profiles.wordpress.org/dabernathy89/)

[Download](https://downloads.wordpress.org/plugin/importer-for-gravity-forms-and-nationbuilder.0.3.6.zip)

 * [Details](https://en-au.wordpress.org/plugins/importer-for-gravity-forms-and-nationbuilder/#description)
 * [Reviews](https://en-au.wordpress.org/plugins/importer-for-gravity-forms-and-nationbuilder/#reviews)
 *  [Installation](https://en-au.wordpress.org/plugins/importer-for-gravity-forms-and-nationbuilder/#installation)
 * [Development](https://en-au.wordpress.org/plugins/importer-for-gravity-forms-and-nationbuilder/#developers)

 [Support](https://wordpress.org/support/plugin/importer-for-gravity-forms-and-nationbuilder/)

## Description

Automatically import entries from Gravity Forms into NationBuilder. For each entry
on a configured form, this plugin will create a supporter (or update them, if they
already existed) in your nation.

**Note: You should only run this plugin on sites that support HTTPS. It uses the
OAuth2 framework, which requires HTTPS, for authenticating with NationBuilder’s 
API.**

Follow these steps to get started:

#### Authenticating with the NationBuilder API

 1. Install Gravity Forms if you haven’t already. You should be using version 1.9.16
    or later.
 2. Navigate to the Gravity Forms settings page and find the “NationBuilder” subpage.
 3. Copy the Callback URL provided on this page – you’ll need it for the next step.
 4. In a separate window, register a new app inside NationBuilder: https://YOUR_NATION_SLUG.
    nationbuilder.com/admin/apps/new
 5. Save your Client ID, Client Secret, and nation slug on the Gravity Forms settings
    page.
 6. When the page reloads after saving, it will display a link. You must click this
    link to complete the OAuth process; it will redirect you back to the settings page.

#### Setting up Gravity Forms feeds

 1. Navigate to a single form’s settings page, and find the “NationBuilder” section.
    Create a feed if there are none.
 2. Give the feed a name – this can be something generic like “NationBuilder feed”.
 3. Follow the instructions on the page for mapping the form fields to the NationBuilder
    custom fields.
 4. Add a comma separated list of tags which will be added to each person for this 
    feed. You can include values from the form by clicking the small dropdown box next
    to the field.
 5. Optionally, set a condition for when this feed should run. For example, you can
    set it to only run when an opt-in checkbox on the form is checked. You can also
    use conditional logic and multiple feeds to control how tags are added to a person.

Once the above steps are complete, your form(s) should be mapped to NationBuilder.
To check if a form entry was successfully pushed to NationBuilder, check the “notes”
section on the individual entry screen in the Gravity Forms admin area.

This plugin was built using the generator-plugin-wp tool built by WebDevStudios.

## Screenshots

[⌊The main plugin settings screen⌉⌊The main plugin settings screen⌉[

The main plugin settings screen

[⌊The overview of NationBuilder feeds for a form⌉⌊The overview of NationBuilder 
feeds for a form⌉[

The overview of NationBuilder feeds for a form

[⌊Editing an individual feed for a form⌉⌊Editing an individual feed for a form⌉[

Editing an individual feed for a form

## Installation

#### Manual Installation

 1. Upload the entire `/gf-nb-importer` directory to the `/wp-content/plugins/` directory.
 2. Activate Importer for Gravity Forms and NationBuilder through the ‘Plugins’ menu
    in WordPress.

## Reviews

![](https://secure.gravatar.com/avatar/bc6ea77370a4746749ec95eb9e79693309c01ffbebebde59a25ee3ae9cb9b465?
s=60&d=retro&r=g)

### 󠀁[works well, once things are set on the NB end](https://wordpress.org/support/topic/works-well-once-things-are-set-on-the-nb-end/)󠁿

 [markcoppock](https://profiles.wordpress.org/markcoppock/) September 3, 2016

Note that to connect to NationBuilder, you'll either need at least an enterprise-
level account or get certified as an NB-approved developer. If/once that is covered,
the plugin works perfectly.

 [ Read all 1 review ](https://wordpress.org/support/plugin/importer-for-gravity-forms-and-nationbuilder/reviews/)

## Contributors & Developers

“Importer for Gravity Forms and NationBuilder” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ dabernathy89 ](https://profiles.wordpress.org/dabernathy89/)

[Translate “Importer for Gravity Forms and NationBuilder” into your language.](https://translate.wordpress.org/projects/wp-plugins/importer-for-gravity-forms-and-nationbuilder)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/importer-for-gravity-forms-and-nationbuilder/),
check out the [SVN repository](https://plugins.svn.wordpress.org/importer-for-gravity-forms-and-nationbuilder/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/importer-for-gravity-forms-and-nationbuilder/)
by [RSS](https://plugins.trac.wordpress.org/log/importer-for-gravity-forms-and-nationbuilder/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.3.6

 * documentation update

#### 0.3.5

 * CSS fix – feed settings table overflow issue

#### 0.3.4

 * Bug fix – don’t attempt to pass empty tags to NB

#### 0.3.3

 * Bug fix – update to address new NationBuilder API security requirement

#### 0.3.2

 * Bug fix – PHP 5.3 compatibility

#### 0.3.1

 * Bug fix – Fatal error was caused when NB API returned an error

#### 0.3.0

 * New Feature – adding NationBuilder tags to people

#### 0.2.2

 * Bug fix – fatal error when Gravity Forms is not installed

#### 0.2.1

 * Bug fix – fatal error caused by require() statement with lower case class name

#### 0.2.0

 * Reorganize plugin structure, update readme.

#### 0.1.0

 * Initial release.

## Meta

 *  Version **0.3.6**
 *  Last updated **10 years ago**
 *  Active installations **20+**
 *  WordPress Version ** 4.4 or higher **
 *  Tested up to **4.6.30**
 *  Language
 * [English (US)](https://wordpress.org/plugins/importer-for-gravity-forms-and-nationbuilder/)
 * Tag
 * [gravity forms](https://en-au.wordpress.org/plugins/tags/gravity-forms/)
 *  [Advanced View](https://en-au.wordpress.org/plugins/importer-for-gravity-forms-and-nationbuilder/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/importer-for-gravity-forms-and-nationbuilder/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/importer-for-gravity-forms-and-nationbuilder/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/importer-for-gravity-forms-and-nationbuilder/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/importer-for-gravity-forms-and-nationbuilder/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/importer-for-gravity-forms-and-nationbuilder/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/importer-for-gravity-forms-and-nationbuilder/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/importer-for-gravity-forms-and-nationbuilder/reviews/)

## Contributors

 *   [ dabernathy89 ](https://profiles.wordpress.org/dabernathy89/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/importer-for-gravity-forms-and-nationbuilder/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.me/DanielAbernathy)