This article will walk you through integrating Salesforce with Klaviyo. After completing the steps outlined in this guide, you'll be able to personalize and target emails based on each lead's custom property data from Salesforce. You will also be able to trigger emails off the Became a Lead metric synced from Salesforce.
By default, Klaviyo will sync these fields on the
Salesforce: Owner Email
If you would like to sync the
Contact object instead of the Lead, object reach out to email@example.com.
Enable Klaviyo's Salesforce Integration
Navigate to the Integrations tab in your Klaviyo account.
Find the Salesforce integration on the All Integrations list and click Add Integration. Once you've selected Salesforce, you'll be brought to this screen:
Here, you will need to provide your Salesforce username, password, and security token. Once you've entered these required details, click Connect to Salesforce.
Review & Understand your Synced Data
Navigate to the Metrics tab in your account. The Salesforce integration will sync the following metric: Became a Lead
This event is tracked when a customer becomes a Lead inside of Salesforce. The event itself does not include any data from Salesforce, but when this event is logged, Klaviyo will sync Custom Properties for each lead and attach these properties to the lead's Profile inside of Klaviyo. You can then leverage these properties in segments, flows, and to dynamically populate customer properties into your email templates.
Verify your Synced Data
Klaviyo imports all of your Salesforce leads. To verify this, you can compare the number of leads being added to Klaviyo on a particular day with the number of leads being added to Salesforce and confirm they match. Click on the Metrics tab in your Klaviyo account and find the Became Lead metric. Click this metric and you will be taken to a metric chart page that will show the last 30 days of data by default.
Mouse over yesterday's data point or look in the table of data below the chart to see how many leads you had yesterday. Compare that number to what's stored in Salesforce and you should see they match exactly.