MC Connect Implementation Guide
MC Connect Implementation Guide
Implementation Guide
Salesforce, Spring ’20
@salesforcedocs
Last updated: July 16, 2020
© Copyright 2000–2020 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark of salesforce.com, inc.,
as are other names and marks. Other marks appearing herein may be trademarks of their respective owners.
CONTENTS
Marketing Cloud Connect combines the digital marketing capabilities of Marketing Cloud with the data management, segmentation,
and campaign management tools in Salesforce. Create unitary customer relationships with more data-driven, personalized conversations
and the ability to automate the customer journey. With Marketing Cloud Connect, access powerful Marketing Cloud tools directly within
Sales or Service Clouds. Ensure a consistent branding and messaging experience, while engaging customers in relevant conversations,
and ultimately driving more leads into Salesforce.
1
SET UP MARKETING CLOUD CONNECT
Review the minimum system requirements and key Marketing Cloud Connect concepts to understand user types. Choose a data access
option for configuration. Install the latest managed package and begin the setup process.
2
Set Up Marketing Cloud Connect Marketing Cloud Connect Features
3
Set Up Marketing Cloud Connect Marketing Cloud Connect Features
Pro
Corporate
Enterprise
Advanced
Agency
Enterprise 2.0 -
Note: Enterprise 1.0 Lock & Publish account functions as a Core account for compatibility with Marketing Cloud Connect. Enterprise
1.0 On Your Behalf is not supported. Customers can simulate the On Your Behalf use case by sending from the record owner. The
record owner can see tracking.
Enterprise -
Performance -
4
Set Up Marketing Cloud Connect Marketing Cloud Connect Features
Note: CloudForce.com and Lightning Platform orgs aren't supported. Enable Custom Platform Events in your org to ensure that
the managed package installs correctly.
Note: Lightning Experience is not supported for Marketing Cloud Connect features. Those using Lightning Experience with
Salesforce are automatically redirected to Salesforce Classic when Marketing Cloud Connect tabs are clicked.
(Enterprise 2.0)
Multi-Org Configuration -
5
Set Up Marketing Cloud Connect Marketing Cloud Connect Features
(email only)
Custom Profile Center Standard Profile Center is sufficient Recommended for Journey Builder
customers
Subscription Center
Marketing Cloud Subscriber Status Source Hidden Managed list All Subs list
Marketing Cloud-CRM Subscriber Status Unsubscribes and Resubscribes Unsubscribes and Resubscribes
Sync
Subscriber Key
(sending only)
Suppression Lists
Send Logging
Personalization Strings
AMPScript
6
Set Up Marketing Cloud Connect Marketing Cloud Connect Features
International Sends
A/B Testing -
Automation
Automated Interaction Management (AIM) Marketing Cloud email only (imports and Marketing Cloud email only (imports and
- Parent of Activities and Programs; user-initiated sends) user-initiated sends)
reporting, queries, extracts, scheduling
Distributed Sending - -
Single Sends Leads / Contacts / Person Accounts Leads / Contacts / Person Accounts
7
Set Up Marketing Cloud Connect Marketing Cloud Connect Features
Global Resubscribe
Send Classifications
Sending Log
8
Set Up Marketing Cloud Connect Prerequisites
Tracking suppression
Prerequisites
Marketing Cloud admin and Sales or Service Cloud admin reviews these prerequisites before installing Marketing Cloud Connect.
1. Review product features to understand compatibility and versions.
2. Marketing Cloud Connect requires a relationship between a single Marketing Cloud account and one or more Salesforce orgs. Your
Marketing Cloud account must be provisioned and enabled for use with Marketing cloud Connect before connection.
3. Subscriber Key is required for Marketing Cloud Connect. If it is not enabled in your Marketing Cloud account, complete a Subscriber
Key Migration before proceeding with the connection process.
4. Ensure that four custom tabs are available in your Salesforce org.
5. To use most Marketing Cloud Connect functionality, users need a Marketing Cloud license and a Sales or Service Cloud license.
9
Set Up Marketing Cloud Connect Marketing Cloud Connect User Types and Permissions
CRM Permissions
Grant all Marketing Cloud Connect users these permissions in Sales or Service Cloud:
1. In the Sales or Service Cloud, click Setup.
2. Under Administer in the Setup menu, click Manage Users.
3. Click Users.
4. Create a user or update an existing user with the following settings:
a. User License: Salesforce
b. Profile: System Administrator
10
Set Up Marketing Cloud Connect Account Configuration for User Data Access
11
Set Up Marketing Cloud Connect Account Configuration for User Data Access
These two options for Marketing Cloud Connect set the level of data access for your users.
1. Non-scope by user
2. Scope by user
Understanding the important differences between the two account configuration options is critical to determine how you want Marketing
Cloud Connect to be used after installation. This option is selected during the Marketing Cloud Connect configuration process and can
be altered in the Marketing Cloud Email Studio Setup, under Platform Tools > Apps > Salesforce Integration at any time.
12
Set Up Marketing Cloud Connect Install the Marketing Cloud Connect Managed Package
With non-scope by user accounts, imports return results based on the Salesforce system user’s data access.
Tip: Review all prerequisite information before beginning the installation process.
Important: To ensure that the managed package installs correctly, enable Custom Platform Events in your org. If you are
upgrading Marketing Cloud Connect, review these considerations before installing the latest managed package.
13
Set Up Marketing Cloud Connect Set Up Salesforce System User in Marketing Cloud Connect
14
Set Up Marketing Cloud Connect Use Marketing Cloud Connect to Connect Accounts
Note: Complete the remaining authentication setup steps during the Configure CRM process to ensure that Connected App
Authentication is set up properly.
1. Log in to the Sales or Service Cloud org that you are connecting to the Marketing Cloud, using the Salesforce system user account.
Note: During this process, the system automatically connects to any active Salesforce session. To prevent an incorrect
connection, log out of any active Sales or Service Cloud sessions, other than the Salesforce system user session used for this
process. Closing the tab doesn’t end an active session.
Note: If you are using a custom domain, select Use Custom Domain and enter the domain address before entering the
Salesforce system user credentials.
11. Click Allow to grant access for the Salesforce system user to access the Marketing Cloud account.
15
Set Up Marketing Cloud Connect Create Marketing Cloud API User in Marketing Cloud Connect
20. Save the roles for the Marketing Cloud API user.
16
Set Up Marketing Cloud Connect Connect Marketing Cloud API User in Marketing Cloud
Connect
Note: If your Marketing Cloud account isn’t Enterprise 2.0, proceed to the next topic. Not sure what type of account you have?
Review Marketing Cloud editions to learn your account type or talk to your account representative.
1. In the Marketing Cloud, navigate to Email Studio.
2. Click Admin.
3. Click My Users.
4. Select the Marketing Cloud API User.
5. Click Manage Business Units at the top of the Users table.
6. Ensure that the selection under Default Business Unit is the top-level business unit.
17
Set Up Marketing Cloud Connect Set Up Authentication
7. In the Associated Business Units section, select all business units to be used with Marketing Cloud Connect.
8. Save the changes to the Marketing Cloud API User.
Note: Repeat this process when creating business units in the future for use with Marketing Cloud Connect.
Set Up Authentication
Complete these tasks to set up connected app authentication for Marketing Cloud Connect.
This mechanism authenticates between Sales, Service, and Marketing Clouds without requiring you to store Sales or Service Cloud
passwords in the Marketing Cloud. It also prevents SOAP and REST API calls made by Marketing Cloud Connect from counting against
your rolling 24-hour limit.
1. In the Sales or Service cloud, click Setup.
2. Under Administer, click Manage Apps.
3. Click Connected Apps.
4. Click Salesforce Marketing Cloud.
5. Click Edit Policies.
6. Under Permitted Users, select Admin approved users are pre-authorized.
7. If a warning message appears, click OK.
8. Under IP Relaxation, select Relax IP restrictions.
9. Under Refresh Token Policy, select Immediately expire refresh token.
10. Save changes.
11. From Setup, click Manage Users under Administer.
12. Click Permission Sets.
13. Click New.
14. Give the permission set a memorable name. For example, Marketing Cloud Connected App.
15. Validate the generated API name and ensure that this field contains the desired value.
16. Save the permission set.
Apply the permission sets to the API User: Marketing Cloud Connected App, Marketing Cloud Connector, Marketing Cloud Connector
Admin, and Marketing Cloud System User.
18
Set Up Marketing Cloud Connect Designate Default Workflow User
Warning: During this process, the system automatically connects to any active Marketing Cloud session to establish the
Marketing Cloud Connect API user. To prevent an incorrect connection, log out of any active Marketing Cloud sessions; closing
the tab does not end an active session
Note: Skip this task if you already use time-dependent workflows and a default workflow user is already designated in your
Salesforce org.
1. In Sales or Service Cloud, click Setup.
2. Under Build, click Create.
3. Click Workflow & Approvals.
19
Set Up Marketing Cloud Connect Update Field-Level Security
20
Set Up Marketing Cloud Connect Update Page Layouts
Note: The Marketing Cloud Connect managed package includes the following page layout elements that are no longer needed
and can be deleted if desired.
• @deprecated / et4ae5.Defauot_MID
• @deprecated / et4ae5.ExactTarget_OAuth_Token
• Default Marketing Cloud Page / et4ae5.Default_ET_Page
• Marketing Cloud Username / et4ae5.ExactTargetUsername
• Valid Marketing Cloud Admin / et4ae5.ExactTargetAdmin
• Valid Marketing Cloud User / et4ae5.ExactTargetUser
21
Set Up Marketing Cloud Connect Launch the Setup Wizard
Note: Custom domains aren’t required to use the setup wizard. However, if you don’t use the setup wizard, manually add IP
Addresses to the allowlist and create workflows.
1. In the Sales or Service Cloud Setup menu, click Security Controls under Administer.
2. Click Session Settings.
3. Save without changing anything.
4. In the Sales or Service Cloud, navigate to the Marketing Cloud tab.
5. Agree to verify the Metadata API remote site.
6. Start the automatic setup wizard.
7. Ensure that you completed the pre-install tasks.
8. Agree to the terms.
9. To run the setup wizard, click Configure Marketing Cloud Connect.
10. Click Okay when the wizard is complete.
If you couldn’t automatically verify the Metadata API remote site, follow these steps to install the remote site manually.
11. In the Sales or Service Cloud Setup menu, click Security Controls under Administer.
12. Click Remote Site Settings.
13. Click New Remote Site.
14. Edit the new remote site with the following information:
• Remote Site Name: MetadataAPI
• Remote Site URL: https://{domain}.salesforce.com
• Description: Remote site setting to make callouts
22
Set Up Marketing Cloud Connect Connect to Marketing Cloud
Note: When you enableTenant-Specific OAuth Endpoints, your Marketing Cloud Connector Settings are removed. If you are
reintegrating, record your settings before enablement.
Field Description
Username The username of the Marketing Cloud API user that connects the
accounts.
Send Types Type of sends available for use through Marketing Cloud Connect.
Email must be selected to ensure that sends are enabled for users.
Alternate ‘Reply-to’ Options Allows you to select from a configurable list of names and email
addresses to have replies sent. Reply Mail Management must be
23
Set Up Marketing Cloud Connect Manage Marketing Cloud Connect Settings
Field Description
enabled and configured in Marketing Cloud for Reply-To Options
to work.
Marketing Cloud Deep Link Access These Edit, New Email, and Go To Marketing Cloud links
automatically log in users to Marketing Cloud to perform those
functions. Use this configuration setting to restrict the use of these
deep links within the Marketing Cloud Connect installation.
Target Audience Recipient type that can be selected for sending. Select Report and
Campaign to enable sending through Marketing Cloud Connect.
Only active campaigns are sendable. With scope by user
configuration, you need access to folders containing the desired
report to send to them.
Exclusion Audience Audience type that can be excluded from targeted audiences.
Retry Failed Sends If this option is selected, the system retries sending if the system
is temporarily unavailable. The option to cancel a send is provided
to prevent it from being retried. Retry is only available when a
support ticket recipient has been added to this settings page.
My Personal Custom Reports Enabling this option allows sending to reports saved in My Personal
Custom Reports folder. This option is available for scope by user
account configuration only, as system admins do not have access
to this folder.
Enabled Objects Set the list of objects that triggered sends can be created for within
Marketing Cloud Connect.
Support Ticket Recipient Set an email address of the Salesforce support resource in your
company who gets notifications of issues or problems with
Marketing Cloud Connect.
Logging Selecting this option starts logging all package-related API calls
and associated details. Logging is disabled 60 minutes after it is
enabled.
Tracking Detail Select the desired level of tracking data to return to the Sales or
Service Cloud from the Marketing Cloud.
Tracking Frequency Set the desired frequency for tracking data to be updated. We
recommend hourly.
Number of Days Tracked Set the number of days that tracking data is returned to the Sales
or Service Cloud after the send, up to 365 days. Tracking data is
retained in Salesforce after this time period has expired. We
recommend 90 days.
24
Set Up Marketing Cloud Connect Business Unit Management
Field Description
Campaign Member Tracking Allows for setting campaign member status based on tracking
data.
(Advanced setting) Tenant-Specific OAuth Endpoints Enable tenant-specific OAuth endpoints or remove to use generic
endpoints. Use these endpoints to enable security interactions for
your integration and protect against service disruptions in
authentication.
Note: Before installation and configuration, confirm that the Marketing Cloud API user can access the following items:
• Top-level default parent business unit.
• All business units that are enabled for sends through Marketing Cloud Connect.
Note: This page only supports 4,000 business units. If you have more than 4,000, create a business unit tab as a custom solution
to accommodate more. You can use a single integration user for a maximum of five business units.
Note: The Salesforce tab is only available if you already connected your Marketing Cloud account with your Sales or Service
Cloud org through Marketing Cloud Connect.
25
Set Up Marketing Cloud Connect Test the Connection in Marketing Cloud Connect
22. Click the Email Send Number in the Recently Viewed list that corresponds with the test send.
26
Set Up Marketing Cloud Connect Manage Users
23. To confirm that send was completed, check the status of the email.
24. Check the test email that you received to ensure the personalization populated correctly.
Previous Topic: Configure Settings
Manage Users
After completing the Marketing Cloud Connect installation and setup, integrate Marketing Cloud and Sales or Service Cloud users to
enable access to Marketing Cloud Connect.
Note: Marketing Cloud Connect users need a license for the Marketing Cloud and a license for Salesforce CRM to use most
Marketing Cloud Connect functionality.
27
Set Up Marketing Cloud Connect Integrate Users with Marketing Cloud
13. Under Marketing Cloud Permissions and Roles, select Email for applications.
14. Under Marketing Cloud Permissions and Roles, select Marketing Cloud Content Editor/Publisher or Administrator for roles.
15. Save the user changes.
16. Repeat this process for all integration users.
28
MARKETING CLOUD CONNECT USE CASES
Learn about how you can use Marketing Cloud Connect features after completing setup. Follow steps to configure a multi-org setup,
send emails, configure triggered sends, configure Synchronized Data Sources, and integrate with Journey Builder.
Note: Multi-Org is available for Enterprise 2.0 accounts using version 5.494 or higher of the managed package. It requires Connected
App Authentication and Custom Profile Centers. Not sure what type of account you have? Review Marketing Cloud editions for
more information.
29
Marketing Cloud Connect Use Cases Multi-Org Account and User Configuration
Warning: If you use Synchronized Data Sources with multi-org configuration, when you disconnect a business unit from Sales
or Service Cloud, synchronized data extension names can change. To ensure that they continue working, update query activities
that reference those synchronized data extensions.
30
Marketing Cloud Connect Use Cases Multi-Org Account and User Configuration
• You can map a single Marketing Cloud user to multiple Sales or Service Cloud users if the Sales or Service Cloud users are in different
orgs and the Marketing Cloud user has access to the connected business units. In this example, although user, U1, is already mapped
to UA in ORGA, U1 can also map to UC in ORGB since U1 has access to both business units and UA and UC are in different Orgs.
• You can’t map a single Marketing Cloud user to more than one Sales or Service Cloud user within one org. In this example, U1 is
mapped to UA and can’t be mapped to any other user in the same org, shown by broken line 1.
• You can’t map a Marketing Cloud user to a Sales or Service Cloud user if that org is connected to a business unit that the Marketing
Cloud user can’t access. In this example, U2 does not have access to BU2, so U2 can’t map to UC, shown by broken line 2.
• You can map users to multiple orgs through multiple business units. However, users access only the org that is connected to the
business unit the user is logged in to. In this example, U1 can access BU1 and BU2, but can’t map to UC while logged in to BU1,
shown by broken line 3. U1 must log in to BU2 to connect to UC.
31
Marketing Cloud Connect Use Cases Multi-Org FAQs
• An unconnected Marketing Cloud user accesses the Marketing Cloud only. In this example, U3 can’t access Sales or Service Cloud
orgs.
• You can map a Marketing Cloud user to the same Sales or Service Cloud user if the Marketing Cloud user can access multiple
connected business units. In this example, user U1 accesses multiple business units in the same Enterprise 2.0 account. These business
units are connected to the same Sales or Service Cloud org. U1 can connect to the same Sales or Service Cloud user, UA, through
either business unit.
• You can’t map multiple Marketing Cloud users to the same Sales or Service Cloud user. In this example, U2 is connected to UB, so
U3 and U4 can’t connect to UB.
Multi-Org FAQs
Answers to your questions about Marketing Cloud Connect multi-org configuration.
32
Marketing Cloud Connect Use Cases Multi-Org FAQs
33
Marketing Cloud Connect Use Cases Multi-Org FAQs
Warning: If you use Synchronized Data Sources with multi-org configuration, when you disconnect a business unit from Sales
or Service Cloud, synchronized data extension names can change. To ensure that they continue working, update query activities
that reference those synchronized data extensions.
Is Sharing Salesforce Data Extensions (SFDEs) Across Business Units (BUs) Allowed?
No. Sharing SFDEs in a Multi-Org account isn’t supported, even between BUs connected to the same org. Sharing standard Data Extensions
and content is supported.
34
Marketing Cloud Connect Use Cases Upgrade to a Multi-Org Account
• All business units receive code at the same time. You can test Sales or Service Cloud changes before the release. However, Marketing
Cloud changes go live at the same time, regardless of whether the business unit is tied to a Sandbox.
Important: When using multi-org with Synchronized Data Sources, ensure that the tracking user is connected to less than
five business units.
4. Enabling multi-org in an existing account breaks inherited business unit connections. Reconnect previously connected business
units and users after upgrading.
Email Sends
Integrated users send Marketing Cloud emails through the Sales or Service Cloud with Marketing Cloud Connect. Send single emails to
leads, contacts, and person account records, or send to a list through campaigns and reports.
35
Marketing Cloud Connect Use Cases Send Single Email with Marketing Cloud Connect
• Record Owner: the user who created the record as the sender.
• Org-wide Email Address: a list of users in the Sales or Service Cloud whose email address qualifies as a possible sender.
• Send Classification: uses the sender profile associated with it.
Note: Ensure that all default sender profiles, delivery profiles and send classifications aren’t deleted or renamed. Marketing Cloud
Connect must recognize Default Commercial and Default Transactional send classifications.
The first time a message is sent through Marketing Cloud Connect to a contact, lead, or person account from Sales or Service Cloud, that
recipient is added to the All Subscribers list in Marketing Cloud. For example, when a Marketing Cloud email is sent from the Sales Cloud
to a report containing contacts, those contacts are added to the All Subscribers list. The Marketing Cloud status for that subscriber is set
to Active in the All Subscribers list.
Also, the first time a message is sent through Marketing Cloud Connect to a contact, lead, or person account from Sales or Service Cloud,
a unique Marketing Cloud subscriber key is created to identify that individual based on the LeadID or ContactID fields. Email tracking
history, email opt-out, and preferences for that individual are tied to the subscriber key. If you use a lead conversion process to convert
leads to contacts in Sales Cloud, when the ContactID is sent to Marketing Cloud a new subscriber is added with a new subscriber key.
Therefore, the tracking data, opt-out, and preferences are not automatically transferred for that individual.
Note: Not seeing this functionality? It’s available after users are connected to the CRM on their User Detail record. Salesforce.com
Status is Integrated.
36
Marketing Cloud Connect Use Cases Send to Campaigns or Reports
Note: Ensure that Reply Mail Management is configured for your account.
7. Select Disable Individual Level Tracking if you want to prevent subscriber level tracking from being created for the send.
8. Set the time and date for sending.
Note: This setting determines the date and time the process starts, not the actual date and time the email is sent. You can
update and cancel a scheduled send.
Note: When you send to a report or campaign, Marketing Cloud Connect creates a data extension for the send. The data extension
is automatically deleted after five days.
1. In Sales or Service Cloud, navigate to the Marketing Cloud tab.
2. If not automatically redirected, click Email Send.
3. If using an Enterprise 2.0 account, use the look-up tool to select a business unit from which the email send originates.
4. To select a Marketing Cloud email, click Find.
5. To see the email before sending, click Preview Email.
6. Edit the subject line if needed.
7. Add up to 10 reports or campaigns to Recipients.
8. If needed, add reports or campaigns to the Exclusions field to exclude recipients from the send.
9. To create an email linkage, select Remember recipients and exclusions for this email. This selection associates an email to this
specific list of recipients and exclusions. On subsequent sends, selecting this email automatically populates the Recipients and
Exclusions fields with the reports or campaigns chosen here.
10. Select a From email address or send classification.
Note: If a contact has the Email Opt Out flag set, they don’t receive Marketing Cloud emails, unless it is a transactional send
classification. Version 5.18 or later of Marketing Cloud Connect is required for the transactional send classification.
11. Choose the Reply-to email address, used for receiving replies to this email.
12. To prevent sending more than one email to the same email address in this send, select Dedupe Subscribers.
37
Marketing Cloud Connect Use Cases Marketing Cloud Sends to Campaigns or Reports
13. To prevent subscriber level tracking for this send, select Disable Individual Tracking.
14. Set the Send Date and Time for the email send process to start.
15. Certify that all recipients have opted in and provided permission to receive the email.
16. Send the email.
Tip: To return all reports or campaigns, leave the search field blank and click Find Now.
10. Add Salesforce reports, campaigns, or data extensions to the Exclusions list if needed.
11. Save the recipients list.
12. Save the Salesforce send definition.
The Salesforce send definition is created.
13. In Marketing Cloud, navigate to Email Studio.
14. Click Salesforce Send Emails under Interactions.
15. Select a Salesforce send definition.
16. Click Send.
17. Select the date and time to start the send.
18. Certify that all recipients have opted to receive the email.
19. Click Send.
The send is complete.
38
Marketing Cloud Connect Use Cases Salesforce Data Extensions in Marketing Cloud Connect
Note: Not seeing them? Connect users to the CRM on their User Detail record in the Marketing Cloud to access this functionality.
The User Detail record shows Integrated for Salesforce.com Status.
Prerequisites
Before you get started with Salesforce data extensions (SFDEs), check the subscriber key, Email field, and field names.
• Use an 18-digit Salesforce Contact or Lead ID (not 15-digit) to map to the subscriber key. If the report field containing the Contact
or Lead ID is called Contact ID or Lead ID, subscriber Keys automatically convert from 15 to 18 digits. A field labeled 'ID' uses the
15-digit Contact or Lead ID, which can result in duplicate IDs in the Marketing Cloud. Contact or Lead IDs that are imported into a
standard data extension using a manual flat file import are not automatically converted from a 15-digit to an 18-digit subscriber key.
• To import into an SFDE, the email field must be set to type 'email address'. If not, the report is imported into a standard data extension
and tracking is not returned to the Sales or Service Clouds.
• Field names cannot contain ? or %.
Follow data extension documentation to learn steps for creating and managing Salesforce Data Extensions.
39
Marketing Cloud Connect Use Cases Triggered Sends
Triggered Sends
Use triggered email sends to create and send automated messages to Salesforce contacts, leads, or person accounts when object records
are created or updated.
40
Marketing Cloud Connect Use Cases Understand Marketing Cloud Connect Triggered Sends
Note: Permission for Triggered Sends Configuration is required to complete these tasks.
41
Marketing Cloud Connect Use Cases Create a Salesforce Triggered Send in Marketing Cloud
Connect
5. Click New.
6. In the Apex Trigger window, select Is Active.
7. Enter the following code, substituting the desired object name where indicated with Object Name.
trigger Trig_Object Name on Object Name (after insert, after update) {
et4ae5.triggerUtility.automate('Object Name'); }
For example:
trigger Trig_Lead on Lead (after insert, after update) {
et4ae5.triggerUtility.automate('Lead'); }
Note: Permission for Triggered Sends Configuration is required to complete these tasks.
Tip: If you select an object with more than 1,000 fields, only the first 1,000 fields are available for selection.
6. Select the Recipient Lookup source field that has the lookup relationship to the recipient source.
For example, select Contact ID for the Contact Object, or select Lead ID for the Lead Object. Only one lookup field can be selected.
7. Customize Field Criteria for the event trigger as necessary, to a maximum of 10 criteria.
a. To add field logic options, click +.
b.
To specify whether each criteria is in addition (AND) or an alternative (OR), click .
For example, 1 AND 2.
42
Marketing Cloud Connect Use Cases Personalize with Custom Objects
8. To determine the actions on the record that warrant evaluation for a send, select an option for Trigger send when.
For example, you configure a trigger and intend for it to send a single time for the first match found. You configure the trigger to
send an email when Checkbox A is set to Yes. If you set the Trigger send when to new record is created or existing record is
updated, when Checkbox A is set to Yes, the Triggered Send email is triggered every time that record is updated, as long as Checkbox
A is set to Yes.
43
Marketing Cloud Connect Use Cases Test Object Triggers
Test.startTest();
// Insert contact
insert c;
System.assert(!String.isBlank(c.Id));
Test.stopTest();
44
Marketing Cloud Connect Use Cases Create Synchronized Data Sources in Contact Builder
Note: Marketing Cloud Connect currently uses version 46 of the Salesforce SOAP API WSDL. Because the API version may not be
the latest production version available, some new objects or features may not be supported in Synchronized Data Sources.
45
Marketing Cloud Connect Use Cases Journey Builder Integration
Contact Builder data model. Your customer interactions within Journey Builder use the primary and foreign keys to define the relationships
that inject your contacts in as necessary.
1. Select the Data Sources tab in Contact Builder.
2. Select the Synchronized tab.
3. Select the data source connected via account integration.
4. Click Set Up Object.
5. Click Synchronize for the entity containing the data to bring into Contact Builder.
6. To synchronize, select the checkboxes next to the fields and click Next.
7. Filter the synchronized records you choose to import using the Records Collection buttons.
a. To import all records, select All records.
b. To import only records with an email address, select All records with an email address.
c. To import only records created after a specified date, select All records created since and specify the date.
d. To use a Boolean filter to import records, select All records with and enter the Boolean value. Select an attribute, set the operator,
and choose True or False.
For better performance, implement data filters on your synchronized records using the Records Collection buttons. You can choose
a specified date that synchronizes only the records you need for your activities. Filter out any records that do not include an email
address record to prevent duplicate contact records in your Marketing Cloud account. Finally, you can use Boolean filters to narrow
the range of imported records.
8. Choose how often you wish the synchronize data in the Poll Schedule dropdown menu.
9. Click Save.
Note: You can't change relationships between synchronized objects after the initial sync.
Each data source displays both a name and the external API key for the object. Use these names to locate your information and manage
your synchronized data extensions. Synchronized Data Sources displays row counts during the initial synchronization and refreshes every
30 seconds.
Note: When new objects are synchronized, object relationships are prioritized in this order:
• System-defined standard object relationships.
• Standard reference ID fields, in alphabetical order.
• Custom reference ID fields, in alphabetical order.
46
Marketing Cloud Connect Use Cases Sales and Service Cloud Activities in Journey Builder
Note: You can copy these activities on the Journey Builder canvas but configuration will be lost.
Campaign Member activity Creates a connection between campaigns, contacts, and leads,
which helps define a relationship to the status within a campaign.
Use this activity to track important moments of engagement
throughout the journey.
47
Marketing Cloud Connect Use Cases The Salesforce Data Event
Convert Lead activity Converts qualified leads from the Sales and Service Cloud into a
contact or account. This activity schedules important actions, such
as assigning a lead owner, creating an opportunity or task, and
changing the lead’s conversion status.
Task activity Create a task in Sales and Service Cloud for each Marketing Cloud
contact that reaches this activity. For more information, see
Marketing Cloud Connect..
Account Activity Creates or updates an account in Sales and Service Cloud for each
contact that reaches this activity. If you have a Person Account,
you can create or update both Business and Person Account
activities. To learn more about how to configure activities with
Person Accounts, see Use Person Accounts with Sales and Service
Cloud Activities.
Contact Activity Creates or updates a contact from Sales or Service Cloud using
Sales or Service Cloud data brought into a journey or Marketing
Cloud contact data.
Case Activity Creates a case and associates it to the Sales and Service Cloud
contact that matches the Marketing Cloud contact's ID. Or create
a Sales and Service Cloud contact to associate to the case.
Lead Activity Creates or updates a lead from Sales or Service Cloud using Sales
or Service Cloud data brought into a journey or Marketing Cloud
contact data.
Opportunity Activity Creates an opportunity record in Sales and Service Cloud. Use
Marketing Cloud contact attributes to populate the fields in the
opportunity record, or populate each record with fixed values you
choose.
Legacy Activities These Sales and Service Cloud canvas activities appear in old
journeys but are no longer available to use in new journeys.
Note: You can grant users access to create or edit Salesforce events, except users with the Marketing Cloud Administrator role.
48
Marketing Cloud Connect Use Cases The Salesforce Data Event
Each record includes the ID for the user, lead, or contact entering the journey, their email address, and the email opt-out flag status.
After the entry source is configured, you cannot edit the object it uses or who enters the journey. To choose a different object, delete
and recreate the entry source. You can edit the entry criteria, filters, and event data for a configured entry source before it is published.
You can copy journeys that contain Salesforce entry sources and entry sources are reusable.
Note: Salesforce entry sources are only editable when no other running journey or version uses them.
After you save the entry source, Marketing Cloud creates a data extension that uses event data as columns and the contact ID as the
Subscriber ID. Records that meet the entry source criteria are imported into this data extension when the journey is published. A row is
created in the data extension every time a record meets the criteria, but existing rows aren’t updated. You can have the same record in
the data extension multiple times when it enters the journey more than once. For more details, see Journey Settings.
Note: The Test Mode feature in Journey Builder does not support Salesforce Entry Sources.
The integration between Marketing Cloud and Sales Cloud uses Salesforce Flows, Process Builder, Apex, Platform Events, and SOAP APIs.
Therefore, Salesforce Data Events are subject to all APEX Governor Limits. Adding Journey Builder events or your own processes or flows
into the save order of an object can expose or exceed limits within your org. When an integrated journey is activated, the Sales Cloud
Flow Metadata API launches the flow for the object with the conditions specified in the entry configuration. These tools allow your
business to run behind the scenes. Here is an example that illustrates how the objects are used and how they work from end to end.
Known Issues
• Platform Events Apex Job runs before update transaction is complete
• Journey Builder Salesforce Integration Events will not always fire if another Process Builder finishes later in the same transaction
• If one contact in the batched API call to the Marketing Cloud fails, the entire batch fails to inject.
49