> 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/crimson-julep.md).

# Crimson And Julep by CMDI

Connect Anedot to Crimson or Julep by CMDI to send donation data, manage your connection, and review field mapping, payload data, and troubleshooting.

The **Crimson And Julep by CMDI** integration sends donation events from your Action Pages to Crimson or Julep, CRM platforms from CMDI, and lives in **Settings > Integrations**. This article covers how to get your tokens, create the connection, manage your connection, review what Anedot sends, find your data, 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 also need:

* Your Anedot API token, which you copy from the Zapier form in Anedot.
* A Crimson or Julep **Token** from a Project Admin in Crimson or Julep.

{% hint style="info" %}
Only Project Admin users in Crimson or Julep can turn on these settings.
{% endhint %}

## Connect Anedot to Crimson or Julep

### Step 1: Get Your Tokens

You need two tokens. First, copy your Anedot API token. Then enter it in Crimson or Julep to create the Crimson or Julep **Token**.

#### Copy Your Anedot API Token

1. Go to **Settings > Integrations**.
2. Click **New integration**.
3. Choose **Zapier**.
4. Click **Copy** to copy your **API token**.

Your Anedot API token is now copied and ready to enter in Crimson or Julep.

{% hint style="info" %}
You can copy the token and leave the Zapier form without creating a Zapier connection.
{% endhint %}

#### Create Your Crimson or Julep Token

1. Go to Crimson or Julep and log in.
2. Click the **My Account** dropdown in the top right.
3. Select **Account settings**. **Organization Info** opens in Crimson, or **Organization Information** opens in Julep.
4. Click **Anedot**.
5. Start a new integration for a specific Fund Code. To edit an existing integration, click its name instead.
6. Enter the email address for your Anedot user account.
7. Enter your Anedot API token.
8. If your user has more than one organization account, select the correct one from the list.
9. Click the Campaign Name button to complete setup.
10. Fill in the fields:
    * **Token:** This field can't be edited. You'll copy it in the last step.
    * **Fund Code:** Required. Assign it before you click **Submit**.
    * **Default Source Code:** Defaults to "ANEDOT". The Source Code must already exist in Fundraising Settings.
    * **Default Channel:** Defaults to "Web".
    * **Default Account Code:** (Optional) A bank Account.
    * **Default Payment Type:** Defaults to "AN - Anedot".
    * **Time Zone:** Anedot sends timestamps in UTC, and this setting converts them to set the Batch Date. The default is Eastern Standard Time (EST). Transactions entered on an internal form use the Date selected on that form, not the date of processing.
11. Click **Submit**.
12. Copy the **Token**.

You now have the Crimson or Julep **Token** to enter in Anedot.

{% hint style="info" %}
Set up a separate API integration for each organization or Fund Code in Crimson or Julep.
{% endhint %}

{% hint style="info" %}
For help with Crimson settings, contact Crimson Support at 1-800-662-7400 or <crimsonsupport@cmdi.com>.
{% endhint %}

### Step 2: Create the Connection in Anedot

1. Go to **Settings > Integrations**.
2. Click **New integration**.
3. Choose **Crimson** or **Julep**. Both cards are in the Compliance category. The **Crimson** card says "Relay submissions to Crimson or Julep." The **Julep** card says "Relay submissions to Julep." Either card creates the same kind of connection.
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 Crimson or Julep token in **Token**. This field is required.
8. Click **Create integration**.

Anedot shows "Integration created." The connection appears in your list as **Crimson Integration Webhook** or **Julep Integration Webhook**.

{% hint style="warning" %}
If you choose **Selected pages** and pick exactly one page, donations from the CMDI Data Entry page aren't sent. If you choose a **Team**, Data Entry donations may not be sent unless that page is on the team.
{% endhint %}

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

The create form doesn't include **Name** or **Enabled**. **Enabled** is on by default. After you create the connection, the **Provider** field shows `crimson` for either card.

## Manage Your Connection

Your connection is listed in **Settings > Integrations**, with **Edit**, **Test**, **Push unsent**, and **Delete** buttons.

### Edit A Connection

1. Go to **Settings > Integrations**.
2. Click **Edit** on your connection. The **Edit integration** form opens.
3. (Optional) Change the Action Pages, **Exclude Pages**, or **Team**.
4. Leave **Name** as **Crimson Integration Webhook** or **Julep Integration Webhook**. You can't save without a **Name**.
5. (Optional) Check or uncheck **Enabled**.
6. Leave the **Credentials/details JSON** box as it is. It shows only details, or "None" when empty. Credentials are never shown.
7. Click **Save integration**.

