Skip to content

Rex, your AI assistant: the busywork, handled. The ideas, yours 👉 Meet Rex

Connect Emarsys

Create API credentials with the right permissions in Emarsys, connect them to Scratcher and add new sign-ups to an Emarsys contact list.

With the Emarsys integration, everyone who signs up is created or updated as a contact in Emarsys and added to the contact list you choose.

What you need

  • An Emarsys account, and a user who can manage API credentials (under Management > Security Settings).

Step 1: Create API credentials in Emarsys

  1. In Emarsys, go to Management > Security Settings > API Credentials.
  2. Click Create API Credentials, and make sure to select OpenID Connect.
  3. Under Permissions, turn on these four: contact.create, contact.update, contactlist.list and field.list.
  4. Save, and copy the Client ID and the Client Secret. You need both in Scratcher.

Permissions the credentials need

  • contact.create and contact.update: to create new contacts and update existing ones.
  • contactlist.list: to show your contact lists in the campaign.
  • field.list: to show your Emarsys fields in the field mapping.

No other permissions are needed.

Step 2: Connect Emarsys to Scratcher

  1. In Scratcher, go to Settings > Integrations and click Emarsys. The Setup guide in the dialog repeats the steps above.
  2. Paste the Client ID and Client secret.
  3. Click Install integration. Scratcher checks that it can read your contact lists.

Step 3: Turn it on in a campaign

  1. In the editor, go to Connect > Integrations > Emarsys and click Activate.
  2. If you have connected more than one account, choose it under Select account.
  3. Under External list, choose the contact list.
  4. Under Field mappings, map at least "Lead - Email" to the Emarsys Email field, and then your other fields, for example First Name and Last Name. Emarsys fields are listed by name.
  5. Under Filter by permissions (optional), choose your marketing consent checkbox.
  6. Click Save, and then Test.

Field mapping

  • Map the email address yourself. Emarsys uses it to find existing contacts, so a contact without it can't be matched.
  • Only the fields you map are sent.
  • Some Emarsys system fields, such as opt-in, registration date and newsletter, aren't offered, because Emarsys sets them itself.

Scratcher sets the contact's opt-in field in Emarsys to "true" for everyone it sends. So always use Filter by permissions (optional) with your marketing consent checkbox, if it's optional on your form.

What is sent and when

New sign-ups are sent within a minute or two, and the campaign's existing leads are sent when you activate it. If the contact already exists, it is updated and added to the list.

Troubleshooting

  • "All or some of the fields are invalid..." when installing: the client ID or secret is wrong, or the credentials don't use OpenID Connect.
  • Deliveries fail, or the list or field dropdowns are empty: the credentials are missing one of the four permissions. Edit them in Emarsys.
  • Contacts are created twice: "Lead - Email" isn't mapped to the Email field.

Still need help?

Real people are here to help. If you already use Scratcher, the quickest way is the chat inside the platform.

  • Chat with us

    Log in and click the chat button in the bottom-right corner. Rex answers right away, and our team is a click away.

  • Book a meeting

    A free 30-minute video call with our team: a tour, campaign ideas or help with your setup.

  • Email us

    Write to contact@scratcher.io and we will get back to you.