> For the complete documentation index, see [llms.txt](https://docs.anedot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anedot.com/integrations/crm-donor-management/donorperfect.md).

# DonorPerfect

Connect Anedot to DonorPerfect to send donors, gifts and pledges from your Action Pages, manage your connection, and review field mapping and payload data.

The **Donor Perfect** integration in **Settings > Integrations** sends donors, gifts and pledges from your Action Pages to DonorPerfect, a CRM (customer relationship management) system for donor management. This page covers how to connect Anedot to DonorPerfect, manage your connection, see what Anedot sends, find your data in DonorPerfect, and review field mapping, hidden fields and payload data.

## Before You Begin

* You need **Integrations: Edit permissions** to add, edit, push or delete a connection. Integrations: Edit permissions also require **Action Pages: View permissions** and **Integrations: View permissions**. See [Permission Sets](https://docs.anedot.com/settings/access/permission-sets.md).
* You need a DonorPerfect account. You log in to DonorPerfect at id.donorperfect.net.
* You need a DonorPerfect API key. You create it in the **API Self Service** tab in **User Management** in DonorPerfect. See [Step 1: Get Your DonorPerfect API Key](https://docs.anedot.com/integrations/crm-donor-management/donorperfect.md#step-1-get-your-donorperfect-api-key).
* (Optional) To add DonorPerfect codes such as `solicit_code` or `campaign` to gifts and pledges, add hidden fields to your Action Pages. See [Hidden And Special Fields](https://docs.anedot.com/integrations/crm-donor-management/donorperfect.md#hidden-and-special-fields).

## Connect Anedot to DonorPerfect

### Step 1: Get Your DonorPerfect API Key

The connection uses an API key that you create in DonorPerfect. You'll enter this key in Anedot.

To get your API key:

1. Go to id.donorperfect.net and log in to DonorPerfect.
2. Open the **API Self Service** tab in **User Management**.
3. Create a new API key, or copy your existing key.

If you don't see the **API Self Service** tab, contact DonorPerfect support at 800-220-8080.

{% hint style="warning" %}
DonorPerfect API calls aren't limited by the permissions of the user tied to the key. Treat the API key like a password and don't share it.
{% endhint %}

### Step 2: Create the Connection in Anedot

To create the connection:

1. Go to **Settings > Integrations**.
2. Click **New integration**.
3. Choose **Donor Perfect**.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Donor Perfect</strong> appears under the <strong>CRM</strong> category with the text "Send Action Page data to DonorPerfect."</p></div>
4. Choose the Action Page scope:

   * Keep **All Action Pages** checked to include every Action Page, including pages you add later. (Optional) In **Exclude Pages**, enter a comma separated list of Action Page IDs with no spaces.
   * Uncheck **All Action Pages** and choose pages in **Selected pages** to include only the pages you pick.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>In <strong>Action Pages > Action Pages</strong>, the <strong>Name</strong> column shows an ID chip with the last 7 characters of each page's ID. Hover over the chip to see the full ID, and copy it to see the message "Page ID copied."</p></div>
5. Leave **Team** set to **All teams**.
6. Enter your API key in **Donor Perfect API key**.
7. Click **Create integration**.

The connection is created, and Anedot starts sending new qualifying records to DonorPerfect. Anedot shows the message "Integration created."

{% hint style="warning" %}
The **Donor Perfect API key** can't be viewed or changed after you save. Check the key before you click **Create integration**.
{% endhint %}

{% hint style="info" %}
Anedot doesn't check your API key when you create the connection. If the key is wrong, you'll see **Failure** rows when the first record is sent.
{% endhint %}

{% hint style="warning" %}
Anedot sandbox accounts send to the same DonorPerfect endpoint as production accounts. Data is written to the DonorPerfect database for the API key you enter, so don't test with a production key unless you intend to write to that database.
{% endhint %}

## Manage Your Connection

### Edit Your Connection

You can change the Action Page scope and **Name** on an existing connection. Until you add a name, the connection appears in the list as "Integration" followed by its ID. **Provider** is shown but can't be changed.

To edit your connection:

1. Go to **Settings > Integrations**.
2. Click **Edit** on the Donor Perfect connection.
3. Update the Action Page scope. The first time you edit the connection, enter a **Name**.
4. Leave the **Credentials/details JSON** box as it is.
5. Click **Save integration**.

Anedot saves your changes and shows the message "Integration updated."

The API key isn't shown in the Edit form, and the **Credentials/details JSON** box doesn't contain it. To change the API key, delete the connection and connect again with the new key. See [Delete Your Connection](https://docs.anedot.com/integrations/crm-donor-management/donorperfect.md#delete-your-connection).

### Push Unsent Records

**Push unsent** is on the connection's row in **Settings > Integrations**. It sends submissions and successful recurring charges in the date range you enter that haven't already been sent successfully. Only records with a donation are sent, as described in [What Anedot Sends](https://docs.anedot.com/integrations/crm-donor-management/donorperfect.md#what-anedot-sends).

* Enter a **Start date** and **End date**. The dates default to the last 30 days in your account's time zone.
* The range can be up to 31 days.
* The start date must be within the last 12 months.
* Wait about five minutes between pushes.

When the push begins, Anedot shows the message "Push started." For full steps, see [Push Unsent in Webhooks (API)](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#push-unsent).

### Delete Your Connection

To delete your connection:

1. Go to **Settings > Integrations**.
2. Click **Delete** on the Donor Perfect connection.
3. Confirm the prompt "Delete this integration?".

Anedot stops sending to DonorPerfect and shows the message "Integration deleted." Data already in DonorPerfect isn't changed.

To reconnect, follow the steps in [Connect Anedot to DonorPerfect](https://docs.anedot.com/integrations/crm-donor-management/donorperfect.md#connect-anedot-to-donorperfect) again.

## Data Relays

Anedot pushes records to DonorPerfect. It reads from DonorPerfect only to look up a donor or a pledge.

### What Anedot Sends

Anedot sends a record when a donation is completed:

* **Donation Pages**: sent after the payment succeeds. This includes Terminal and offline gifts.
* **Event Pages with a charge**: sent after the charge succeeds.
* **Recurring charges**: each successful charge is sent when it succeeds.

For each record, Anedot looks up the donor by email, creates a new donor when needed, creates a pledge when the record is the first gift of a commitment, and then creates the gift.

When a submission has more than one donation (one for each amount allocation), Anedot creates a parent gift and one child gift for each donation:

* **Parent gift**: `record_type` is `M`, `split_gift` is `N`, and `gl_code`, `solicit_code` and `campaign` are `SEE_SPLIT`. The amount is the total processed amount, and `reference` is the submission ID.
* **Child gifts**: `record_type` is `G`, `split_gift` is `Y`, and `glink` points to the parent gift. Each child has its donation's fund identifier in `gl_code`, its donation uid in `reference`, and its donation amount.

Amounts are sent in dollars, for example 25.0. Products, tickets, UTM values, `source_code`, `gift_rk` and the connection **Name** aren't sent.

### How Anedot Matches Donors

Anedot looks up the donor in DonorPerfect by exact email address.

* If exactly one donor matches, Anedot adds the gift to that donor and doesn't update the donor's existing details.
* If no donor matches, Anedot creates a new donor.

Recurring charges look up the donor the same way.

### How Anedot Matches Pledges

The first gift of a commitment can create a pledge in DonorPerfect. The pledge is created with a `total` of 0 and no billing amount. For monthly, quarterly and semi-annual commitments, Anedot sets the pledge frequency to M, Q or S.

For each later payment, Anedot looks up the pledge by the donor, the date of the first gift, and record type P. When it finds one pledge, Anedot links the gift to it with `plink` and sets `pledge_payment` to `Y`. See [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md).

### Records Anedot Skips

Anedot doesn't send these records, and no row appears in **Settings > Integrations > Integration Requests**:

* Lead Page submissions, because only records with a donation are sent.
* Event Page registrations with nothing to charge ($0 registrations).
* Donation Page submissions with no completed donation.
* Recurring charges that didn't succeed.
* Submissions from an excluded Action Page.
* Records that were already sent successfully.

Anedot also doesn't send refunds, chargebacks, voids, ACH returns, Abandoned Actions, later edits to a submission, or commitment cancellations.

### Delivery Statuses

Each record Anedot sends can create more than one row in **Settings > Integrations > Integration Requests**, for example a donor lookup, a donor create, a pledge and a gift. Each row shows one of these statuses:

* **Success**: DonorPerfect accepted the request.
* **Failure**: DonorPerfect returned an error, such as "login failed," or a non-2xx HTTP status. DonorPerfect can return an error with HTTP 200. After you fix the cause, use **Push unsent** to send the record again.
* **Error**: Anedot couldn't complete the request, for example because of a connection problem.

See [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md).

## Find Your Data in DonorPerfect

To find a donor and their gifts:

1. Go to id.donorperfect.net and log in to DonorPerfect.
2. Use **Quick Search** to search by the donor's email address.
3. Open the donor record.
4. Open the **Gifts** tab to see the gifts Anedot sent.

## Field Mapping

Dates use the donation date in your account's time zone, as an unpadded date with a two-digit year, for example 11/12/26. Empty values are sent as null.

### Donor Fields

| Anedot Source                                                   | DonorPerfect Field                                                                                                  |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| Always 0 on create                                              | `donor_id`                                                                                                          |
| First name                                                      | `first_name`                                                                                                        |
| Last name                                                       | `last_name`                                                                                                         |
| Middle name                                                     | `middle_name`                                                                                                       |
| Suffix                                                          | `suffix`                                                                                                            |
| Title                                                           | `title`                                                                                                             |
| Title if present, otherwise first name                          | `salutation`                                                                                                        |
| Address line 1                                                  | `address`                                                                                                           |
| Address line 2                                                  | `address2`                                                                                                          |
| City                                                            | `city`                                                                                                              |
| State (region)                                                  | `state`                                                                                                             |
| Postal code                                                     | `zip`                                                                                                               |
| Country, as stored                                              | `country`                                                                                                           |
| Phone                                                           | `mobile_phone`                                                                                                      |
| Email                                                           | `email`                                                                                                             |
| Always null                                                     | `prof_title`, `opt_line`, `address_type`, `home_phone`, `business_phone`, `fax_phone`, `nomail_reason`, `narrative` |
| Always "N"                                                      | `org_rec`, `nomail`                                                                                                 |
| Always "IN"                                                     | `donor_type`                                                                                                        |
| The `donor_rcpt_type` hidden field, or "I" when there isn't one | `donor_rcpt_type`                                                                                                   |
| Always "Anedot"                                                 | `user_id`                                                                                                           |

### Gift Fields

| Anedot Source                                                                      | DonorPerfect Field                                                                                                                                                                                                        |
| ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Always 0 on create                                                                 | `gift_id`                                                                                                                                                                                                                 |
| The donor Anedot found or created                                                  | `donor_id`                                                                                                                                                                                                                |
| "G" for a single or child gift, "M" for a split parent                             | `record_type`                                                                                                                                                                                                             |
| The donation date                                                                  | `gift_date`                                                                                                                                                                                                               |
| Donation amount in dollars; a split parent uses the total processed amount         | `amount`                                                                                                                                                                                                                  |
| The donation's fund identifier; "SEE\_SPLIT" on a split parent                     | `gl_code`                                                                                                                                                                                                                 |
| "N" for a single gift or split parent, "Y" for each child                          | `split_gift`                                                                                                                                                                                                              |
| "Y" when the gift is linked to a pledge, otherwise "N"                             | `pledge_payment`                                                                                                                                                                                                          |
| Donation uid on a single gift and on children; the submission ID on a split parent | `reference`                                                                                                                                                                                                               |
| Always 0                                                                           | `fmv`, `batch_no`                                                                                                                                                                                                         |
| Parent gift ID on children, otherwise null                                         | `glink`                                                                                                                                                                                                                   |
| The matching pledge gift ID when one is found, otherwise null                      | `plink`                                                                                                                                                                                                                   |
| Always "N"                                                                         | `nocalc`, `receipt`                                                                                                                                                                                                       |
| Always "USD"                                                                       | `currency`                                                                                                                                                                                                                |
| Always "Anedot"                                                                    | `user_id`                                                                                                                                                                                                                 |
| Hidden field with the same label, or null when not provided                        | `solicit_code`, `sub_solicit_code`, `campaign`, `gift_aid_date`, `gift_aid_amt`, `gift_aid_eligible_g`, `gift_type`, `gift_narrative`, `gfname`, `glname`, `memory_honor`, `old_amount`, `transaction_id`, `ty_letter_no` |
| "SEE\_SPLIT" on a split parent                                                     | `solicit_code`, `campaign`                                                                                                                                                                                                |
| The `receipt_delivery_g` hidden field, or "N" when not provided                    | `receipt_delivery_g`                                                                                                                                                                                                      |
| The `acknowledgepref` hidden field, or "3DD" when not provided                     | `acknowledgepref`                                                                                                                                                                                                         |

### Pledge Fields

| Anedot Source                                                   | DonorPerfect Field                                                                                                                                                                |
| --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Always 0 on create                                              | `gift_id`                                                                                                                                                                         |
| The donor Anedot found or created                               | `donor_id`                                                                                                                                                                        |
| The donation date                                               | `gift_date`, `start_date`                                                                                                                                                         |
| Always 0                                                        | `total`                                                                                                                                                                           |
| Always null                                                     | `bill`, `writeoff_amount`, `writeoff_date`, `membership_type`, `membership_level`, `membership_enr_date`, `membership_exp_date`, `membership_link_id`, `address_id`, `contact_id` |
| M, Q or S for monthly, quarterly or semi-annual commitments     | `frequency`                                                                                                                                                                       |
| Always "Y"                                                      | `reminder`                                                                                                                                                                        |
| Always "N"                                                      | `initial_payment`                                                                                                                                                                 |
| The fund identifier                                             | `gl_code`                                                                                                                                                                         |
| Always "Anedot"                                                 | `user_id`                                                                                                                                                                         |
| Hidden field with the same label, or null when not provided     | `solicit_code`, `sub_solicit_code`, `campaign`, `gift_narrative`, `ty_letter_no`, `vault_id`                                                                                      |
| The `receipt_delivery_g` hidden field, or "N" when not provided | `receipt_delivery_g`                                                                                                                                                              |

Fields that come from hidden fields are described in [Hidden And Special Fields](https://docs.anedot.com/integrations/crm-donor-management/donorperfect.md#hidden-and-special-fields).

## Hidden And Special Fields

You can add DonorPerfect values to gifts, pledges and donors with hidden fields on your Action Pages. See [Hidden Fields](https://docs.anedot.com/action-pages/page-builder/hidden-fields.md).

* The field label must match the DonorPerfect field name exactly, including case.
* A field is sent only when it was saved as a response with a value.
* If two fields share a label, only the first is used.
* Other hidden fields, UTM fields and other custom field answers aren't sent.

Gift fields:

* `solicit_code`, `sub_solicit_code`, `campaign`, `gift_aid_date`, `gift_aid_amt`, `gift_aid_eligible_g`, `gift_type`, `gift_narrative`, `gfname`, `glname`, `memory_honor`, `old_amount`, `transaction_id`, `ty_letter_no`
* `receipt_delivery_g`: defaults to `N` when not provided.
* `acknowledgepref`: defaults to `3DD` when not provided.

Pledge fields:

* `solicit_code`, `sub_solicit_code`, `campaign`, `gift_narrative`, `ty_letter_no`, `vault_id`
* `receipt_delivery_g`: defaults to `N` when not provided.

Donor field:

* `donor_rcpt_type`: defaults to `I` when not provided.

{% hint style="info" %}
On a split parent gift, `solicit_code` and `campaign` are always `SEE_SPLIT`. Child gifts use the hidden field values when present.
{% endhint %}

## Payload Data

Integration Requests stores each request as a SQL string for lookups or a parameter string for saves, along with the XML response and the HTTP status. The API key isn't stored in the request.

### Find Donor

```
select donor_id, first_name, last_name, address, city, state, zip from dp where email = 'annie.dot@example.com'
```

### Save Donor

```
@donor_id=0, @first_name="Annie", @last_name="Dot", @middle_name=null, @suffix=null, @title=null, @salutation="Annie", @prof_title=null, @opt_line=null, @address="123 Main St", @address2=null, @city="Baton Rouge", @state="LA", @zip="70801", @country="US", @address_type=null, @home_phone=null, @business_phone=null, @fax_phone=null, @mobile_phone="2255550100", @email="annie.dot@example.com", @org_rec="N", @donor_type="IN", @nomail="N", @nomail_reason=null, @narrative=null, @donor_rcpt_type="I", @user_id="Anedot"
```

### Save Gift

This example shows a single $25 gift for donor 147 to the fund identifier GENERAL, given 11/12/2026.

```
@gift_id=0, @donor_id=147, @record_type="G", @gift_date="11/12/26", @amount=25.0, @gl_code="GENERAL", @split_gift="N", @pledge_payment="N", @reference="<donation uid>", @fmv=0, @batch_no=0, @glink=null, @plink=null, @nocalc="N", @currency="USD", @receipt="N", @user_id="Anedot", @solicit_code=null, @sub_solicit_code=null, @campaign=null, @gift_aid_date=null, @gift_aid_amt=null, @gift_aid_eligible_g=null, @gift_type=null, @gift_narrative=null, @gfname=null, @glname=null, @memory_honor=null, @old_amount=null, @receipt_delivery_g="N", @acknowledgepref="3DD", @transaction_id=null, @ty_letter_no=null
```

### Save Pledge

This example shows a monthly pledge for the same donor and date.

```
@gift_id=0, @donor_id=147, @gift_date="11/12/26", @start_date="11/12/26", @total=0, @bill=null, @frequency="M", @reminder="Y", @initial_payment="N", @gl_code="GENERAL", @writeoff_amount=null, @writeoff_date=null, @user_id="Anedot", @membership_type=null, @membership_level=null, @membership_enr_date=null, @membership_exp_date=null, @membership_link_id=null, @address_id=null, @contact_id=null, @solicit_code=null, @sub_solicit_code=null, @campaign=null, @gift_narrative=null, @receipt_delivery_g="N", @ty_letter_no=null, @vault_id=null
```

### Success Response

A gift that DonorPerfect created returns the new gift ID:

```xml
<result><record><field id="gift_id" name="gift_id" value="67890"/></record></result>
```

A successful donor create uses the same shape, with a field named `donor_id` that holds the new donor ID.

### Failure Response

DonorPerfect can return this response with HTTP 200:

```xml
<result><field name="success" reason="login failed" id="success" value="false"/></result>
```

## Troubleshooting

### Integration Requests Shows Failure

Open the row in **Settings > Integrations > Integration Requests** and read the DonorPerfect response. A "login failed" response usually means the API key is wrong. Delete the connection and connect again with the correct key, then use **Push unsent** to send the records again.

### Integration Requests Shows Error

Anedot couldn't complete the request, for example because of a connection problem. Use **Push unsent** to send the records again.

### A Donor or Gift Doesn't Appear in DonorPerfect

Check **Settings > Integrations > Integration Requests** for the record.

* If there's no row, the record was skipped or hasn't been sent yet. Check that the Action Page is included in the connection's page scope and that a donation was completed.
* Lead Page submissions and $0 Event Page registrations aren't sent.
* If the donor already existed in DonorPerfect, the gift is on that existing donor record.

### You Need to Change the API Key

The API key can't be changed on an existing connection. Delete the connection and connect again with the new key.

If the issue continues, contact our Support team at <help@anedot.com>.

## Related Articles

* [Integrations](https://docs.anedot.com/integrations.md)
* [CRM & Donor Management](https://docs.anedot.com/integrations/crm-donor-management.md)
* [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md)
* [Push Unsent in Webhooks (API)](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#push-unsent)
* [Permission Sets](https://docs.anedot.com/settings/access/permission-sets.md)
* [Hidden Fields](https://docs.anedot.com/action-pages/page-builder/hidden-fields.md)
* [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.anedot.com/integrations/crm-donor-management/donorperfect.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
