> 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/political-campaign-tools/aristotle.md).

# Aristotle

Connect Anedot to Aristotle to send completed donations to Campaign Manager, manage the connection, and review field mapping, payload data, and troubleshooting.

The **Aristotle** integration sends completed donation data from your Action Pages to Aristotle Campaign Manager, and lives in **Settings > Integrations**. This article covers how to connect Anedot to Aristotle, manage your connection, review what Anedot sends, find your data in Campaign Manager, and review field mapping, payload data, and troubleshooting.

## 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 an Aristotle Access Token from Aristotle Support.

## Connect Anedot to Aristotle

### Step 1: Get Your Aristotle Access Token

To get your Access Token:

1. Email <support@aristotle.com> and request an Access Token.
2. Wait for Aristotle to send the Access Token.

You don't need to set up anything else in Campaign Manager before you connect Anedot. Once you receive your Access Token, you're ready to enter it in Anedot.

{% hint style="info" %}
You can also reach Aristotle Support by phone at 888-217-9600.
{% endhint %}

### Step 2: Create the Connection in Anedot

To create the connection:

1. Go to **Settings > Integrations**.
2. Click **New integration**.
3. Choose **Aristotle**. The card is in the **Compliance** category and is described as "Send Action Page submission data to Aristotle."
4. Choose which Action Pages to include:
   * Leave **All Action Pages** checked to include all current and future pages. The checkbox includes the note "Includes future pages added after this integration is saved."
   * Uncheck **All Action Pages** and choose pages in **Selected pages** to include only the pages you pick.
5. (Optional) If **All Action Pages** is checked, enter a comma separated list of Action Page IDs, with no spaces, in **Exclude Pages** to leave those pages out.
6. Leave **Team** set to **All teams**, or choose a team to include only that team's pages. The help text is "Optionally limit this connection to one team."
7. Enter your Access Token in **Aristotle access token**. This field is required.
8. Click **Create integration**.

Anedot shows "Integration created." and the connection appears in your list of integrations.

The list may show **Integration** followed by the connection ID, for example "Integration 42", until you enter a **Name** in **Edit**. **Name** and **Enabled** aren't on the create form, and **Enabled** is on by default.

{% hint style="info" %}
Creating the connection doesn't send anything to Aristotle. Anedot starts sending with the next completed donation the connection covers.
{% endhint %}

## Manage Your Connection

Each Aristotle connection in **Settings > Integrations** has **Edit**, **Push unsent**, and **Delete** buttons.

### Edit A Connection

To edit a connection:

1. Go to **Settings > Integrations**.
2. Click **Edit** on the Aristotle connection.
3. (Optional) Update your Action Page selection.
4. (Optional) Update **Team**, or leave **All teams**.
5. Enter a **Name** for the connection. **Name** is required to save.
6. (Optional) Check or uncheck **Enabled**.
7. Leave the **Credentials/details JSON** box as it is. It shows only details, or "None" when empty. Credentials are never shown.
8. Click **Save integration**.

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

The **Provider** field is greyed out and can't be changed. There's no Test button.

{% hint style="info" %}
Your access token isn't shown or changed in **Edit**. To use a different access token, delete the connection and connect again.
{% endhint %}

### Turn A Connection Off or On

The **Enabled** checkbox controls whether Anedot sends donations to Aristotle. When **Enabled** is off, Anedot doesn't send live donations or Push, and no Integration Requests row is created.

To turn a connection off or on:

1. Go to **Settings > Integrations**.
2. Click **Edit** on the Aristotle connection.
3. Uncheck **Enabled** to stop sending, or check **Enabled** to start sending again.
4. Click **Save integration**.

Anedot shows "Integration updated." and the connection stops or starts sending based on your choice.

### Push Unsent Donations

**Push unsent** sends completed donations in a date range that haven't already been successfully sent to Aristotle, including donations that failed or were never tried. Donations that were sent successfully aren't sent again.

When you push unsent donations:

