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.
レプリケーションに利用可能なオブジェクトのリストについては、 [スキーマ] セクションを参照してください。Preparing for authentication
To access your data, you need to authenticate the connection with your account credentials.
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:
- Switch to Salesforce Lightning Experience if you are using Salesforce Classic.
- Log into your Salesforce Marketing Cloud account.
- In Setup, navigate to Apps > App Manager, and then click New External Client App.
- 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.
- Click Create.
- Once the external app is created, navigate to Settings > OAuth Settings > Consumer Key and Secret.
- When prompted, verify your identity using one of your registered methods.
- Copy and paste your client ID and client secret into a secured file.
- Navigate to Policies > Edit > OAuth Policies, and then enable Enable Client Credentials Flow.
- In Run As (Username), enter your email, and then click Save.
To enable REST API access:
- Log into your Salesforce Marketing Cloud account.
- In Setup, navigate to Apps > External Client Apps > Settings.
- Enable Allow access to External Client App consumer secrets via REST API.
Creating the connection
詳細については、「SaaSアプリケーションへの接続」を参照してください。
- 必要な接続プロパティを入力します。
接続名に接続の名前を入力します。
接続メタデータを開くを選択して、作成時の接続のメタデータを定義します。
[作成] をクリックします。
| Setting | Description |
|---|---|
| Data gateway | ユース ケースに応じて Data Movement gateway を選択します。 情報メモ Qlik Talend Cloud スターター サブスクリプションでは Data Movement gateway をサポートしていないため、この項目は使用できません。別のサブスクリプション ティアを利用しており、Data Movement gateway を使用しない場合は、 [None] (なし) を選択します。 Data Movement gateway の利点とそれを必要とするユース ケースの詳細については、「Qlik データ ゲートウェイ - データ移動」を参照してください。 |
| Start Date | Enter the date, in the format MM/DD/YYYY, from which the data must be replicated from your source to your target. |
| Client ID | Client ID. |
| Client Secret | Client 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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |