Skip to main content
Skip table of contents

Emarsys

Emarsys setup

To authenticate the Emarsys connector, you need the following credentials:

Credentials

Description

Username

The user name of your Emarsys account. It's usually in the following format: account_name00X, where X is a digit.

Secret Key

The secret key of your Emarsys application.

To obtain these credentials, you need to create an API user within Emarsys. You can find more information in the Emarsys API User documentation.

Cyclr account setup

Cyclr asks you for the below credentials when you install the Emarsys connector into an account:

  • Your Emarsys account Username.

  • Your Emarsys application Secret Key.

Note: You can use different details for different accounts.

Custom fields

In the Emarsys connector, some methods use custom fields that you need to map manually:

  • Contacts > Get Contact Data

  • Contact Lists > List Contact Data In A Contact List

When you enter the Fields request parameter, the method responds with equivalent response fields. You need to map these fields manually.

From the Edit Connector page of the Emarsys connector:

  1. Under the Methods & Fields heading, expand the corresponding method.

  2. Under the Response Fields heading, select the + button.

  3. Complete the fields:

    FieldDescriptionField LocationThe FieldId of the custom field. This should match the field ID entered into the Fields request parameter and have the format [].{{FieldId}}. You can find the FieldId of the field with the the Utilities > List Contact Fields method.Display NameThe display name of the custom field in the Cyclr UI (optional).DescriptionThe description of the custom field in the Cyclr UI (optional).Data TypeThe Data type of the custom field. This should match the Type of the custom field in Emarsys.

  4. Select Create.

External Content > Request External Content For Personalisation

This method allows you to use an external API to personalize content in messages. You need to map custom parameters and response fields.

To map the parameters, go to the Edit Connector page of the Emarsys connector:

  1. Under the Methods & Fields heading, expand the corresponding method.

  2. Under the Request Fields heading, select the + button.

  3. Complete the fields below:

    FieldDescriptionField LocationThe Emarsys parameter to add external content to. The field location should match the Emarsys StringId of the field and have the format [parameters].{{StringId}}. You can find the StringId of the field, referred to as key in the Emarsys documentation, with the Utilities > List Contact Fields method.Display NameThe display name of the custom field in the Cyclr UI (optional).DescriptionThe description of the custom field in the Cyclr UI (optional).Data TypeThe Data type of the custom field. This should match the Type of the custom field in Emarsys.

  4. Select Create.

To map response fields, go to the Edit Connector page of the Emarsys connector:

  1. Under the Methods & Fields heading, expand the corresponding method.

  2. Under the Response Fields heading, select the + button.

  3. Complete the fields:

    FieldDescriptionField LocationResponse fields for the method include the fields entered and parameters mapped in the method request. For each, the field location should match the field key or parameter StringId of the field and have the format [content].{{key}} or [content].{{StringId}} respectively.Display NameThe display name of the custom field in the Cyclr UI (optional).DescriptionThe description of the custom field in the Cyclr UI (optional).Data TypeThe Data type of the custom field. This should match the Type of the custom field in Emarsys.

  4. Select Create.

For more information, see the Emarsys API documentation for this method.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.