* The **Start date** and **End date** 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 "Push started." For the full steps, see [Push Unsent](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#push-unsent) in Webhooks (API).

**Team** and **Exclude Pages** also apply to Push.

{% hint style="warning" %}
If **Enabled** is off, Anedot still shows "Push started." but nothing is sent and no Integration Requests row is created.
{% endhint %}

### Delete A Connection

To stop sending donations to Aristotle, delete the connection.

To delete a connection:

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

Anedot shows "Integration deleted." and stops sending donations to Aristotle. Contributions already in Campaign Manager aren't changed.

{% hint style="danger" %}
Deleting a connection can't be undone. To send donations to Aristotle again, connect again.
{% endhint %}

## Data Relays

### What Anedot Sends

* Anedot sends each completed donation, including each successful recurring charge, as its own JSON request.
* Multi-fund donations send one payload per donation. Each donation has one allocation and its own `ImportSetting`.
* `amount_in_cents` is a whole number of cents, including fees the donor covered, so a $25.00 gift is sent as `2500`.
* `created_at` is the donation date in the account's time zone, in ISO 8601 format with an offset, or Z when no time zone is set.
* `note` is the source code, or the page's default source code.
* `state` is a two-letter code. Full state names are converted, and unknown names are sent as an empty string.
* `ImportSetting` is the identifier of the first allocation's Action Page fund. It isn't required. If it's missing, Anedot sends an empty string. Anedot doesn't validate this value.
* Missing values are sent as empty strings.
* The access token is sent in the request body as `token` and is stored in Integration Requests as "\[REDACTED]".
* Hidden fields and custom fields aren't in the payload.

### Records Anedot Skips

Anedot doesn't send these to Aristotle, and no row is created in **Settings > Integration Requests** when a record is skipped:

* Conduit fund donations
* Lead Pages
* Free Event Pages
* Refunds, voids, chargebacks, ACH returns, and settled events
* Abandoned Actions
* Later edits
* Commitment changes, such as a cancellation

### Delivery And Retries

Every attempt to send a donation to Aristotle appears in **Settings > Integration Requests**. Each row shows the request body and the response. Stored request headers are empty. For more about reading request rows, see [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md).

* **Success:** Aristotle responded with HTTP 200. A blank success body is stored as `{}`.
* **Failure:** Aristotle responded with any other HTTP status. These aren't retried. Fix the cause, then use **Push unsent**.
* **Error:** Anedot couldn't complete the request, for example because of a timeout or a connection failure. The row may show "No HTTP status." These attempts can be tried again automatically.

When a row shows Failure, Anedot emails users who have the **Integration sync failed** notification turned on in the Integrations section of their notification settings. This notification is off by default, and it isn't sent for Error rows. The subject is "Anedot" followed by the connection **Name** and "Integration Failed", or "Anedot Aristotle Integration Failed" when the connection has no name. See [Notifications](https://docs.anedot.com/get-started/security/notifications.md).

### When Enabled Turns Off

Five token errors without a success in between turn **Enabled** off, and Anedot stops sending. A token error is an HTTP 404 response with the body `{"Message":"Token was invalid"}`, or an HTTP 401 or 403 response. A successful HTTP 200 send resets this. Other HTTP failures, such as 400 or 500, don't count toward it and don't reset it.

Clicking **Save integration** doesn't reset that count. Because the access token can't be changed after you create the connection, if the token is invalid, delete the connection and create a new one with a valid Access Token. Then use **Push unsent** to send the donations you missed.

## Find Your Data in Aristotle

First, confirm the send in **Settings > Integration Requests**. Look for a Success row.

After Anedot sends a donation, the contribution appears in Campaign Manager at **Fundraising > Import Queue**. From there, you can Import, Delete, or Skip each transaction.

{% hint style="warning" %}
Import and Delete in the Import Queue can't be undone.
{% endhint %}

Incoming contributions are tagged with the default account, default election period, and default category automatically. Campaign Manager matches donors using first name, last name, and zip code. If one of these doesn't match exactly, Aristotle creates a new donor record. What Aristotle does after you import a contribution is set by Aristotle.

{% hint style="info" %}
Aristotle recommends using Google Chrome, keeping one Campaign Manager tab open, and having one user work in the Import Queue at a time.
{% endhint %}

## Field Mapping

| Anedot Value                                                                                   | Aristotle Field                                   |
| ---------------------------------------------------------------------------------------------- | ------------------------------------------------- |
| Access Token (stored as \[REDACTED])                                                           | `token`                                           |
| Source code, or the page's default source code                                                 | `payload.donation.note`                           |
| Email                                                                                          | `payload.donation.donor.email`                    |
| Phone                                                                                          | `payload.donation.donor.phone`                    |
| Employer name                                                                                  | `payload.donation.donor.employer`                 |
| Last name                                                                                      | `payload.donation.donor.last_name`                |
| First name                                                                                     | `payload.donation.donor.first_name`               |
| Occupation                                                                                     | `payload.donation.donor.occupation`               |
| Employer city                                                                                  | `payload.donation.donor.work_address.city`        |
| Employer state (two-letter)                                                                    | `payload.donation.donor.work_address.state`       |
| Postal code                                                                                    | `payload.donation.donor.primary_address.zip`      |
| City                                                                                           | `payload.donation.donor.primary_address.city`     |
| State or region (two-letter)                                                                   | `payload.donation.donor.primary_address.state`    |
| Address line 1                                                                                 | `payload.donation.donor.primary_address.address1` |
| Address line 2                                                                                 | `payload.donation.donor.primary_address.address2` |
| Donation date in the account time zone, ISO 8601                                               | `payload.donation.created_at`                     |
| Amount as an integer in cents, including fees the donor covered, for example `2500` for $25.00 | `payload.donation.amount_in_cents`                |
| Identifier of the first allocation's Action Page fund, or an empty string if missing           | `ImportSetting`                                   |

## Payload Data

This is the request body as stored in **Settings > Integration Requests** for a $25.00 one-time card donation from Annie Dot. Values in angle brackets are placeholders. Stored request headers are empty.

```json
{
  "payload": {
    "donation": {
      "amount_in_cents": 2500,
      "created_at": "<YYYY-MM-DDTHH:MM:SS±HH:MM>",
      "donor": {
        "first_name": "Annie",
        "last_name": "Dot",
        "email": "annie.dot@example.com",
        "phone": "<phone or empty>",
        "primary_address": {"address1": "<street>", "address2": "<street 2 or empty>", "city": "<city>", "state": "<2-letter>", "zip": "<zip>"},
        "work_address": {"city": "<employer city or empty>", "state": "<2-letter or empty>"},
        "occupation": "<occupation or empty>",
        "employer": "<employer or empty>"
      },
      "note": "<source code or empty>"
    }
  },
  "token": "[REDACTED]",
  "ImportSetting": "<fund identifier or empty>"
}
```

**Response Status (Success):** 200

**Response Body (Success):** stored as `{}` when the body is blank.

```json
{}
```

**Response Status (Failure):** 404

**Response Body (Failure):**

```json
{"Message":"Token was invalid"}
```

## Troubleshooting

### A Donation Isn't in the Import Queue

1. Check **Settings > Integration Requests** for a Success row for the donation.
2. Confirm **Enabled** is checked on the connection.
3. Confirm the Action Page is included by your Action Page selection, isn't listed in **Exclude Pages**, and belongs to the selected **Team**.
4. Confirm the payment completed and isn't a conduit fund donation.

Lead Pages and free Event Pages aren't sent to Aristotle.

### A Row Shows Token Was Invalid or Enabled Turned Off

The access token can't be changed in **Edit**. Delete the connection and create a new one with a valid Access Token, then use **Push unsent** to send the donations you missed. If **Enabled** turned off, see [When Enabled Turns Off](https://docs.anedot.com/integrations/political-campaign-tools/aristotle.md#when-enabled-turns-off) and [Turn A Connection Off or On](https://docs.anedot.com/integrations/political-campaign-tools/aristotle.md#turn-a-connection-off-or-on).

### A Row Shows Error or No HTTP Status

Anedot couldn't complete the request. Wait for the automatic retries, or use **Push unsent** after the issue is resolved.

### You Need to Use a Different Access Token

Delete the connection and connect again with the new Access Token.

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

## Related Articles

* [Integrations](https://docs.anedot.com/integrations.md)
* [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md)
* [Webhooks (API)](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md)
* [Permission Sets](https://docs.anedot.com/settings/access/permission-sets.md)
* [Teams](https://docs.anedot.com/settings/access/teams.md)
* [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md)
* [Notifications](https://docs.anedot.com/get-started/security/notifications.md)
* [Political Campaign Tools](https://docs.anedot.com/integrations/political-campaign-tools.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/political-campaign-tools/aristotle.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.