Anedot shows "Integration updated."

{% hint style="info" %}
**Provider** is read-only and shows `crimson`. Edit doesn't show your token or let you change it, so to use a different token, delete the connection and connect again.
{% endhint %}

### Turn A Connection Off or On

1. Go to **Settings > Integrations**.
2. Click **Edit** on your connection.
3. Uncheck **Enabled** to stop new live sends, or check it to turn them back on.
4. Click **Save integration**.

Anedot shows "Integration updated." With **Enabled** off, Anedot doesn't send new live donation events and doesn't create an Integration Requests row for them.

{% hint style="info" %}
**Push unsent** still sends donations when **Enabled** is off.
{% endhint %}

### Test The Connection

1. Go to **Settings > Integrations**.
2. Click **Test** on your connection.

Anedot shows "Test webhook sent."

{% hint style="info" %}
A Test send doesn't create an Integration Requests row.
{% endhint %}

### Push Unsent Donations

**Push unsent** sends completed donations in a date range that haven't been sent successfully. This includes donations that failed and donations that were never tried. Donations that were already sent successfully aren't sent again.

1. Go to **Settings > Integrations**.
2. Click **Push unsent** on your connection.
3. Select a date range of up to 31 days that starts within the last 12 months, then start the push.

Anedot shows "Push started." Wait about five minutes, then check **Settings > Integration Requests** for the new rows.

Live sends skip check, cash, in-kind, and offline-card donations. **Push unsent** can include those donations if they're completed and were never sent successfully. Your Action Page scope, **Team**, and **Exclude Pages** settings apply to the completed donations that Push reviews. See [Push Unsent](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#push-unsent) in Webhooks (API).

