> ## 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 Real Time Integration

## Overview

Emarsys is a marketing automation platform that helps businesses create personalized marketing campaigns. When integrated with Zeotap, all your customer events can be processed in real-time, ensuring timely and relevant interactions.

For example, Zeotap's real-time integration with Emarsys allows you to target customers who abandon their cart. This integration records these customers in Emarsys during the abandonment process, enabling you to send immediate follow-up messages with incentives to complete their purchase.

## Supported Attributes

This section provides information about the attributes supported in the Zeotap CDP\<>Emarsys integration:

| **Emarsys Field** | **Description**                                                                                                                                                                                           |
| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| First Name        | This is automatically mapped to First Name in the Zeotap Catalogue. You can edit the mapping as per your requirement.                                                                                     |
| Last Name         | This is automatically mapped to Last Name in the Zeotap Catalogue. You can edit the mapping as per your requirement.                                                                                      |
| Annual Income     | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Gender            | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| City              | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Company           | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Company Address   | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Country           | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Department        | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Date of Birth     | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Industry          | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Job Position      | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Office City       | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Office Country    | You need to map the relevant Catalogue field in the LHS.                                                                                                                                                  |
| Opt-in            | You need to map the relevant Catalogue field in the LHS. Note that the acceptable values for this field are `Yes/No` or `True/False`. If you wish to send any other values, then contact your Zeotap POC. |

## Prerequisites

Ensure you complete the following prerequisites in the Emarsys Platform before proceeding with this integration in (Journeys) Zeotap CDP:

<CardGroup cols={1}>
  <Card title="1. Create an External Event in Emarsys and copy the Event ID" href="#1-create-an-external-event-in-emarsys-and-copy-the-event-id" icon="calendar-plus" horizontal />

  <Card title="2. Create an Interaction Program (Automation Program) using the Event ID" href="#2-create-an-interaction-program-automation-program-in-emarsys" icon="diagram-project" horizontal />

  <Card title="3. Obtain the Key ID in Emarsys" href="#3-obtain-the-field-id/key-id-in-emarsys" icon="key" horizontal />

  <Card title="4. Obtain User Name and Secret in Emarsys" href="#4-obtain-the-user-name-api-id-and-secret-in-emarsys" icon="user-lock" horizontal />
</CardGroup>

### 1. Create an External Event in Emarsys and copy the Event ID

