Salesforce Marketing Cloud | Qlik Cloud Help
Skip to main content Skip to complementary content

Salesforce Marketing Cloud 

Salesforce Marketing Cloud is a digital marketing platform that automates email marketing, social media, apps, websites, and more.

Salesforce Marketing Cloud integration replicates data using the Salesforce Marketing Cloud both REST API and SOAP API.

See the Schema section for a list of objects available for replication.

Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

Information noteMake sure that the account you use has read access to the tables you want to fetch.

Before you create connections in Qlik Talend Cloud, make sure you have the following:

  • A Salesforce Professional, Corporate, or Enterprise license (required to use the Salesforce Marketing Cloud API).
  • A Salesforce Marketing Cloud Administrator user, or a System Administrator user in Salesforce.
  • An External Client App created in Salesforce. To integrate with Salesforce, external applications must use an External Client App (not a package).

The following instructions are available only in the Salesforce Lightning Experience menu. If you are using Salesforce Classic, switch to Salesforce Lightning Experience.

To retrieve your client ID and client secret:

  1. Switch to Salesforce Lightning Experience if you are using Salesforce Classic.
  2. Log into your Salesforce Marketing Cloud account.
  3. In Setup, navigate to Apps > App Manager, and then click New External Client App.
  4. Configure the app:
    • Enter a name.
    • Set Distribution State to Local.
    • Under API (Enable OAuth Settings), select Enable OAuth and set OAuth Scopes to Full access.
    • Under Flow Enablement, select Enable Client Credentials Flow.
  5. Click Create.
  6. Once the external app is created, navigate to Settings > OAuth Settings > Consumer Key and Secret.
  7. When prompted, verify your identity using one of your registered methods.
  8. Copy and paste your client ID and client secret into a secured file.
  9. Navigate to Policies > Edit > OAuth Policies, and then enable Enable Client Credentials Flow.
  10. In Run As (Username), enter your email, and then click Save.

To enable REST API access:

  1. Log into your Salesforce Marketing Cloud account.
  2. In Setup, navigate to Apps > External Client Apps > Settings.
  3. Enable Allow access to External Client App consumer secrets via REST API.

Creating the connection

For more information, see Connecting to SaaS applications.

  1. Fill in the required connection properties.
  2. Provide a name for the connection in Connection name.

  3. Select Open connection metadata to define metadata for the connection when it has been created.

  4. Click Create.

Connection settings
SettingDescription
Data gateway

Select a Data Movement gateway if required by your use case.

Information note

This field is not available with the Qlik Talend Cloud Starter subscription, as it does not support Data Movement gateway. If you have another subscription tier and do not want to use Data Movement gateway, select None.

For information on the benefits of Data Movement gateway and use cases that require it, see Qlik Data Gateway - Data Movement.

Start DateEnter the date, in the format MM/DD/YYYY, from which the data must be replicated from your source to your target.
Client IDClient ID.
Client SecretClient secret.
Tenant Subdomain The tenant subdomain for your Salesforce Marketing Cloud account.

Example: https://subdomain.auth.marketingcloudapis.com, enter subdomain.

Schema

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

The schema and information displayed below is for version 1.

Depending on your destination, table and column names may not appear as they are outlined below.

campaigns

The campaigns table contains information about the campaigns in your Salesforce Marketing Cloud account.

Replication Method

Full Table

Primary Key

id

Replication Key

modifiedDate

Useful links

Salesforce Marketing Cloud API method

content_areas

The content_areas table contains information about the reusable content sections in your Salesforce Marketing Cloud account.

Replication Method

CDC

Primary Key

ID

Replication Key

ModifiedDate

Useful links

Salesforce Marketing Cloud API method

data_extension

The data_extension table contains information about the data extensions in your Salesforce Marketing Cloud account. A table will be created for each data extension in your Salesforce Marketing Cloud account.

For example: If there are two data extensions named MobileAddress and MobileSubscription, two tables would be created: data_extension._MobileAddress and data_extension._MobileSubscription

Note: Retrieving data extension data requires Read, Write permissions for Data Extensions.

Replication Method

Full Table

Primary Key

_CustomObjectKey

Useful links

Salesforce Marketing Cloud API method

emails

The emails table contains information about the emails in your Salesforce Marketing Cloud account.

Replication Method

CDC

Primary Key

ID

Replication Key

ModifiedDate

Useful links

Salesforce Marketing Cloud API method

events

The events table contains information about the events in your Salesforce Marketing Cloud account.

When events are replicated to the destination, they are split into the following tables: BounceEvent, ClickEvent, OpenEvent, SentEvent, and UnsubEvent.

Replication Method

CDC

Primary Keys

EventType

EventDate

SendID

SubscriberKey

Replication Key

EventDate

Useful links

folders

The folders table contains information about the folders in your Salesforce Marketing Cloud account.

Replication Method

CDC

Primary Key

ID

Replication Key

ModifiedDate

Useful links

Salesforce Marketing Cloud API method

list_sends

The list_sends table contains information about the completed sends for lists in your Salesforce Marketing Cloud account.

Replication Method

CDC

Primary Keys

ListID

SendID

Replication Key

ModifiedDate

Useful links

Salesforce Marketing Cloud API method

list_subscribers

The list_subscribers table contains information about the lists associated with a specific subscriber in your Salesforce Marketing Cloud account.

Replication Method

CDC

Primary Keys

ListID

SubscriberKey

Replication Key

ModifiedDate

Useful links

Salesforce Marketing Cloud API method

lists

The lists table contains information about the lists in your Salesforce Marketing Cloud account.

Replication Method

CDC

Primary Key

ID

Replication Key

ModifiedDate

Useful links

Salesforce Marketing Cloud documentation

Salesforce Marketing Cloud API method

sends

The sends table contains information about the email sends in your Salesforce Marketing Cloud account.

Replication Method

CDC

Primary Key

ID

Replication Key

ModifiedDate

Useful links

Salesforce Marketing Cloud API method

subscribers

The subscribers table contains information about the subscribers (people subscribed to receive email and/or SMS communication) in your Salesforce Marketing Cloud account.

Replication Method

CDC

Primary Key

ID

Replication Key

ModifiedDate

Useful links

Salesforce Marketing Cloud API method

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!