Skip to main content
Salesforce → Marketing CloudIntegration guide

Connecting Salesforce to Salesforce Marketing Cloud

Salesforce holds the opportunity, the amount and the close — the only place the actual revenue outcome is recorded. Marketing Cloud is a different product from Salesforce CRM with a different identity model, which catches out almost everyone who assumes a contact in one is a contact in the other. The join between them succeeds or fails on one thing: whether the Subscriber Key reaches the Salesforce Lead or Opportunity before the conversion happens, because Marketing Cloud can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Marketing Cloud Connect: getting Sales Cloud deals into journeys

Most orgs should use Marketing Cloud Connect, with synchronized data extensions and Journey Builder's Salesforce Data entry source on events like Closed Won. Lead conversion changes the record ID used as Subscriber Key, so plan for converted Leads. Resolve opportunity journeys to Contacts through Contact Roles, not the owner, and add exit criteria checking the current stage.

There is a native route and most orgs should use it: Marketing Cloud Connect. It brings Sales Cloud objects into synchronized data extensions on a schedule, and Journey Builder has a Salesforce Data entry source that can start a journey when a record is created or updated, such as an opportunity moving into Closed Won. The open questions are identity and timing, not transport.

With Marketing Cloud Connect, the usual recommendation is to use the Contact or Lead record ID as the Subscriber Key. That has a consequence specific to this pair: lead conversion gives the person a new ID. A Lead subscribed under its Lead ID becomes a Contact with a different ID, and Marketing Cloud sees a second subscriber unless someone has planned for it. Check how your org handles converted Leads before building any journey that spans the conversion.

An opportunity is not a person, so a journey entered from an opportunity has to resolve to Contacts through Contact Roles or a lookup; resolving to the owner emails your rep. Synchronized data extensions refresh on an interval, so a journey reading them lags the CRM. For a deal reopened mid-journey, add exit criteria that check the current stage.

Salesforce → Marketing Cloud · what breaks

Why this join usually fails — Salesforce → Marketing Cloud

  1. 01

    The Subscriber Key never reaches Salesforce

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  2. 02

    The identifier is lost at lead conversion

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  3. 03

    Two identity models treated as one

    Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.

  4. 04

    Nothing reconciles afterwards

    Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.

Salesforce → Marketing Cloud · the fix

What working looks like — Salesforce → Marketing Cloud

  • The Subscriber Key on every opportunity

  • Conversions arriving in Marketing Cloud

    The record lands in the data extension, the journey's entry criteria evaluate on its schedule, and sends follow.

  • Reconciled against the source

Salesforce → Marketing Cloud · architecture

How Salesforce and Marketing Cloud actually connect

  1. 1

    Salesforce holds the truth

    The opportunity carries the amount, stage and close date. Because Leads convert into Contacts, Accounts and Opportunities, the identifier must be mapped through the conversion or it is dropped exactly at the moment the record becomes valuable.

  2. 2

    Salesforce Marketing Cloud needs a click to match

    The Subscriber Key, the data extension the journey listens to, and the fields its decision splits reference. An event landing in the wrong data extension will be stored correctly and trigger nothing.

  3. 3

    The identifier is the bridge

    The Subscriber Key, captured at the visit and carried into the Salesforce Lead or Opportunity.

  4. 4

    The event source decides reliability

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  5. 5

    Deduplication at the destination

    Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.

Salesforce → Marketing Cloud · normal or broken

Working vs. broken, side by side — Salesforce → Marketing Cloud

Normal, not a fault

  • The Subscriber Key present on the opportunity

  • Sent from a Salesforce flow, Apex trigger or scheduled export on StageName change

  • Deduplicated correctly

    Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.

  • Reconciles with the source

Actually broken

  • The Subscriber Key missing on most records

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  • Sent from the browser

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  • Counted twice, or not at all

    Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.

  • Nobody has reconciled it

Salesforce → Marketing Cloud · diagnose

Diagnostic order — Salesforce → Marketing Cloud

  1. 01

    Count opportunitys carrying the Subscriber Key

  2. 02

    Follow one real conversion end to end

  3. 03

    Convert a test Lead and inspect the resulting Opportunity

    If the identifier is not on the Opportunity, the field mapping is missing. This takes five minutes and rules out the most likely cause outright.

  4. 04

    Confirm what Subscriber Key is actually set to in this org

    Before sending anything. It is a configuration decision made once, often years ago, and every integration built afterwards inherits it.

  5. 05

    Read the match rate, not the success message

    Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.

Salesforce → Marketing Cloud · prove

How it gets proven — Salesforce → Marketing Cloud

Source of truth

A Salesforce report of Closed Won opportunities for the same window, by close date.

  • The Subscriber Key confirmed present on a live opportunity.
  • Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
  • A test lead converted end to end with the identifier confirmed present on the resulting opportunity.

Salesforce → Marketing Cloud · free audit

What we check in the free audit

  • Count opportunitys carrying the Subscriber Key
  • Follow one real conversion end to end
  • Convert a test Lead and inspect the resulting Opportunity
  • Confirm what Subscriber Key is actually set to in this org
  • Read the match rate, not the success message

Checked against

A Salesforce report of Closed Won opportunities for the same window, by close date.

Get my free conversion tracking audit

Free30 minutesNo obligation

Salesforce → Marketing Cloud · when not to buy

When you don't need this — Salesforce → Marketing Cloud

  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the Subscriber Key.
  • If your Salesforce instance is heavily customized and administered by another team, scope their availability before commissioning this — the build is usually blocked on admin access rather than on the tracking work.
  • If you are on Salesforce CRM but sending email through a simpler platform, adding Marketing Cloud brings an identity model to reconcile that you currently do not have to think about.

Salesforce → Marketing Cloud · what we deliver

What gets built — Salesforce → Marketing Cloud

  • Identifier capture into Salesforce

    Custom field on Lead, matching custom field on Contact and Opportunity, and the field mapping configured so conversion carries it across. Verify by converting a test lead and reading the resulting opportunity.

  • Event source: a Salesforce flow, Apex trigger or scheduled export on StageName change

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  • Dispatch to Marketing Cloud

    A server-side insert into the data extension the journey is configured against, keyed on Subscriber Key.

  • Reversals where they exist

    An opportunity moved back out of Closed Won can be retracted, and enterprise pipelines do this often enough to be worth wiring.

Written guarantee

95%+ tracking accuracy

Measured against A Salesforce report of Closed Won opportunities for the same window, by close date.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Salesforce → Marketing Cloud questions, answered

Use Marketing Cloud Connect with a Salesforce Data entry source on Opportunity, filtered on the move into Closed Won, and resolve recipients through Contact Roles.

Free · 30 min

Get Salesforce and Marketing Cloud joined properly

Free30 minutesNo obligation