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: |
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:
Under the Methods & Fields heading, expand the corresponding method.
Under the Response Fields heading, select the + button.
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 theFieldId
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 theType
of the custom field in Emarsys.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:
Under the Methods & Fields heading, expand the corresponding method.
Under the Request Fields heading, select the + button.
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 theStringId
of the field, referred to askey
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 theType
of the custom field in Emarsys.Select Create.
To map response fields, go to the Edit Connector page of the Emarsys connector:
Under the Methods & Fields heading, expand the corresponding method.
Under the Response Fields heading, select the + button.
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 parameterStringId
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 theType
of the custom field in Emarsys.Select Create.
For more information, see the Emarsys API documentation for this method.