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

How to Sync Gravity Forms Submissions to Donorbox Supporters

GravityExtra
How to Sync Gravity Forms Submissions to Donorbox Supporters

Nonprofits collect names long before they collect gifts. A pledge drive, a sponsorship interest form, an event RSVP with a suggested donation, a corporate matching sign-up, a volunteer form: each one is a moment where someone raises their hand, and each one usually ends up as a Gravity Forms entry that nobody on the fundraising team ever opens again. The Gravity Forms Donorbox Premium Add-on closes that gap by sending every submission straight into Donorbox as a supporter with a donation-intent attached, so the people and the interest land where your team already works.

The most important thing to say up front is what this add-on does not do. It is donor-data sync and a CRM handoff, not payment processing. It never charges a card, never moves money and never replaces your donation page. Your donors still give on your Donorbox hosted donation forms, which keep handling real payments, receipts and recurring plans. The add-on simply records who is interested, for which campaign and for how much, so that no supporter is lost between a WordPress form and your Donorbox account.

What the add-on records

When a form is submitted and the feed’s conditions are met, the add-on does three small things through the Donorbox API. First, it finds the supporter by their exact email, or creates a new supporter with their first name, last name, email and phone. Second, it records a donation-intent, which is a pledge: the campaign, the amount, the currency and a note built from the form. Third, it writes the supporter link, the donation-intent link and the pledged amount back onto the Gravity Forms entry, so your records on both sides line up.

Because the intent is a pledge and not a charge, your form stays a form. A visitor fills it in, sees your normal confirmation, and the sync happens quietly on your server afterwards. If the call to Donorbox ever fails, the entry is still saved and a clear note explains what went wrong, so a hiccup at Donorbox never costs you a submission.

The Donorbox settings page in Gravity Forms: license key, Donorbox login email, API key, default campaign and a test connection button
The settings page: your login email, your API key and a default campaign.

Enabling the Donorbox API and getting your key

Everything is self-serve. The add-on signs in to the Donorbox API with your own credentials over HTTP Basic authentication, where your login email is the user name and an API key is the password. You generate the key yourself: sign in to Donorbox, open Account, then API & Zapier Integration, and use Set new API Key. Donorbox shows the full key only once, so copy it and store it safely.

The Donorbox API is part of a paid Donorbox plan. That subscription is your own cost with Donorbox; there is no partner programme to join and nothing to approve on our side. Once you have the key, paste it and your login email into Forms, Settings, Donorbox in WordPress, and press Test connection. The add-on asks Donorbox for your campaigns and lists them, which confirms in one click that the email and key work and that your plan includes the API.

Why HTTP Basic auth, and how your key is protected

Donorbox authenticates API requests with HTTP Basic auth, so each request carries an authorization header built from your email and key. The add-on builds that header for you and sends it only to donorbox.org, over HTTPS, and never puts the credentials in a web address. Your key is encrypted at rest before it is stored in WordPress, it is shown masked after you save it, and it is never written to an entry, a note or a log. For stricter environments you can keep the key out of the database altogether by defining the GFDB_API_KEY constant in wp-config.php, in which case the settings field disappears and the constant is used instead.

Mapping the supporter and the donation-intent

A feed on your form maps the fields. The one required supporter field is the email, because it is how a supporter is matched or created; map it with a merge tag such as {Email:2}. The name and phone are optional and used only for a new supporter. An existing supporter is matched by their exact email and is never renamed or duplicated.

The donation-intent needs an amount, which you map with a merge tag such as {Amount:7}. The amount is cleaned carefully, so a value like $1,250.50 or the European 1.250,50 both become the same number, while a zero, a negative or a non-numeric value is refused and nothing is synced. The currency is a three-letter code and defaults to USD. The comment is a note kept with the intent, and {all_fields} drops in a tidy list of every answer, with an optional link back to the Gravity Forms entry.

The Donorbox feed in Gravity Forms: supporter email, name and phone, campaign, amount intent, currency, comment and conditional logic
The feed: supporter, amount, currency, campaign and a note.

Working with campaigns

A campaign in Donorbox is the fund or appeal a donation belongs to, and the add-on files each donation-intent against one. You can set a default campaign on the settings page, give a campaign per feed, or map the campaign to a form choice so each submission routes itself. A campaign can be named, for example General Fund, or given by its id, and Test connection lists your campaigns so you can copy the exact names. If a submission names a campaign that does not exist in your account, the add-on leaves a clear note and does not guess, so a typo never files a gift under the wrong fund.

This makes it easy to run several appeals from one site. A single form can route a General Fund pledge, a Winter Appeal pledge and a Scholarship Fund pledge to the right place with a drop-down and a merge tag, and conditional logic lets you sync only the submissions you want.

A quick example

Imagine a Winter Appeal page with a short Gravity Form: a name, an email, a fund drop-down and a suggested amount. A supporter picks Winter Appeal, types 250 and submits. Behind the scenes the add-on checks your Donorbox campaigns, finds that this email is already a supporter from last year, and files a 250 USD donation-intent for them against the Winter Appeal campaign, with the form answers kept as a note. Your fundraiser opens Donorbox the next morning and sees a fresh pledge against the right appeal, tied to a supporter who is already in the system, with no retyping and no risk of a duplicate record. The visitor, meanwhile, saw nothing but your thank-you message.

The same form could just as easily route a General Fund pledge or a Scholarship Fund pledge, because the campaign is mapped to the drop-down. One form, several funds, every supporter in the right place.

Safe retries and clean records

Networks are imperfect, and a reply from any API can be lost even after the work is done. The add-on protects you from duplicates by keeping the supporter and donation-intent ids on the entry and recording a reference with each donation-intent. A resend or a retry for the same entry never creates a second supporter or a second intent; if an answer was lost, the next run finds the donation-intent by its reference and reuses it. The result is one supporter and one intent per submission, every time.

A Gravity Forms entry screen showing the Donorbox note with the supporter link, the donation-intent link and the pledged amount
Each entry keeps the supporter link, the donation-intent link and the amount.

Privacy and what is shared

The only data the add-on sends is what you map in the feed: the supporter’s details and the donation-intent. It contacts no service other than donorbox.org, and it sends nothing anywhere until a form is submitted and your feed’s conditions are met. Supporters synced and sync failed notification events let you keep your team informed, and merge tags like {donorbox_donor_id} and {donorbox_amount} can drop the supporter id and pledged amount into a confirmation email. Full setup steps, field mappings and troubleshooting are in the Gravity Forms Donorbox setup guide.

Bring your supporters into Donorbox

If your forms are collecting interest, pledges and sign-ups that never make it into your donor database, this add-on turns each one into a clean Donorbox supporter and a donation-intent your team can act on, while your real giving stays on your Donorbox donation forms. Learn more and get the Gravity Forms Donorbox Premium Add-on to connect your forms to Donorbox today.

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