Configure destinations for SAP Emarsys

SAP Emarsys is an omnichannel customer engagement platform for personalizing customer interactions across channels to increase customer engagement and lifetime value.

Use contact lists in SAP Emarsys as an alternative to segments when selecting the recipient source for a campaign.

You can configure Amperity to maintain contact lists in SAP Emarsys using the Emarsys API. Amperity updates the contact list in SAP Emarsys to match the audience sent from Amperity. Amperity:

  1. Adds contact lists when they don’t exist in SAP Emarsys.

  2. Updates contact attributes and profile information for contacts already in a contact list to match what is sent from Amperity.

  3. Adds contacts to a contact list when they don’t exist in SAP Emarsys.

  4. Removes contacts from a contact list when they don’t exist in the audience sent from Amperity.

How this destination works

Amperity uses a combination of endpoints to maintain contact lists in SAP Emarsys.

Listrak SMS connector

A SAP Emarsys destination works like this:

Step one.

START WORKFLOW

After the workflow starts, Amperity:

  1. Gets the value for {listId} for the contact list from SAP Emarsys.

  2. Amperity builds the audience list for the query or segment.

  3. Amperity validates the audience list.

Step two.

CREATE CONTACT LIST?

If the contact list does not exist, Amperity uses the Create a Contact List endpoint to create the list.

Important

When the contact list exists in SAP Emarsys, the name of the audience sent from Amperity must exactly match the name of a contact list in SAP Emarsys, including capitalizations, spaces, and characters.

Step three.

UPDATE CONTACTS

The Update Contacts endpoint updates contact attributes and profile information to match the audience sent from Amperity.

Amperity uses the same endpoint to upsert contact attributes and profile information to contacts that exist in the audience sent from Amperty, but do not exist for the contact in the contact list in SAP Emarsys.

Step four.

ADD CONTACTS

The Add Contacts to a Contact List endpoint adds any contacts that exist in the audience sent from Amperity, but do not exist in the contact list in SAP Emarsys.

Step five.

REMOVE CONTACTS

The Remove Contacts from a Contact List endpoint removes any contacts that exist in SAP Emarsys, but do not exist in the audience sent from Amperity.

Step six.

END WORKFLOW

The workflow ends when all attributes are updated for existing contacts, contacts are added, and contacts are removed from the contact list.

When the workflow is finished the updated and added attributes are available immediately in SAP Emarsys.

Get details

Review the following details before configuring credentials for SAP Emarsys and before configuring Amperity to send contact lists to SAP Emarsys.

Detail 1.

OAuth credential settings

Configure the client ID and client secret for SAP Emarsys to allow Amperity to use OAuth while managing client lists.

Client ID and secret

Required

A client ID and client secret with permission to access your instance of SAP Emarsys. These values are part of the API credentials configured for your instance of SAP Emarsys.

Important

The OAuth user associated with the client ID and secret must have contact, contactlist, and field permissions to the SAP Emarsys Rest API.

Detail 2.

Required configuration settings

If Amperity is managing a list that already exists in SAP Emarsys configure the Contact identifier to match the one used by the list and ensure the name of the audience sent from Amperity matches the name of the contact list in SAP Emarsys.

If the contact list name doesn’t exist Amperity will create it. If it exists, Amperity will update membership.

Detail 3.

Profile attributes and custom fields

The contact identifier for contact lists managed by this destination. Possible values: “email” or “phone”.

Configure credentials

Configure credentials for SAP Emarsys before adding a destination.

An individual with access to SAP Emarsys should use SnapPass to securely share “refresh token” details with the individual who configures Amperity.

To configure credentials for SAP Emarsys

Step one.

From the Settings page, select the Credentials tab, and then click the Add credential button.

Step two.

In the Credentials settings dialog box, do the following:

From the Plugin dropdown, select SAP Emarsys.

Assign the credential a name and description that ensures other users of Amperity can recognize when to use this destination.

Step three.

The settings that are available for a credential vary by credential type. For the “emarsys” credential type, configure settings, and then click Save.

Configure the client ID and client secret for SAP Emarsys to allow Amperity to use OAuth while managing client lists.

Client ID and secret

Required

A client ID and client secret with permission to access your instance of SAP Emarsys. These values are part of the API credentials configured for your instance of SAP Emarsys.

Important

The OAuth user associated with the client ID and secret must have contact, contactlist, and field permissions to the SAP Emarsys Rest API.

Add destination

Use a sandbox to configure a destination for SAP Emarsys. Before promoting your changes, send a test audience, and then verify the results in SAP Emarsys. After verifying the end-to-end workflow, push the destination from the sandbox to production.

To add a destination for SAP Emarsys

Step one.

Open the Destinations page, select the New destinations button, and then select Orchestration.

Add

To configure a destination for SAP Emarsys, do one of the following:

  1. Click the row in which SAP Emarsys is located. Destinations list alphabetically and you can scroll up and down the list.

  2. Search for SAP Emarsys. Start typing “emar”. The list filters to show only matching destinations. Select “emarsys”.

Step two.

Select the credential for SAP Emarsys from the Credential dropdown, and then click Continue.

Tip

If there are any issues with destination connectivity, an error message will display in the destination setup dialog. If the destination saves successfully, the connection is ready for use.

Step three.

In the “Destination settings” dialog box, assign the destination a name and description that ensures other users of Amperity can recognize when to use this destination.

Configure business user access

By default a destination is available to all users who have permission to view personally identifiable information (PII).

Enable the Admin only checkbox to restrict access to only users assigned to the Datagrid Operator and Datagrid Administrator policies.

Enable the PII setting checkbox to allow limited access to PII for this destination.

Use the Restrict PII access policy option to prevent users from viewing data marked as PII anywhere in Amperity and from sending data to downstream workflows.

Step four.

Configure the following settings, and then click “Save”.

Contact identifier

The contact identifier for contact lists managed by this destination. Possible values: “email” or “phone”.

Step five.

After configuring this destination users may use:

  • Orchestrations to send query results

  • Orchestrations and campaigns to send audiences

  • Orchestrations and campaigns to send events

Step six.

Test the connection with SAP Emarsys by using an audience with a very small membership. For example: 10 or 100 members or the minimum audience size recommended by SAP Emarsys. Send the test audience to SAP Emarsys and verify the audience is correct in SAP Emarsys. Make adjustments if necessary. Only send full audiences after validation is complete.

Profile attributes and custom fields

Profile attributes sent to SAP Emarsys must match any of the SAP Emarsys system fields or any custom fields that you have defined.

The name of the system or custom field sent from Amperity must match the name of the system attribute or custom field in SAP Emarsys.

Amperity will automatically pass the Amperity ID to the contact list when a custom field named external_id exists in the contact list.

Important

Log in to SAP Emarsys to find the correct string value for the system or custom field. Choose Management and open the Field Editor.

Use the Field String ID column to indentify the correct system or custom field name. System fields are available from the System fields tab and custom fields are available from the Custom fields tab.