Salesforce Marketing Cloud

Introduction

Didomi allows you to update your Salesforce Marketing Cloud contact attributes with the preferences collected through your preference management platform (PMP).

Implementation

Connection

Didomi connects to Marketing Cloud on your behalf through API calls using Installed packages. You need to fetch your Client id, Client secret and Authentication Base URI.

Options

  • Upsert mode

  • Bidirectional flow: Please note that the bidirectional flow is not supported at the moment.

Mapping

Didomi uses the entity Contact of Marketing Cloud. The PMP purpose/preference/value can be mapped with an attribute within attribute set of your Audience builder. Hence, a properties.id is a combination of attribute set and attribute name separated by a colon : (Cf. the example below).

Configuration

Didomi needs the following configuration items to set up the connection with Marketing Cloud:

Property
Description
Required

Client ID

Client ID issued when you create the API integration in Installed Packages

Yes

Client Secret

Client secret issued when you create the API integration in Installed Packages.

Yes

URL

Url of the account’s authentication endpoint

Yes

Mappings

Mapping for properties between Didomi and Salesforce Marketing Cloud

Yes

Example

{
    "type_id": "sf-marketing-cloud",
    "authentication": {
        "client_id": "xxxx-xxxx-xxxx-xxxx",
	"client_secret": "xxxx-xxxx-xxxx-xxxx",
	"url": "<https://xxx-xxx.auth.marketingcloudapis.com/v2/token>"
    },
    "properties": {},
    "mappings": [
        {
	    "id": "Attribute Set:Attribute Name",
	    "value": "consents_purposes_cookies_preferences_newsletter_channel_email_enabled"
	}
    ],
    "upsert_mode": true
}

The configuration of the Salesforce Marketing Cloud integration can be done in the Didomi Console. First please reach out to support@didomi.io to get the integration's premium feature activated.

Last updated