Connecting Klaviyo to Salesforce
Klaviyo holds the profile, the email engagement and — where it is wired to your store — the order. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the Klaviyo profile before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Klaviyo to Salesforce: Profiles Into Leads Without Duplicates
Send Salesforce only Klaviyo profiles from specific forms, such as wholesale inquiries or consultations, through a flow webhook. Query Contacts and Leads by email before inserting to avoid duplicates, and copy the paid click identifier into a Lead custom field once, at creation. Send opportunity status back as a Klaviyo profile property and carry subscription status into Salesforce.
Consumer brands rarely need shoppers in Salesforce. The pair earns its place when a Klaviyo form also captures wholesale inquiries, trade-program applications or high-ticket consultations that a sales team works in Salesforce. Send those profiles only, triggered by a flow webhook on the specific form-submitted metric, not the whole list. Check whether a native connector covers your Salesforce edition before building middleware.
Klaviyo keys a person on email; your Salesforce org's matching rules may key on email plus company, or on nothing useful. A returning customer who already exists as a Contact can easily become a new Lead. Query Contacts and Leads by email before inserting. Then copy the paid click identifier from the Klaviyo profile property into a Lead custom field once, at creation. Klaviyo overwrites that property on later identified sessions, so a continuous sync would replace the touch that created the lead with whatever came last.
Send the opportunity outcome back the other way as a profile property. A wholesale prospect who is in an active negotiation should be suppressed from consumer discount campaigns, and Klaviyo only knows to do that if Salesforce tells it. Carry Klaviyo's subscription status into Salesforce too, so the sales team sees who has opted out of marketing email.
Klaviyo → Salesforce · what breaks
Why this join usually fails — Klaviyo → Salesforce
- 01
The Lead or Contact identity never reaches Klaviyo
Klaviyo identifies profiles by email, which the visitor supplies at signup — often long before or long after the ad click. If the identifier is not written to a profile property at the moment of signup, there is no way to reconstruct which click created the profile.
- 02
Klaviyo is a mirror, not the system of record
Order data in Klaviyo arrives via a sync. Sending revenue from the mirror rather than the source adds a delay and a class of discrepancy that is genuinely hard to debug later.
- 03
Writes that succeed and change nothing
Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.
- 04
Nothing reconciles afterwards
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
Klaviyo → Salesforce · the fix
What working looks like — Klaviyo → Salesforce
The Lead or Contact identity on every profile
Conversions arriving in Salesforce
The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.
Reconciled against the source
Klaviyo → Salesforce · architecture
How Klaviyo and Salesforce actually connect
- 1
Klaviyo holds the truth
Klaviyo profiles are identity-first: the email address is the key. That makes it a natural place to hold an identifier across sessions and devices, and an awkward place to source purchase events, because Klaviyo's order data is a mirror of the store's rather than the original.
- 2
Salesforce needs a click to match
Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.
- 3
The identifier is the bridge
The Lead or Contact identity, captured at the visit and carried into the Klaviyo profile.
- 4
The event source decides reliability
Send from a flow webhook on the metric you care about, or read events through the API. Sourcing purchases from Klaviyo rather than the store adds a hop and a sync delay — prefer the store when the store is available.
- 5
Deduplication at the destination
Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.
Klaviyo → Salesforce · normal or broken
Working vs. broken, side by side — Klaviyo → Salesforce
Normal, not a fault
The Lead or Contact identity present on the profile
Sent from the Klaviyo Events API, or a flow webhook
Deduplicated correctly
Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.
Reconciles with the source
Actually broken
The Lead or Contact identity missing on most records
Klaviyo identifies profiles by email, which the visitor supplies at signup — often long before or long after the ad click. If the identifier is not written to a profile property at the moment of signup, there is no way to reconstruct which click created the profile.
Sent from the browser
Order data in Klaviyo arrives via a sync. Sending revenue from the mirror rather than the source adds a delay and a class of discrepancy that is genuinely hard to debug later.
Counted twice, or not at all
Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.
Nobody has reconciled it
Klaviyo → Salesforce · diagnose
Diagnostic order — Klaviyo → Salesforce
- 01
Count profiles carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Check whether the profile carries the identifier property
On profiles created during a paid campaign. Then confirm the signup path writes it, not just the ones created manually or by import.
- 04
Write a test value and open the record in the UI
The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.
- 05
Read the match rate, not the success message
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
Klaviyo → Salesforce · prove
How it gets proven — Klaviyo → Salesforce
Source of truth
Klaviyo's own metric reports for the same window, cross-checked against the store's order records.
- The Lead or Contact identity confirmed present on a live profile.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Klaviyo's counts reconciled against the store's order records before either is used as evidence.
Klaviyo → Salesforce · free audit
What we check in the free audit
- Count profiles carrying the Lead or Contact identity
- Follow one real conversion end to end
- Check whether the profile carries the identifier property
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Klaviyo's own metric reports for the same window, cross-checked against the store's order records.
Free30 minutesNo obligation
Klaviyo → Salesforce · when not to buy
When you don't need this — Klaviyo → Salesforce
- Measure identifier coverage yourself first — pull your last hundred profiles and count how many carry the Lead or Contact identity.
- For revenue events, use your store as the source rather than Klaviyo. Use this integration for the audience and engagement side, which is what Klaviyo is actually authoritative about.
- If your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.
Klaviyo → Salesforce · what we deliver
What gets built — Klaviyo → Salesforce
Identifier capture into Klaviyo
Write the click identifier to a custom profile property at signup, and update it on subsequent identified sessions so the most recent paid touch is available.
Event source: the Klaviyo Events API, or a flow webhook
Send from a flow webhook on the metric you care about, or read events through the API. Sourcing purchases from Klaviyo rather than the store adds a hop and a sync delay — prefer the store when the store is available.
Dispatch to Salesforce
API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.
Reversals where they exist
Klaviyo mirrors refunds from the store where the integration supports it, but treat the store as authoritative for anything financial.
Written guarantee
95%+ tracking accuracy
Measured against Klaviyo's own metric reports for the same window, cross-checked against the store's order records.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Klaviyo → Salesforce questions, answered
Check whether a native connector supports your Salesforce edition; otherwise a flow webhook on the form-submitted metric into middleware or the Salesforce API works. Filter to profiles that belong with sales.
Look up existing Contacts and Leads by email before inserting, and confirm your org's matching rules cover that case. Write the click identifier once at Lead creation rather than re-syncing it.
Almost always because the Lead or Contact identity never reached the Klaviyo profile. Klaviyo identifies profiles by email, which the visitor supplies at signup — often long before or long after the ad click. If the identifier is not written to a profile property at the moment of signup, there is no way to reconstruct which click created the profile. Measure coverage before debugging the dispatch.
Salesforce resolves on its own record identity — a Lead, a Contact, or an Account — rather than on a click identifier. What you are doing here is attaching marketing context to a record so the pipeline carries it, which means the click identifier arrives as a custom field value rather than as a matching key. The hazard is duplicates: two Leads for one person means two records with half the history each.
The Klaviyo Events API, or a flow webhook. Send from a flow webhook on the metric you care about, or read events through the API. Sourcing purchases from Klaviyo rather than the store adds a hop and a sync delay — prefer the store when the store is available.
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
More on Klaviyo → Salesforce
- Salesforce → KlaviyoConnecting Salesforce to Klaviyo
- Klaviyo → Marketing CloudConnecting Klaviyo to Salesforce Marketing Cloud
- Shopify → KlaviyoConnecting Shopify to Klaviyo
Using Klaviyo for bookings? How Klaviyo bookings get tracked end to end
RELATED GUIDES
Where Klaviyo → Salesforce fits in the rest of your tracking
- Salesforce → KlaviyoConnecting Salesforce to Klaviyo
- Kit → SalesforceConnecting Kit to Salesforce
- Mailchimp → SalesforceConnecting Mailchimp to Salesforce
- Omnisend → SalesforceConnecting Omnisend to Salesforce
- Klaviyo → HubSpotConnecting Klaviyo to HubSpot
- Klaviyo → MarketoConnecting Klaviyo to Marketo
- Course creatorsConversion tracking for course creators, including the payments after the first one
Free · 30 min
Get Klaviyo and Salesforce joined properly
Free30 minutesNo obligation