{% hint style="warning" %}
If sends stop even though **Enabled** is still checked, or Push shows "Push started." but no new Integration Requests row appears, follow the steps in [Sending Stopped While Enabled Is Checked](https://docs.anedot.com/integrations/political-campaign-tools/crimson-julep.md#sending-stopped-while-enabled-is-checked).
{% endhint %}

### Delete A Connection

1. Go to **Settings > Integrations**.
2. Click **Delete** on your connection.
3. Confirm when you see the prompt "Delete this integration?"

Anedot shows "Integration deleted." Records already in Crimson or Julep don't change.

{% hint style="danger" %}
Deleting a connection can't be undone. To send donation events to Crimson or Julep again, connect again.
{% endhint %}

## Data Relays

### CMDI Data Entry Page

When you save the connection, Anedot creates a hidden Action Page named **CMDI Data Entry**. It doesn't appear in the Action Pages list or the page picker. It includes these hidden custom fields: batchno, batchdate, pid, campgncode, chapcode, comment, refno, `source_code`, and trackno. See [Hidden Fields](https://docs.anedot.com/action-pages/page-builder/hidden-fields.md).

The entry form is on Terminal at `https://terminal.anedot.com/crimson/<account_uid>/`. It accepts these query parameters: `pid`, `token`, `amount`, `batchno`, `batchdate`, `campgncode`, `chapcode`, `comment`, `refno`, `trackno`, `source_code`, `first_name`, `middle_name`, `last_name`, `title` or `prefix`, `suffix`, `frequency`, and `until`. Anedot doesn't show this URL in your account. If you include a `pid`, Anedot uses the CMDI token from the `token` parameter to look up the contact and fill in the form.

{% hint style="warning" %}
If you choose **Selected pages** and pick exactly one page, donations from the CMDI Data Entry page aren't sent. If you choose a **Team**, Data Entry donations may not be sent unless that page is on the team.
{% endhint %}

### What Anedot Sends

* Donation events: completed, refunded, partially refunded, voided, chargeback, chargeback reversed, and ACH returned.
* Recurring charges. Each successful recurring charge is sent as its own completed donation.
* Paid Event Page donations. Event and ticket fields aren't in the payload.
* Reversed donations that return to Completed. Anedot sends `donation_completed` again.
* Custom field responses, under `custom_field_responses`. Each key is the field label in lowercase, with spaces changed to underscores. This includes the CMDI Data Entry fields. `source_code` is a top-level field.

### Records Anedot Skips

When Anedot skips a send, it doesn't create an Integration Requests row. Anedot doesn't send:

* Conduit fund donations.
* Check, cash, in-kind, and offline-card donations on live sends. **Push unsent** can still send these if they're completed and were never sent successfully.
* Lead Pages, free Event Pages, settlements, Abandoned Actions, later edits, and commitment changes. See [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md).

### Delivery And Retries

You can review every send in **Settings > Integration Requests**. See [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md).

* **Success:** CMDI returned HTTP 2xx, or HTTP 3xx with a Location header.
* **Failure:** CMDI returned any other HTTP status. Failed items can be retried automatically, and the delay grows by one minute with each attempt.
* **Error:** Anedot couldn't complete the request, for example because of a timeout or a connection failure.

Anedot stops sending after 1,000 failed attempts in a row. If CMDI returns a `404` or can't be reached, Anedot stops sending after 10 failed attempts in a row. Any successful delivery resets the count. The count also resets every Sunday at 1:00 AM Central Time for connections that are still sending.

When a send fails, Anedot emails users who have the **Integration sync failed** notification turned on. This notification is off by default. The subject is "Anedot Crimson Integration Webhook Webhook Failed" or "Anedot Julep Integration Webhook Webhook Failed". See [Notifications](https://docs.anedot.com/get-started/security/notifications.md).

When sending stops after too many failed attempts, Anedot sends a separate email to Owners, Super Admins, Admins, and users who have **Integrations: Edit permissions**. This email doesn't depend on notification settings. The subject is "Anedot Crimson Integration Webhook Webhook Deactivated" or "Anedot Julep Integration Webhook Webhook Deactivated." The Julep subject is used when the fundraising account is a nonprofit organization that isn't political. The email names the connection, the account, and the destination host, asks you to review the errors under **Integrations**, and lists <help@anedot.com>.

## Find Your Data in Crimson or Julep

1. Go to **Settings > Integration Requests**.
2. Find a **Success** row for the donation.
3. Open Crimson or Julep and review the donation.

Crimson or Julep applies the Fund Code, Default Source Code, Default Channel, Default Payment Type, and Time Zone you set when you created the token. The Time Zone setting determines the Batch Date. What happens after Crimson or Julep accepts a donation is controlled by CMDI.

## Field Mapping

### Request Headers

Anedot stores these headers on each Integration Requests row.

| Header                | Value                                        |
| --------------------- | -------------------------------------------- |
| `User-Agent`          | `Anedot-Hookshot/<7-char revision>`          |
| `X-Request-Id`        | The request ID                               |
| `X-Request-Signature` | The request signature                        |
| `X-Integration-Event` | The event name, such as `donation_completed` |
| `X-Integration-Id`    | The connection ID                            |

### Body Fields

Most values are strings. Blank values are sent as `""`.

| Field                                                                                                          | Description                                                                                                 |
| -------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `event`                                                                                                        | The event name, such as `donation_completed`                                                                |
| `account_name`                                                                                                 | Your account display name                                                                                   |
| `account_uid`                                                                                                  | Your account UID                                                                                            |
| `action_page_id`                                                                                               | The Action Page ID                                                                                          |
| `action_page_name`                                                                                             | The Action Page name                                                                                        |
| `address_line_1`, `address_line_2`, `address_city`, `address_region`, `address_postal_code`, `address_country` | The donor's address                                                                                         |
| `amount_in_dollars`                                                                                            | The donation amount as a dollar string, such as `"25.0"`                                                    |
| `event_amount`                                                                                                 | The event amount as a dollar string, such as `"25.00"`                                                      |
| `net_amount`                                                                                                   | The amount after fees, as a string                                                                          |
| `donation`                                                                                                     | The donation ID, card details, products, fees, and fund. `donation.fund.name` is the Action Page fund name. |
| `email`                                                                                                        | The donor's email address                                                                                   |
| `name`, `first_name`, `middle_name`, `last_name`                                                               | The donor's name                                                                                            |
| `prefix`, `suffix`                                                                                             | The donor's prefix and suffix                                                                               |
| `phone`, `mobile`                                                                                              | The donor's phone numbers. Each is null if it's blank, matches your account's phone, or is `0000000000`.    |
| `employer_name`, `occupation`                                                                                  | The donor's employer and occupation                                                                         |
| `source_code`                                                                                                  | The source code, or empty                                                                                   |
| `custom_field_responses`                                                                                       | Custom field responses, keyed by field label in lowercase with underscores for spaces                       |
| `date`, `processed_date`, `updated_at`                                                                         | Dates in UTC, formatted as `"YYYY-MM-DD HH:MM:SS UTC"`                                                      |
| `frequency`                                                                                                    | The donation frequency, such as `"once"`                                                                    |
| `recurring`                                                                                                    | Whether the donation is recurring, such as `"false"`                                                        |
| `payment`                                                                                                      | The payment type, such as `"credit_card"`                                                                   |
| `payment_description`                                                                                          | The payment method label                                                                                    |
| `status`                                                                                                       | The donation status, such as `"completed"`                                                                  |
| `origin`                                                                                                       | The donation origin                                                                                         |
| `commitment_uid`, `commitment_recurring_until`                                                                 | Commitment details, or empty                                                                                |
| `check_number`                                                                                                 | The check number, or empty                                                                                  |
| `referrer`, `referrer_to_form`                                                                                 | Referrer URLs                                                                                               |

Amounts are always dollar strings, not cents.

## Payload Data

These examples show a stored Integration Requests row for a $25.00 one-time card donation from Annie Dot (<annie.dot@example.com>). Values in angle brackets are placeholders.

### Request Headers

```json
{"User-Agent":"Anedot-Hookshot/<7-char revision>","X-Request-Id":"<relay uuid>","X-Request-Signature":"<signature>","X-Integration-Event":"donation_completed","X-Integration-Id":"<integration id>"}
```

### Request Body

```json
{"event":"donation_completed","payload":{
 "account_name":"<account display name>","account_uid":"<account uid>",
 "action_page_id":"<page uuid>","action_page_name":"<page name>",
 "address_city":"<city>","address_country":"US","address_line_1":"<street>","address_line_2":"",
 "address_region":"<ST>","address_postal_code":"<zip>","amount_in_dollars":"25.0",
 "check_number":"","commitment_recurring_until":"","commitment_uid":"",
 "custom_field_responses":{"<label_snake>":"<value>"},"date":"<YYYY-MM-DD HH:MM:SS UTC>",
 "donation":{"id":"<donation uid>","card_last_digits":"<last4>","card_type":"<type>",
  "credit_card_expiration":"<exp>","donation_project":"","products":[],
  "fees":{"anedot_fees":{"amount":"<x.xx>"},"vendor_fees":[]},
  "fund":{"id":"<fund id>","identifier":"<fund identifier>","name":"<Action Page fund name>"}},
 "email":"annie.dot@example.com","employer_name":"<employer>","event_amount":"25.00",
 "first_name":"Annie","frequency":"once","last_name":"Dot","middle_name":"","name":"<donor name>",
 "net_amount":"<net after fees>","occupation":"<occupation>","origin":"<origin>",
 "payment":"credit_card","payment_description":"<payment method label>",
 "phone":"<phone or null>","mobile":"<mobile or null>","prefix":"",
 "processed_date":"<YYYY-MM-DD HH:MM:SS UTC>","recurring":"false","referrer":"<url>",
 "referrer_to_form":"<url>","source_code":"<code or empty>","status":"completed","suffix":"",
 "updated_at":"<YYYY-MM-DD HH:MM:SS UTC>"}}
```

### Response

The response from Crimson or Julep is saved on the Integration Requests row. This article doesn't include a sample CMDI response.

## Troubleshooting

### A Donation Isn't in Crimson or Julep

* Check **Settings > Integration Requests** for a row for the donation.
* Confirm **Enabled** is checked for live sends.
* Review the Action Page scope, **Exclude Pages**, and **Team** settings.
* Check the payment method. Live sends skip check, cash, in-kind, and offline-card donations. Use **Push unsent** to send these completed donations.
* Conduit fund donations aren't sent.
* Lead Pages and free Event Pages aren't sent.

### You Need to Use a Different Token

You can't change the token on an existing connection. Delete the connection, connect again with the new token, then use **Push unsent**.

### Sending Stopped While Enabled Is Checked

A connection that stopped sending after too many failed requests can still show as enabled, with **Enabled** checked. You may also see Push show "Push started." with no new Integration Requests row. To start it sending again:

1. Fix the cause of the failed requests. Review the responses in **Settings > Integration Requests** to find it.
2. Go to **Settings > Integrations** and open the connection.
3. Click **Save integration**. You don't need to change any other fields. Saving starts the connection sending again.
4. Use **Push unsent** to send the events you missed.

### CMDI Data Entry Donations Aren't Sent

Make sure you didn't choose **Selected pages** with exactly one page. Also make sure your **Team** setting doesn't exclude the hidden CMDI Data Entry page.

### Integration Requests Shows Failure or Error

Review the response on the row. Wait for the automatic retries, or use **Push unsent** to send the donations again.

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)
* [Hidden Fields](https://docs.anedot.com/action-pages/page-builder/hidden-fields.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/crimson-julep.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.
