> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeotap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Emarsys

## Overview

Emarsys is a marketing automation platform that enables businesses to create personalised marketing campaigns. Integrated with Zeotap, it uses email marketing as the primary medium to deliver highly targeted messages, thereby optimising customer engagement and enhancing marketing effectiveness.

## Supported Identifiers/Attributes

This integration accepts the following identifiers and attributes:

* Email addresses (raw)
* First Name
* Last Name
* Gender
* Date of birth
* Phone
* Mobile
* City
* Company
* Company address
* City (office)
* Opt-in – Acceptable values are Yes/No or True/False. For other values, contact your Zeotap POC
* Custom Fields (Identifiers/attributes)

## Available Actions and Supported Features

The following table lists the available action types for the integration and the supported features for each action type:

| Action Name                              | [ID EXTENSION](/articles/segment-customer/extend-your-audience#id-extension) | [DELETE](https://docs.zeotap.com/articles/#!integrate-customer/delta-upload-and-delete-functions) | [DELTA UPLOAD](https://docs.zeotap.com/articles/#!integrate-customer/delta-upload-and-delete-functions) |
| :--------------------------------------- | :--------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------ |
| Send identifiers to Emarsys (Deprecated) | ✅                                                                            | -                                                                                                 | -                                                                                                       |
| Send contact to contact list (Audience)  | -                                                                            | -                                                                                                 | -                                                                                                       |
| Send triggered event (Audience)          | -                                                                            | -                                                                                                 | -                                                                                                       |

## Prerequisites

Ensure that you have the details about the below components of Emarsys account before creating a Destination.

<CardGroup>
  <Card title="User Name and Secret" href="#user-name-api-id-and-secret" icon="user-lock" horizontal />

  <Card title="Key ID" href="#key-id-field-id" icon="key" horizontal />
</CardGroup>

### User name (API ID) and Secret

In Emarsys, the **User name (API ID)** and **Secret** details are used to authenticate the API calls and gain access to certain features or functionalities on the Emarsys platform.

Perform the following steps to obtain your User name (ID in Emarsys) and the Client Secret from the Emarsys console:

<Steps>
  <Step>
    Log into your Emarsys account and navigate to **Management > Security Settings > API** as shown in the image below.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2025-01-17-1.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=5044597224b3a60d6c4811f6e293f300" width="2202" height="1544" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2025-01-17-1.png" />
    </Frame>
  </Step>

  <Step>
    In the new screen that appears, under **API Credentials**, click **Create API Credentials**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2025-01-17.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=cb0cf4b34cf29b878ce3b848af6679a0" width="3530" height="910" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2025-01-17.png" />
    </Frame>
  </Step>

  <Step>
    In the window that appears, under **Create API Credentials**, choose your preferred API authentication method. Currently only **WSSE** authentication is supported. We will be releasing an enhancement to support Open ID Connect soon..

    a. **WSSE** (Web Services Security Extensions)–By selecting the **WSSE** option, you create API credentials that use WSSE authentication over SSL for secure communication. This method requires adding a custom `X-WSSE` header to each request. [Learn more](https://dev.emarsys.com/docs/emarsys-core-api-guides/branches/main/b3c3a1eba8515-authentication)

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2025-01-16-2.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=fb32f4aa188d9551d2583cc459c355b8" width="1278" height="492" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2025-01-16-2.png" />
    </Frame>
  </Step>

  <Step>
    In the new screen that appears, enter the **Password** associated with your Emarsys account and complete the API credentials creation process.
  </Step>

  <Step>
    Upon successfully creating the API credentials, you can find the **ID** (User name in Zeotap CDP) and **Client** **Secret** details under the **API Credentials**section as shown below. **Note that the secret is only available until you stay on this page. You will not be able to copy it after navigating away from this page.**

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2025-01-16-3.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=aec0787f78ab917fcd1ac85dbb481231" width="3116" height="1008" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2025-01-16-3.png" />
    </Frame>
  </Step>

  <Step>
    Copy the API credentials and scroll down to **Permissions**.
  </Step>

  <Step>
    Here, you need to enable the following permissions for the user:

    a. Under **contact**, a list of permissions as shown in the image below appears, wherein, you need to enable **contacts.update**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys_permission_2_(1).png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=a5423545ea54ae11e2d0e29b6508a6f7" width="2256" height="1500" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys_permission_2_(1).png" />
    </Frame>

    b. Similarly, under **contactlis** **t**, you need to enable-

    * **contactlist.contact.add**
    * **contactlist.contact.delete**
    * **contactlist.create**

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys_permission_3_(1).png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=7af10a8163c4a7005333d49764811bdc" width="2028" height="1350" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys_permission_3_(1).png" />
    </Frame>

    c. Under **externalevent**, you need to enable-

    * **externalevent.create**
    * **externalevent.trigger**

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/image_(58)_(1).png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=051956b8805f1b540b37163689a96fa6" width="1698" height="724" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/image_(58)_(1).png" />
    </Frame>
  </Step>
</Steps>

### Key ID (Field ID)

In Emarsys, this is the **Field ID** of your primary identifier, which you obtain from your Emarsys account. System fields such as raw email, first name, last name and so on, have predefined Key IDs. You can use these directly while creating the destination in Zeotap CDP. For more information about the system fields, refer to the [Emarsys documentation](https://help.emarsys.com/hc/en-us/articles/115004637665-Overview-The-Emarsys-system-fields).

<Note>
  **Note:**

  *If you want to use a Custom ID as the main identifier, then you must create a custom field in Emarsys and use the corresponding Field ID while creating the destination in Zeotap CDP. **Ensure that the custom ID is activated through the [Emarsys Support Team](https://emarsys.zendesk.com/auth/v2/login/signin?return_to=https%3A%2F%2Fhelp.emarsys.com%2Fhc%2Fen-us%2Frequests%2Fnew\&theme=hc\&locale=en-us\&brand_id=38892\&auth_origin=38892%2Ctrue%2Ctrue)** **.***

  <Frame>
    <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2025-01-24.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=a99ad108b65907c7a3d8a6fd759abd3f" width="2950" height="632" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2025-01-24.png" />
  </Frame>
</Note>

Perform the following steps to create a Key ID (Field ID in Emarsys):

<Steps>
  <Step>
    Log into Emarsys account and navigate to **Management** **>** **Field Editor**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys/Emarsys_sym_1.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=8651b563aa45ee0d29393ae66b846559" width="1248" height="1254" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/Emarsys_sym_1.png" />
    </Frame>
  </Step>

  <Step>
    In the new screen that appears, click **Create Field**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-06-18.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=675b643811390216adaaf0920e3a4d33" width="2906" height="1180" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-06-18.png" />
    </Frame>
  </Step>

  <Step>
    In the **Field Generator** page that appears, provide the following details:

    a. Enter **Name** for your identifier.

    b. Provide a **String ID** for your identifier.

    c. Choose the **Type** of your identifier.

    d. Review all the details and click **Create**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys_sym_2.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=6dcd684b9dab045800a6aa134bbbff42" width="1730" height="1402" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys_sym_2.png" />
    </Frame>
  </Step>

  <Step>
    The created identifier gets listed in the **Field Editor** page. You can copy the **Field ID** against your identifier and provide it in the **Key ID** field while adding a new Destination in Zeotap CDP.

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-06-18-1.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=38d6748d815cb82b946084c43dba9e1f" width="2738" height="914" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-06-18-1.png" />
    </Frame>
  </Step>
</Steps>

## Create a Destination for Emarsys

After obtaining the prerequisites as explained in the previous section, perform the following steps to create a Destination for Emarsys:

<Steps>
  <Step>
    Log into the Zeotap CDP App and go to the **DESTINATIONS** application.
  </Step>

  <Step>
    Click **+ Create Destination.**

    <Frame>
      <img src="https://mintcdn.com/zeotap/oGjzXQ32KVGTt8MH/articles/integrate-customer/Storage/integrate-customer/adform/Destinations_all_1.png?fit=max&auto=format&n=oGjzXQ32KVGTt8MH&q=85&s=92dfe8ecb29e59c9d7d57cb954e54618" width="3520" height="772" data-path="articles/integrate-customer/Storage/integrate-customer/adform/Destinations_all_1.png" />
    </Frame>
  </Step>

  <Step>
    Under **All Destinations**, search for **Emarsys**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/oGjzXQ32KVGTt8MH/articles/integrate-customer/Storage/integrate-customer/adform/Destinations_all_2.png?fit=max&auto=format&n=oGjzXQ32KVGTt8MH&q=85&s=6f5f0f5367788fb4e9e946f4b3cb5874" width="3510" height="1144" data-path="articles/integrate-customer/Storage/integrate-customer/adform/Destinations_all_2.png" />
    </Frame>
  </Step>

  <Step>
    Click **Emarsys**. A screen appears displaying details about the particular destination towards the left. On the right-hand side of the screen, find a list of fields that are required for the integration to be established. Enter the required details as mentioned in the following steps:

    a. Enter a name for the Destination.

    b. Enter the **User name** of the account to which Zeotap sends data. For information about how to obtain this from Emarsys, refer to the [Prerequisites](/articles/integrate-customer/emarsys#h2_478947415)section.

    c. Enter the **Secret Key** obtained from your Emarsys account. For information about how to obtain this from Emarsys, refer to the [Prerequisites](/articles/integrate-customer/emarsys#h2_478947415) section.

    d. Enter the **Key ID**. For information about how to obtain this from Emarsys, refer to the [Prerequisites](/articles/integrate-customer/emarsys#h2_478947415) section.

    <Note>
      **Note:**

      *To use the 'custom\_ID' as the 'key\_ID', contact your Emarsys support to get it activated.*
    </Note>

    e. Review all the values entered above and then click **Next** to proceed.

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys_enhance_new_1.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=46b970e6af4b00175e96a890431fed9f" width="2840" height="1612" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys_enhance_new_1.png" />
    </Frame>
  </Step>

  <Step>
    In the new screen that appears, choose the appropriate Action and mapping as explained below. Under **Choose your Action**, you can either choose **Send Identifiers to Emarsys** or **Send attributes and identifiers to Emarsys** as the action based on the downstream system that you wish to use for activating your audience, that is, *Audiences*.

    a. Choose **Send Identifiers to Emarsys (Deprecated)** as your action to send only email addresses to Emarsys.

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-12-09-1.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=87fc368ff05202166e5e111b451ec033" width="3524" height="1732" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-12-09-1.png" />
    </Frame>

    b. hoose **Send contacts to contact list (Audience)** as your action to send all the identifiers and attributes available under **Map the Fields** to **Emarsys.** Note that you can also map custom fields by clicking **Add Mapping Field** under the **Catalogue field** and provide the corresponding **Field ID** of the custom field you created in your Emarsys account under **Destination Field**.
    For more information on how to obtain Field ID (Key ID) from Emarsys, refer to the [Prerequisites](/articles/integrate-customer/emarsys#h2_478947415) section.

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-12-09.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=26e70d63b3afee5ee56d86103b09835a" width="3510" height="1696" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-12-09.png" />
    </Frame>

    c. Choose **Send triggered event (Audience)** as your action to send identifiers or attributes as:

    * [Array/List of primitives](https://docs.zeotap.com/articles/unify-customer/data-types-in-catalogue/a/h2_299610936) (that is, List of String/Integer/Double/Boolean)

      or

    * [Objects](https://docs.zeotap.com/articles/unify-customer/data-types-in-catalogue/a/h2_2051284657) or [Array/List of Objects](https://docs.zeotap.com/articles/unify-customer/data-types-in-catalogue/a/h2_1596665070)

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-12-09-2.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=8e745d64d2b54e35bc99befe5c0ff0fe" width="3486" height="1726" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-12-09-2.png" />
    </Frame>

    **For this action, creating a new field on the Emarsys side is not required (unlike other audience actions, where it is necessary)**. Use the drop-down menu shown in the image below to choose the data type for your attribute or identifier and map the corresponding Catalogue fields to the Destination fields. When creating custom attributes, assign any name to the RHS/Destination field. The attribute appears in Emarsys with the same name as the Destination field in Zeotap CDP.

    If you select **Objects** or **List of Objects**, then you must also map the object properties below the object, as shown below. For more information about the data types supported and when to use them, refer [here](https://docs.zeotap.com/articles/unify-customer/data-types-in-catalogue).

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-12-03-2.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=4ea3fab8fa0ad268c75dbcb7bce5d118" width="2446" height="592" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-12-03-2.png" />
    </Frame>

    <Note>
      **Note:**

      Note that, in the **Destinations Settings** window, you must provide the **Event ID** of the corresponding external event to which you want to send the data. To learn more about External Event and Event ID, refer [here](/articles/integrate-customer/emarsys-real-time-integration#h3_399174679).
    </Note>

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-12-04.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=3c861deb05ad8b4e53482d69db90f354" width="1256" height="1082" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/emarsys-2024-12-04.png" />
    </Frame>
  </Step>

  <Step>
    Once the mapping is complete, click **Create Destination**. The created Destination gets listed in the **Audiences** application, which can be linked to an audience/segment.
  </Step>
</Steps>

## Link an Audience to the Emarsys Destination

For information about how to link an Audience or segment to the created Destination in the **Audiences**application, refer [here](/articles/integrate-customer/link-an-audience-to-the-destination).

<Note>
  **Note:**

  The terms *Audiences* and *Segments* are used interchangeably to refer to customer cohorts belonging to a specific category.For example, an Audience or a segment can be a specific group of customers who are over 18 years of age and haveperformed an `addToCart` event within the last 30 days.
</Note>

## View Audiences on Emarsys

Perform the following steps to view the pushed Audiences (segments) on the Emarsys platform:

<Steps>
  <Step>
    Log into Emarsys and navigate to **Contacts** > **Contact Lists**.

    <Note>
      **Note:**

      Contact List is an Audience (segment) of customers that is created within Zeotap CDP'sAudiences application and then pushed to Emarsys.
    </Note>

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/image-20240313-173552.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=7367bc10ec5123d54dfaa86d91ed6f17" width="1120" height="1490" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/image-20240313-173552.png" />
    </Frame>
  </Step>

  <Step>
    Under **Contact Lists**, you can view all the audiences (segments) that are pushed from Zeotap CDP to Emarsys as shown in the image below.

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/image-20240313-173732.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=95de2545821ca8c8f7f3badafd0d4830" width="2990" height="1628" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/image-20240313-173732.png" />
    </Frame>
  </Step>
</Steps>
