Salesforce Marketing Cloud

Overview

Salesforce Marketing Cloud, not to be confused with Salesforce.com (SFDC), is a marketing automation platform used for managing and executing personalized customer journeys across marketing channels.

The Salesforce Marketing Cloud integration with Lob allows you to create automated direct mail campaigns within Lob, based on any event trigger change that occurred within your Salesforce Marketing Cloud account.

This feature is currently in closed beta while we continue to expand functionality. Reach out to your Account Manager to learn more.

How to connect Lob with Salesforce Marketing Cloud

  1. Within the Lob Dashboard, navigate to the Integrations page and click on “Salesforce Marketing Cloud” (SFMC) to view the SFMC connection page. When on the SFMC page, click the “Connect” button to begin.

  1. You will be prompted to enter your SFMC account credentials using the client id, secret, and subdomain of the account you would like to connect with Lob. Lob will use these credentials to sync the SFMC data extensions and fields that are available within that profile to Lob.

Helpful tips for connecting to Salesforce Marketing Cloud:

Lob is reading the data extensions, fields, and data types so you can use this information. This can take some time depending on how many data extensions your Salesforce Marketing Cloud instance takes. Feel free to navigate away from the Integrations page or the Dashboard while this is completing. You can always check the status on the Integration Detail page in the Integration section.

How to speed this along: The best way to limit data extension access right now is to create the integration ("Installed Package") underneath a business unit that has a limited number of data extensions. That way Lob will only need to iterate through the shared data extensions for that business unit, rather than all data extensions.

SFMC setup

If you have a package installed

You can find your client ID, client secret, and subdomain inside one of your installed packages:

Your subdomain is a 28-character string that begins with the letters "mc." You can find it within the REST Base URI after the https:// and before the “.auth” portion of the string. In the example above, the subdomain would be mc1111111111111111111111111111.

If you don’t have a package set up yet

Follow the steps below to create one to then get your client ID, secret, and subdomain key.

  1. First, open SFMC and click your profile icon in the top right of the screen.

  1. Click Setup under the settings dropdown

  2. Once in Setup, under Platform Tools navigation, click Apps, then Installed Packages

  3. Click New to create a new package if there isn’t one currently installed.

  4. In the New Package Details window, enter a Name and (optional) Description and click “Save”

  1. Within the package, click “Add Component” and select API Integration as the component type; click “Next”

  1. Then select Server-to-Server integration; click “Next”

  1. Within the Server-to-Server integration, select the following properties to grant Lob the ability to gain access to the appropriate data sets to send automated direct mail campaigns from:

  • Data

    • Data Extensions: Read, Write

  • Contacts

    • Audiences: Read, Write

    • List and Subscribers: Read, Write

  • Marketing Cloud Connect

    • Read, Write

  • Automations

    • Automation: Read, Write, Execute

    • Journeys: Read, Write, Execute, Activate/Stop/Pause/Resume/Send/Schedule

  • Channels

    • Web: Read, Write, Send

  • Event Notifications

    • Callbacks: Read, Write, Update

  • Webhooks

    • Read, Write

You can read more about SFMC’s permission scopes here.

  1. After selecting the checkboxes to enable the component properties, click “Save”

  2. You will then see a screen confirming the package information you have just set up, which highlights your Client Id and Client Secret keys within the Components section of the page.

  3. When you have connected your SFMC account to Lob, if successful the “Not Connected” label will show “Connected”.

  4. Once you’ve successfully connected Lob to your SFMC account, you will be able to set up an event trigger from within the Campaigns flow.

Additional notes:

  • SFMC data will reflect the state of the table objects and fields at the time of the sync. Each night at 12am PST, Lob will run an update to pull the latest data that is available to the user’s profile to which the sync is connected to.

  • Your SFMC account / organization must be on a paid SFMC plan.

Last updated