AFI AFI

Donorbox

Estimated reading: 2 minutes Updated August 1, 2026

Donorbox is a fundraising platform. Advanced Form Integration sends form submissions to Donorbox, so every form entry on your WordPress site can create or update records automatically without manual data entry.

What you’ll need

  • An active Donorbox account.
  • An API key from Donorbox (see below).
  • The Advanced Form Integration plugin installed and activated.

Get your Donorbox API key

Donorbox authenticates with an API key.

  1. Sign in to your Donorbox account.
  2. Navigate to the API or integrations section in your account settings.
  3. Generate or copy your API Key.
  4. In WordPress, go to AFI → Settings → Donorbox, click Add New Account, and paste the key.

Connect Donorbox to AFI

  1. In WordPress, go to AFI → Settings and open the Donorbox tab.
  2. Click Add New Account and paste the API key or token.
  3. Give the account a name you will recognise.
  4. Click Save.

Create the integration

  1. Go to AFI → Add New.
  2. Give the integration a name, for example Form to Donorbox.
  3. Under Trigger, pick the form plugin and the specific form you want to listen on.
  4. Under Action → Platform, select Donorbox.
  5. In Task, choose Create Donor.
  6. Pick the saved account in the Donorbox Account dropdown.
  7. Map your form fields onto the Donorbox fields listed below.
  8. Optional: open Conditional Logic to limit which submissions are sent.
  9. Click Save Integration.

Tasks supported

Create Donor

Creates a new donor record from the form submission.

Field Field key Required Notes
First Name (required first_name Yes
Last Name (required last_name Yes
Email (required email Yes
Phone phone No
Street Address street_address No
City city No
State / Province state No
ZIP / Postal Code zip No
Country (defaults to United States country No
Company / Organization company No
Is Anonymous (true / false — defaults to false is_anonymous No
Notes notes No

Conditional logic example

Only send data to Donorbox when the form’s email field is not empty, so test submissions or incomplete entries do not create records. Add a condition: Email is not empty.

Troubleshooting

Nothing arrives in Donorbox

Open AFI → Log and find the most recent entry for this integration. AFI stores the request it sent and the raw response it got back. If there is no log entry at all, the trigger never fired: re-check the form selection and submit a real test entry from the front end.

API key rejected

Copy the key directly from Donorbox with no leading or trailing spaces. If the key was revoked or regenerated, update it in AFI → Settings → Donorbox.

Related docs