Connecting Salesforce to Klaviyo
Salesforce holds the opportunity, the amount and the close — the only place the actual revenue outcome is recorded. Klaviyo drives the flows, so an event it never receives is a flow that never triggers and revenue that never happens. The join between them succeeds or fails on one thing: whether the profile identity — email or phone reaches the Salesforce Lead or Opportunity before the conversion happens, because Klaviyo can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Salesforce to Klaviyo: a fit only for consumer sales pipelines
Klaviyo fits Salesforce orgs selling big personal purchases such as solar, remodeling or enrollment, not pure B2B. Send stage-transition events such as quote sent, Closed Won and Closed Lost, keyed by the Contact's email, with amount on Closed Won only. Trigger on the stage change itself, since Klaviyo does not deduplicate, and subscribe only profiles with a mapped consent field.
Klaviyo is a consumer email and SMS tool; Salesforce Sales Cloud is mostly used for considered sales. The pair fits when a Salesforce opportunity is a person buying something big for themselves: solar, home improvement, education enrollment, a vehicle, a wedding venue. Then Klaviyo runs nurture and post-sale flows, and Salesforce stage changes are the triggers.
Send events on stage transitions (quote sent, Closed Won, Closed Lost) keyed to the profile by the Contact's email, with the opportunity amount on Closed Won only. Klaviyo does not deduplicate, so a Salesforce flow that fires on every record save sends the same stage event again and can send the same email twice; trigger on the stage change itself. Klaviyo's best-known Salesforce integration is for Commerce Cloud stores, not Sales Cloud; check whether any native route covers your org before assuming one.
Consent is the specific risk here. A Salesforce Lead created from a phone inquiry, a trade show scan or a purchased list did not opt into Klaviyo marketing. Map a consent field from Salesforce and subscribe only profiles where it is true; everyone else can still receive events for transactional messages. For a pure B2B pipeline, skip Klaviyo and use HubSpot or Salesforce's own marketing tools.
Salesforce → Klaviyo · what breaks
Why this join usually fails — Salesforce → Klaviyo
- 01
The profile identity — email or phone 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.
- 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.
- 03
Duplicate events trigger duplicate emails
Unlike an ad platform, a duplicate here is visible to your customer. Two order confirmations for one order is a support ticket, not a reporting discrepancy.
- 04
Nothing reconciles afterwards
Klaviyo shows the event on the profile's activity feed within moments. Check the profile, not the API response — and specifically check whether the same metric is arriving twice from two sources.
Salesforce → Klaviyo · the fix
What working looks like — Salesforce → Klaviyo
The profile identity — email or phone on every opportunity
Conversions arriving in Klaviyo
The event lands on the profile, triggers the flows that depend on it, and becomes available for segmentation.
Reconciled against the source
Salesforce → Klaviyo · architecture
How Salesforce and Klaviyo actually connect
- 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
Klaviyo needs a click to match
Klaviyo needs to resolve the event to a profile. Given an email it will create or update; given nothing it discards the event.
- 3
The identifier is the bridge
The profile identity — email or phone, captured at the visit and carried into the Salesforce Lead or Opportunity.
- 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
Deduplication at the destination
Klaviyo does not deduplicate events for you. Sending the same purchase from both the store integration and your own server produces two events, two flow triggers and potentially two emails to a customer who bought once.
Salesforce → Klaviyo · normal or broken
Working vs. broken, side by side — Salesforce → Klaviyo
Normal, not a fault
The profile identity — email or phone present on the opportunity
Sent from a Salesforce flow, Apex trigger or scheduled export on StageName change
Deduplicated correctly
Klaviyo does not deduplicate events for you. Sending the same purchase from both the store integration and your own server produces two events, two flow triggers and potentially two emails to a customer who bought once.
Reconciles with the source
Actually broken
The profile identity — email or phone 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
Unlike an ad platform, a duplicate here is visible to your customer. Two order confirmations for one order is a support ticket, not a reporting discrepancy.
Nobody has reconciled it
Salesforce → Klaviyo · diagnose
Diagnostic order — Salesforce → Klaviyo
- 01
Count opportunitys carrying the profile identity — email or phone
- 02
Follow one real conversion end to end
- 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.
- 04
Open the profile's activity feed after a test event
One event or two? Check whether the native store integration is already sending the same metric before you add a second source.
- 05
Read the match rate, not the success message
Klaviyo shows the event on the profile's activity feed within moments. Check the profile, not the API response — and specifically check whether the same metric is arriving twice from two sources.
Salesforce → Klaviyo · prove
How it gets proven — Salesforce → Klaviyo
Source of truth
A Salesforce report of Closed Won opportunities for the same window, by close date.
- The profile identity — email or phone confirmed present on a live opportunity.
- The profile activity feed confirmed to show one event per conversion, with no overlap against the native integration.
- A test lead converted end to end with the identifier confirmed present on the resulting opportunity.
Salesforce → Klaviyo · free audit
What we check in the free audit
- Count opportunitys carrying the profile identity — email or phone
- Follow one real conversion end to end
- Convert a test Lead and inspect the resulting Opportunity
- Open the profile's activity feed after a test event
- Read the match rate, not the success message
Checked against
A Salesforce report of Closed Won opportunities for the same window, by close date.
Free30 minutesNo obligation
Salesforce → Klaviyo · when not to buy
When you don't need this — Salesforce → Klaviyo
- Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the profile identity — email or phone.
- 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 Klaviyo's native store integration already sends the events your flows need, adding a second source creates duplicates rather than value.
Salesforce → Klaviyo · what we deliver
What gets built — Salesforce → Klaviyo
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 Klaviyo
The Klaviyo Events API with the profile identifiers and the event properties, sent server-side.
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.
From $400 · See packages
FAQ
Salesforce → Klaviyo questions, answered
Yes, if you send an event to Klaviyo on each stage transition, keyed by email. Send on the transition, not on every record save.
Klaviyo integrates with Salesforce Commerce Cloud for online stores. For Sales Cloud opportunities, check current options or send events through the Klaviyo API.
Almost always because the profile identity — email or phone never reached the Salesforce Lead or Opportunity. 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. Measure coverage before debugging the dispatch.
Klaviyo is identity-first: it resolves to a profile by email address or phone number. The __kla_id cookie ties an anonymous browser to a profile once identified. Events without any identifier are dropped, and events with a new email create a new profile rather than updating an existing one — which quietly fragments your list.
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.
Klaviyo shows the event on the profile's activity feed within moments. Check the profile, not the API response — and specifically check whether the same metric is arriving twice from two sources.
More on Salesforce → Klaviyo
- Klaviyo → SalesforceConnecting Klaviyo to Salesforce
- Klaviyo → Marketing CloudConnecting Klaviyo to Salesforce Marketing Cloud
- Shopify → KlaviyoConnecting Shopify to Klaviyo
RELATED GUIDES
Where Salesforce → Klaviyo fits in the rest of your tracking
- Klaviyo → SalesforceConnecting Klaviyo to Salesforce
- Less Annoying CRM → KlaviyoConnecting Less Annoying CRM to Klaviyo
- Nutshell → KlaviyoConnecting Nutshell to Klaviyo
- HubSpot → KlaviyoConnecting HubSpot to Klaviyo
- Salesforce → BrazeConnecting Salesforce to Braze
- Salesforce → Marketing CloudConnecting Salesforce to Salesforce Marketing Cloud
- Law firmsConversion tracking for law firms, without sending case details anywhere
- Zoho → KlaviyoConnecting Zoho CRM to Klaviyo
Free · 30 min
Get Salesforce and Klaviyo joined properly
Free30 minutesNo obligation