External Events are triggers that allow you to respond to custom API events performed by your customers such as Cart Abandoned, Order Confirmation, Subscription Renewal and so on. That means, when a customer performs an action that matches these custom API events, the External Event triggers a response from the system based on the [automation configured](/articles/integrate-customer/emarsys-real-time-integration#h3_47323886).

Perform the following steps to create an External Event in Emarsys and obtain the Event ID associated it:

<Steps>
  <Step>
    Log into your [Emarsys account](https://suite55.emarsys.net) and navigate to **Managemen**t **>** **External Events**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-7.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=91d6938995cb35e8ad9c3a0f1577efc1" width="1132" height="1574" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-7.png" />
    </Frame>
  </Step>

  <Step>
    Click **Create External Event**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-3.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=67c38bfde8c6b2ea58f3f0cceca7be6e" width="3192" height="1180" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-3.png" />
    </Frame>
  </Step>

  <Step>
    In the window that appears, provide a **Name** for the external event and click **Create**. Ensure to provide the same name that you have provided for **External Event Name** as the **Workflow Title** while creating workflows in Journeys (Zeotap CDP). This helps you to identify your segments easily.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-6.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=677ddd8f21a2a8c10496724e39958a19" width="3250" height="1410" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-6.png" />
    </Frame>
  </Step>

  <Step>
    The created event gets listed in the **External Events** page as shown below. Copy the **External Event ID** available\*\*\*\*against the external event that you created. This is the **Event ID** that needs to be provided while creating the Interaction Program in the next step. Note that this Event ID is also used as an input while [activating the Destination in Journeys (Zeotap CDP)](/articles/integrate-customer/emarsys-real-time-integration#h2__290574186).

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-5.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=83240086fee3647ec8b66d0c4740b3a7" width="3234" height="704" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-5.png" />
    </Frame>
  </Step>
</Steps>

### 2. Create an Interaction Program (Automation Program) in Emarsys

Interaction Programs in Emarsys are real-time responses to customer events and actions. They enable automated journeys that adapt to customer activities, allowing you to send timely, relevant, and personalised messages.

<Note>
  **Note:**

  *Ensure to procure the **Interactions Program** add-on in Emarsys to use this integration.*
</Note>

Some use cases of Interaction Programs:

* Sending delivery status updates, such as "Delivery Successful" or "Your Order Has Been Shipped".
* Preventing browse abandonment by targeting contacts who have visited product pages multiple times without adding items to their cart. For these contacts, show a free shipping Web Channel campaign while they are online.

Perform the following steps to create an Interactions Program in Emarsys:

<Steps>
  <Step>
    Log into your [Emarsys account](https://suite55.emarsys.net) and navigate to **Automation** > **Automation Programs**.

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

  <Step>
    In the **Automation Programs** screen that appears, click **Create Program**.

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

  <Step>
    In the new window that appears, click **Behavior-focused journeys (Interactions) > External Event**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/vzDgpNKaht27Bxzv/articles/integrate-customer/Storage/integrate-customer/emarsys/interaction_4.png?fit=max&auto=format&n=vzDgpNKaht27Bxzv&q=85&s=0d85ff076f2716f721c117e5f0e9b3ea" width="3176" height="1504" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/interaction_4.png" />
    </Frame>
  </Step>

  <Step>
    In the new screen that appears, double-click the **External Event** trigger node. This acts has the entry point for your journey in Emarsys.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-10.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=0efd9c999d82b3f17fe02bf4bb7f8a65" width="1566" height="1036" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-10.png" />
    </Frame>
  </Step>

  <Step>
    In the new window that appears, perform the following steps:

    a. Under **Trigger Event,** choose the [External Event](/articles/integrate-customer/emarsys-real-time-integration#h3_399174679) that you want to use as the trigger event for your Automation Program.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-16.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=213965fd6405f12be1c61b48ea5d77f2" width="1890" height="1060" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-16.png" />
    </Frame>

    b. By default, the **Trigger event timeout** is set to **Disable timeout**. However, you can change it to **Set a custom trigger timeout** based on your requirement. [Learn more](https://help.emarsys.com/hc/en-us/articles/360016952737-End-user-guides-Setting-up-the-trigger-event-timeout)

    c. Click **Done.**

    <Note>
      **Note:**

      *Ensure that the the contact information of your target customers exist in Emarsys under Contacts.Without this, the External Event cannot be triggered and the automation program will fail. [Learn more](https://help.emarsys.com/hc/en-us/articles/115004635409-Contact-lists-Managing-contact-lists)*
    </Note>
  </Step>

  <Step>
    You can configure the journey for the [automation program](https://help.emarsys.com/hc/en-us/articles/360003898918-Overview-Interactions-Overview) based on your use cases as shown below. In the below example, the "Cart Abandoned" External Event acts as a trigger, sending the details of customers who abandoned their cart to the next node in the workflow, that is, the "Send SMS" node. It then sends follow-up messages to these customers with incentives to complete their purchase. Note that you need to create the SMS campaign prior to using it in the automation program.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-20.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=2b5fa8f417d11a70123219ca00d0cbed" width="650" height="248" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-20.png" />
    </Frame>

    Similarly, you can use the various options available under *[Actions](https://help.emarsys.com/hc/en-us/articles/360020803437-Nodes-Interactions-Action-nodes)* and *[Channels](https://help.emarsys.com/hc/en-us/articles/360020803397-Nodes-Interactions-Channel-nodes)* in Emarsys to create [automation programs](https://help.emarsys.com/hc/en-us/articles/360003898918-Overview-Interactions-Overview) based on your use case. In addition, you can also use attribute level information in your campaigns. For example, by tracking the customer's first name, you can personalise your targeting message by including their first name.

    <Note>
      **Note:**

      *You can create Contact Lists and update them as a part of your automation program. However, that adds a certain delay to your real-time journeys.*
    </Note>
  </Step>
</Steps>

### 3. Obtain the Field ID/Key ID in Emarsys

Next, you need to obtain the Field ID/Key ID of your main identifier. For example, the Key ID for 'Email' is '3'. The Field ID in Emarsys serves as a unique identifier for each contact data field. It ensures accurate data mapping and synchronisation between Emarsys and Zeotap CDP. Emarsys accounts include approximately 50 standard fields for storing contact data, known as **[system fields](https://help.emarsys.com/hc/en-us/articles/115004637605-Overview-Contact-data-fields-Overview).** In addition to these, you can create **[custom fields](https://help.emarsys.com/hc/en-us/articles/115004634689-End-user-guides-Creating-custom-fields)** tailored to your needs. You can use this Field ID as the Key ID value while [creating a Destination in Journeys within Zeotap CDP](/articles/integrate-customer/emarsys-real-time-integration#h3_488215169).

<Note>
  **Note:**

  *If you want to use a Custom ID, 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 obtain Field ID/Key ID:

<Steps>
  <Step>
    Log into your [Emarsys account](https://suite55.emarsys.net) 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/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-13.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=c87efedf5fdb179976d1da5854af04e8" width="3054" height="628" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-13.png" />
    </Frame>
  </Step>

  <Step>
    In the **Field Generator**screen 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 and click **Create**. [Learn more](https://help.emarsys.com/hc/en-us/articles/115004634729-Overview-Available-field-types)

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-14.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=da81fda5f79fac37a73a4bf5ac901b34" width="1422" height="1660" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-14.png" />
    </Frame>
  </Step>

  <Step>
    The created identifier gets listed in the **Field Editor** page as shown below. You can copy the **Field ID** against your main identifier and provide it in the **Key ID** field [while adding a new Destination in Zeotap CDP](/articles/integrate-customer/emarsys-real-time-integration#h3_488215169).

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-12.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=6e98b3c50febb58d1f3cec18a32f3124" width="3054" height="854" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-12.png" />
    </Frame>
  </Step>
</Steps>

### 4. Obtain the User name (API ID) and Secret in Emarsys

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 **contact.update** and **contact.create**. The **contact.delete** permission must be enabled to use the Delete contacts action.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys/Screenshot_2025-04-10_at_4-31-26_PM.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=1100d9cfb4dcdc67208285a53587048e" width="1616" height="1494" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/Screenshot_2025-04-10_at_4-31-26_PM.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>

## Destination Setup in Journeys (Zeotap CDP)

After configuring and obtaining the required fields from the Emarsys platform, you can [create a workflow in Journeys (Zeotap CDP)](https://docs.zeotap.com/articles/orchestrate-customer/create-a-workflow). Apply filters or add conditions for your users in Journeys, then activate them in Emarsys by clicking **Send to Destinations** at the node level, as shown in the image below. A new window appears where you can set up your destination. You can either select an existing destination from the list of available Destinations or create a new one by clicking **+ Add New Destination**.

<Frame>
  <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-15.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=aaedb67bb184679d0ad1c7bc2fcbe33a" width="1032" height="542" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-08-15.png" />
</Frame>

### Add New Destination

Perform the following steps to add a new destination:

<Steps>
  <Step>
    Click **Add New Destination.**
  </Step>

  <Step>
    Search for **Emarsys.**
  </Step>

  <Step>
    Click **Emarsys** and enter a name for the Destination.
  </Step>

  <Step>
    Enter the **User name** of the account to which Zeotap sends data. For information about how to obtain this from Emarsys, refer [here](/articles/integrate-customer/emarsys-real-time-integration#h3_828772627).
  </Step>

  <Step>
    Enter **Secret Key** obtained from your Emarsys account. For information about how to obtain this from Emarsys, refer [here](/articles/integrate-customer/emarsys-real-time-integration#h3_828772627).
  </Step>

  <Step>
    Enter **Key ID**. For information about how to obtain this from Emarsys, refer [here](/articles/integrate-customer/emarsys-real-time-integration#h3__1919541831).

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-07.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=5d7215c9180d16b5d4d2b08548a8dc58" width="1032" height="1354" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-07.png" />
    </Frame>
  </Step>

  <Step>
    In the mapping screen that appears, there would be two dropdown options available under **Choose your Action.**

    a) Select **Send triggered event (Journeys)** as the action for sending data from the workflow created in Journeys. Under **Map the Fields**, a list of identifiers and attributes are populated. You can map the appropriate Catalogue fields to the Destination fields to send to Destinations. For any assistance with the mapping, reach out to your Zeotap POC.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-12-09.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=4013e75ab112ab36995573b2dec5e976" width="1960" height="1788" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-12-09.png" />
    </Frame>

    b) Select **Create or Update Contacts** as the action, which would create or update data in Emarsys based on the data sent from Journeys in Zeotap. Under **Map the Fields**, a list of identifiers and attributes are populated.You can map the appropriate Catalogue fields to the Destination fields to send to Destinations. For any assistance with the mapping, reach out to your Zeotap POC.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys/Screenshot_2025-04-10_at_4-58-18_PM.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=c8941aa355ba7e6bd9e642ee674b8c02" width="2962" height="506" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys/Screenshot_2025-04-10_at_4-58-18_PM.png" />
    </Frame>

    c) Add the Key ID of Emarsys corresponding to the identifier through which you would like to delete the contact. For example, key ID 3 is email in emarsys and it is mapped to an email field from the catalogue. The contact will be deleted by the email that has moved through the journey. You can use different Key IDs instead of 3(email) as well. You can refer to the [contact fields](https://dev.emarsys.com/docs/core-api-reference/7f3e853b57d26-contact-system-fields)

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2025-09-24.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=87a8622aab8acbc8bbdf6edea8a61647" width="2066" height="974" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2025-09-24.png" />
    </Frame>
  </Step>

  <Step>
    Once the mapping is complete, click **Create Destination**. The destination is created and made available for activation on Journeys.
  </Step>
</Steps>

## Activate the Destination on Journeys

After creating a destination, next, you need to link it in the **Send to Destination** node within the workflow, as explained below.

<Steps>
  <Step>
    In the workflow, at the node level, click **+** and choose **Send to Destinations**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-07-2.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=0fa604622a36b0291df4e6594161c614" width="1032" height="542" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-07-2.png" />
    </Frame>
  </Step>

  <Step>
    Choose the destination from the list of available destinations by using the search feature.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-07-3.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=905780d151c74c2199117924d8c88c89" width="1896" height="1056" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-07-3.png" />
    </Frame>
  </Step>

  <Step>
    Under the **Destination Details** tab, the **User Name, Secret Key** and **Key Id** fields are automatically populated based on the value that you had entered while creating the destination. However, you need to enter the [External Event ID](/articles/integrate-customer/emarsys-real-time-integration#h3_399174679) obtained from Emarsys, which is used as a trigger point in Emarsys.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-07-4.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=8bf4db9370fd631759b2a13971561411" width="1916" height="1762" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-07-4.png" />
    </Frame>
  </Step>

  <Step>
    Under the **Destination Settings** tab, choose the Action and mapping as per your requirement.

    <Frame>
      <img src="https://mintcdn.com/zeotap/XvfkMbxDmHsFyji6/articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-12-09-1.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=fca1e211ebe4607b0510e4e5263bb15f" width="1922" height="1272" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-12-09-1.png" />
    </Frame>
  </Step>

  <Step>
    Upon clicking **Save Destination**. The destination is attached 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-2024-08-07-6.png?fit=max&auto=format&n=XvfkMbxDmHsFyji6&q=85&s=29cd64bc923df5dff9744c226040f2ad" width="1884" height="1108" data-path="articles/integrate-customer/Storage/integrate-customer/emarsys-real-time-integration/emarsys-real-time-integration-2024-08-07-6.png" />
    </Frame>
  </Step>

  <Step>
    Click **Add Destinations**. You can also add multiple destinations at this step if needed.

    <Frame>
      <img src="https://mintcdn.com/zeotap/uj9kV6WkF-FC0bHW/articles/integrate-customer/Storage/integrate-customer/sfmc-personalization-journeys/sfmc-personalization-journeys-2024-09-26-4.png?fit=max&auto=format&n=uj9kV6WkF-FC0bHW&q=85&s=fd6df4739a5d2a393fd1c77112c833ff" width="1882" height="1764" data-path="articles/integrate-customer/Storage/integrate-customer/sfmc-personalization-journeys/sfmc-personalization-journeys-2024-09-26-4.png" />
    </Frame>
  </Step>

  <Step>
    The linked Destinations appear in the **Send to Destinations** node within the workflow as shown below. Further, you can then build and customise your workflow as needed by clicking '+' . Note that you must enter a name for your workflow in the provided text box to save it.
  </Step>

  <Step>
    After adding conditions and filters for users, choose one of the following options:

    a. **Save Draft**: Enables you to revisit and edit the workflow before publishing.

    b. **Next: Re-entry Condition**: Determines whether a user can re-enter the same workflow.

    <Frame>
      <img src="https://mintcdn.com/zeotap/uj9kV6WkF-FC0bHW/articles/integrate-customer/Storage/integrate-customer/sfmc-personalization-journeys/sfmc-personalization-journeys-2024-09-26-7.png?fit=max&auto=format&n=uj9kV6WkF-FC0bHW&q=85&s=b115f3bbc04540d675d2e9145a7f91d6" width="938" height="1786" data-path="articles/integrate-customer/Storage/integrate-customer/sfmc-personalization-journeys/sfmc-personalization-journeys-2024-09-26-7.png" />
    </Frame>
  </Step>

  <Step>
    After defining the re-entry criteria, click **Publish Workflow**. The workflow appears in the Workflow listing screen with a **Published** status.

    <Frame>
      <img src="https://mintcdn.com/zeotap/uj9kV6WkF-FC0bHW/articles/integrate-customer/Storage/integrate-customer/sfmc-personalization-journeys/sfmc-personalization-journeys-2024-09-26-7.png?fit=max&auto=format&n=uj9kV6WkF-FC0bHW&q=85&s=b115f3bbc04540d675d2e9145a7f91d6" width="938" height="1786" data-path="articles/integrate-customer/Storage/integrate-customer/sfmc-personalization-journeys/sfmc-personalization-journeys-2024-09-26-7.png" />
    </Frame>
  </Step>
</Steps>
