> 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/email-marketing-communication/email-octopus.md).

# Email Octopus

Connect Anedot to EmailOctopus to add donors and supporters from Action Page submissions to an EmailOctopus list, and review the fields Anedot sends to it.

**EmailOctopus** is an email marketing platform. The integration adds the donor or supporter from each Action Page submission to one EmailOctopus list as a contact, or updates them if they're already on it. You set it up in **Settings > Integrations**, where you can connect Anedot to EmailOctopus, manage your connection, and review how data relays work, where to find your data, field mapping 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 an EmailOctopus account with the list you want to use.
* You need two values from EmailOctopus: an API key and the ID of the list contacts should be added to. Both fields are required in Anedot.
* Plan which fields you want filled in EmailOctopus. See [Step 3: Add Fields to Your List](https://docs.anedot.com/integrations/email-marketing-communication/email-octopus.md#step-3-add-fields-to-your-list).

## Connect Anedot to EmailOctopus

### Step 1: Get Your EmailOctopus API Key

You create the API key in your EmailOctopus account, not in Anedot.

To get your API key:

1. In EmailOctopus, go to the API key screen in your account.
2. Click **Add key** at the bottom of the page.
3. Enter a name for the key.
4. Click **Create**.
5. Copy the key.
6. (Optional) Click **Download** to save the key as a CSV file.

Your API key is ready to enter in Anedot.

{% hint style="warning" %}
EmailOctopus shows an API key only once, when you create it. If you lose a key, delete it on the API key screen, create a new one, and connect Anedot again with the new key.
{% endhint %}

### Step 2: Find Your List ID

To find your List ID:

1. In EmailOctopus, click your account name in the sidebar.
2. Go to **Your profile > Account settings > Manage lists**.
3. Click the drop-down next to your list.
4. Copy the list's ID.

You'll enter this ID in the **List ID** field in Anedot.

### Step 3: Add Fields to Your List

Every EmailOctopus list has three default fields: email address, first name and last name (tags `FirstName` and `LastName`). Anedot fills these with no setup.

Add a field to your list for each other value you want filled in EmailOctopus. The field's merge tag must match the EmailOctopus Field Tag in [Field Mapping](https://docs.anedot.com/integrations/email-marketing-communication/email-octopus.md#field-mapping) exactly, including capital letters and no spaces.

To add a field:

1. In EmailOctopus, go to your list and click the **Fields** tab.
2. Click **Add field**.
3. Enter a **Label**. The label is only a name inside EmailOctopus.
4. Choose the **Type** shown for that field in Field Mapping.
5. In **Merge tag**, enter the tag exactly as shown in Field Mapping. EmailOctopus fills the merge tag from the label, so check it and change it if it doesn't match.
6. Save the field.
7. Repeat these steps for each field you want filled.

The field is ready to receive values from Anedot.

{% hint style="info" %}
EmailOctopus Number fields accept only whole numbers, and Date fields only accept dates as YYYY-MM-DD, so use **Text** for every Anedot field. EmailOctopus also recommends Text fields for phone numbers. A Text field value can be up to 600 characters.
{% endhint %}

{% hint style="info" %}
Starter plans can add up to 7 fields of your own per list (10 in total with email address, first name and last name), and Pro plans can store up to 50 fields per list.
{% endhint %}

### Step 4: Create the Connection in Anedot

To create the connection:

1. Go to **Settings > Integrations**.
2. Click **New integration**.
3. Choose **Email Octopus**, or enter "Email Octopus" in the search box.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Email Octopus</strong> appears under the <strong>Email Marketing</strong> category with the text "Send Action Page submissions to EmailOctopus."</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 **Selected pages** to pick specific pages.
5. (Optional) In **Team**, choose a Team to limit the connection to that Team's Action Pages. Leave it set to **All teams** to include every Team. See [Teams](https://docs.anedot.com/settings/access/teams.md).
6. Enter your EmailOctopus API key in **Email Octopus API key**.
7. Enter the list's ID in **List ID**.
8. Click **Create integration**.

The connection is listed in **Settings > Integrations**.

{% hint style="success" %}
After you connect, submit a test on a covered Action Page with an email address and check **Settings > Integrations > Integration Requests** for a **Success** row.
{% endhint %}

## Manage Your Connection

### Edit Your Connection

You can change the Action Page scope, **Team**, **Name** and **Enabled** on an existing connection.

To edit your connection:

1. Go to **Settings > Integrations**.
2. Click **Edit** on the Email Octopus connection.
3. Update the Action Page scope, **Team**, **Name** or **Enabled**.
4. Click **Save integration**.

New settings apply to records sent from then on. Editing doesn't resend records already sent, and unchecking **Enabled** stops sending.

{% hint style="info" %}
The Edit form also shows a **Credentials/details JSON** box. Leave it as it is.
{% endhint %}

The API key and List ID aren't shown or changed in the Edit form. To use a different API key or List ID, delete the connection and connect again with the new values. See [Reconnect Or Delete Your Connection](https://docs.anedot.com/integrations/email-marketing-communication/email-octopus.md#reconnect-or-delete-your-connection).

### Push Unsent Records

**Push unsent** resends failed or never-sent submissions for a date range.

* The range can be up to 31 days.
* The start date must be within the last 12 months.
* Wait about five minutes between pushes.
* Only failed or unsent submissions are sent. Successful ones aren't sent again.

For full steps, see [Push Unsent in Webhooks (API)](https://docs.anedot.com/integrations/integration-automation-tools/webhooks.md#push-unsent).

### Reconnect Or Delete Your Connection

To delete your connection:

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

Anedot stops sending to EmailOctopus. Contacts already in EmailOctopus aren't changed.

To reconnect, follow the steps in [Connect Anedot to EmailOctopus](https://docs.anedot.com/integrations/email-marketing-communication/email-octopus.md#connect-anedot-to-emailoctopus) again.

{% hint style="info" %}
Submissions already sent successfully with the same API key aren't sent again after you reconnect.
{% endhint %}

## Data Relays

### What Anedot Sends

Anedot sends one record per Action Page submission in the connection's scope.

* Donation Pages, Event Pages and Lead Pages are all sent.
* Lead Page submissions are sent when they're submitted. Donation Page submissions are sent once the donation is completed.
* For each submission, Anedot adds the person to the list in **List ID** as an EmailOctopus contact. If a contact with that email address is already on the list, Anedot updates that contact's fields instead.
* Anedot sends the email address plus the fields in [Field Mapping](https://docs.anedot.com/integrations/email-marketing-communication/email-octopus.md#field-mapping). Blank values are sent empty.
* Custom field and hidden field answers from the Action Page aren't sent to EmailOctopus. Tracking values reach EmailOctopus through the source code and UTM codes.
* Each connection adds contacts to one list.
* Recurring donation payments, commitment changes (such as a cancellation), refunds, and donation status changes aren't sent. See [Commitments](https://docs.anedot.com/finance/management-and-reporting/commitments.md).

When Anedot adds a new contact, EmailOctopus gives it the status Subscribed, or Pending if your list uses double opt-in. A Pending contact needs to confirm their subscription. When the contact is already on the list, EmailOctopus updates the fields Anedot sends and doesn't change the contact's status.

### Records Anedot Skips

Anedot doesn't send these records, and they don't show a row in **Settings > Integrations > Integration Requests**:

* A submission with no email address.
* A submission that was already sent successfully to an Email Octopus connection with the same API key, including a connection you deleted and connected again.
* A Donation Page submission whose donation isn't completed yet. It's sent when it completes.
* Any submission while **Enabled** is unchecked.
* Recurring donation payments.

### Delivery And Retries

Each submission sent shows a row in **Settings > Integrations > Integration Requests** with its status (**Success**, **Failure** or **Error**), the request and the response. The stored request shows the API key as \[REDACTED]. See [Integration Requests](https://docs.anedot.com/integrations/relay-data-troubleshooting/integration-requests.md).

* **Success**: EmailOctopus accepted the new contact, or accepted the update to the existing contact.
* **Failure**: EmailOctopus rejected the record, and Anedot doesn't try that submission again. Fix the cause, then use [Push Unsent Records](https://docs.anedot.com/integrations/email-marketing-communication/email-octopus.md#push-unsent-records).
* **Error**: Anedot couldn't reach EmailOctopus and tries again automatically.

Users with the **Integration sync failed** notification turned on get an email when a row shows **Failure**. See [Notifications](https://docs.anedot.com/get-started/security/notifications.md).

{% hint style="warning" %}
Repeated authorization errors, where EmailOctopus rejects the API key, turn the connection off. A successful send resets this. If the connection stops sending, delete it and connect again with a working API key.
{% endhint %}

## Find Your Data in EmailOctopus

To find a contact from Anedot:

1. In EmailOctopus, open your list's contacts.
2. Type the person's email address in the search bar above the list.
3. Review the matching contacts that show below.
4. (Optional) To see the fields from Anedot in the table, use the **Table fields** button at the bottom of your list and tick **Custom fields**.

The contact's details show in the list.

## Field Mapping

| Anedot Value                                                         | EmailOctopus Field Tag | Field Type    |
| -------------------------------------------------------------------- | ---------------------- | ------------- |
| Email                                                                | `email_address`        | Default field |
| First name                                                           | `FirstName`            | Default field |
| Last name                                                            | `LastName`             | Default field |
| Phone                                                                | `Phone`                | Text          |
| Street address                                                       | `Street`               | Text          |
| Address line 2                                                       | `Street2`              | Text          |
| City                                                                 | `City`                 | Text          |
| State                                                                | `State`                | Text          |
| ZIP code                                                             | `Zip`                  | Text          |
| UTM campaign                                                         | `UTMCampaign`          | Text          |
| UTM content                                                          | `UTMContent`           | Text          |
| UTM medium                                                           | `UTMMedium`            | Text          |
| UTM source                                                           | `UTMSource`            | Text          |
| UTM term                                                             | `UTMTerm`              | Text          |
| Source code                                                          | `SourceCode`           | Text          |
| The exact value "Anedot: Donation Completed"                         | `Event`                | Text          |
| Total amount in dollars, such as 100.0 (0.0 when there's no payment) | `Amount`               | Text          |
| Submission date and time in your account's time zone                 | `Date`                 | Text          |
| Referring page                                                       | `Referrer`             | Text          |

* **`SourceCode`**: The source code in the page link (`source_code`, `sc` or `refcd`), or the page's **Default Source Code** when the link has none. Set a default in [Page Settings: SEO, Sharing, and Tracking](https://docs.anedot.com/action-pages/page-builder/page-settings-seo-sharing-and-tracking.md). See [URL Parameters](https://docs.anedot.com/action-pages/advanced-features/url-parameter.md).
* **`UTMCampaign`, `UTMContent`, `UTMMedium`, `UTMSource`, `UTMTerm`**: Filled only when the page link includes `utm_campaign`, `utm_content`, `utm_medium`, `utm_source` or `utm_term`. Otherwise they're sent empty. See [URL Parameters](https://docs.anedot.com/action-pages/advanced-features/url-parameter.md).
* **`Referrer`**: The page the supporter came from, or the `referrer_to_form` value in the page link. See [URL Parameters](https://docs.anedot.com/action-pages/advanced-features/url-parameter.md).
* **Hidden fields**: Hidden field values aren't sent to EmailOctopus. To track a source in EmailOctopus, use a source code or UTM codes in the page link instead. See [Hidden Fields](https://docs.anedot.com/action-pages/page-builder/hidden-fields.md).

## Payload Data

These are the request and response bodies shown in **Settings > Integrations > Integration Requests**.

### Request Body

```json
{
  "api_key": "[REDACTED]",
  "email_address": "annie@anedot.com",
  "fields": {
    "FirstName": "Annie",
    "LastName": "Dot",
    "Phone": "2015550123",
    "Street": "1340 Poydras Street",
    "Street2": null,
    "City": "New Orleans",
    "State": "LA",
    "Zip": "70113",
    "UTMCampaign": null,
    "UTMContent": "gala",
    "UTMMedium": "web",
    "UTMSource": null,
    "UTMTerm": null,
    "SourceCode": "2026",
    "Event": "Anedot: Donation Completed",
    "Amount": 100.0,
    "Date": "2026-11-10T09:15:27.466-06:00",
    "Referrer": "https://www.example.com/"
  }
}
```

### Success Response (Status 200)

EmailOctopus answers with status 200 when it accepts the contact.

```json
{
  "id": "00000000-0000-0000-0000-000000000000",
  "email_address": "annie@anedot.com",
  "fields": {
    "FirstName": "Annie",
    "LastName": "Dot",
    "Phone": "2015550123",
    "State": "LA"
  },
  "tags": [],
  "status": "SUBSCRIBED",
  "created_at": "2026-11-10T15:15:58+00:00",
  "last_updated_at": "2026-11-10T15:15:58+00:00"
}
```

### Failure Response (Status 403)

A 403 response with API\_KEY\_INVALID means EmailOctopus didn't accept the API key.

```json
{
  "error": {
    "code": "API_KEY_INVALID",
    "message": "Your API key is invalid."
  }
}
```

## Troubleshooting

### No Row in Integration Requests

Check each of these:

* The Action Page is in the connection's scope, and in its Team if one is set.
* **Enabled** is checked.
* The submission has an email address.
* The donation is completed.
* The submission wasn't already sent to an Email Octopus connection with the same API key.

See [Records Anedot Skips](https://docs.anedot.com/integrations/email-marketing-communication/email-octopus.md#records-anedot-skips).

### Rows Show Failure

Open the row in **Settings > Integrations > Integration Requests** and read EmailOctopus's response. API\_KEY\_INVALID means the API key is wrong or was deleted in EmailOctopus. Also check the List ID against EmailOctopus.

Fix the cause, then use [Push Unsent Records](https://docs.anedot.com/integrations/email-marketing-communication/email-octopus.md#push-unsent-records). If the API key or List ID was wrong, delete the connection and connect again with the right values first.

### Some Fields Are Empty in EmailOctopus

Check that your list has a field for each value with the exact merge tag from [Field Mapping](https://docs.anedot.com/integrations/email-marketing-communication/email-octopus.md#field-mapping), and that the field type is Text. UTM fields are empty when the page link had no UTM codes.

### Contact Shows Pending Status

Your list uses double opt-in, and the contact hasn't confirmed their subscription yet.

### Connection Stopped Sending

Check that **Enabled** is checked on the connection. If the EmailOctopus API key was deleted, delete the connection and connect again with a new API key.

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)
* [URL Parameters](https://docs.anedot.com/action-pages/advanced-features/url-parameter.md)
* [Teams](https://docs.anedot.com/settings/access/teams.md)
* [Notifications](https://docs.anedot.com/get-started/security/notifications.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/email-marketing-communication/email-octopus.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.
