Drift's native integration with Salesforce is the most extensive for any messaging platform. We know that if you have a Sales team and have reached a certain scale, you're likely using Salesforce. Drift connects your prospects to people in real time through conversation, and you can use all the information captured through your Playbooks and conversations to book more meetings and close more deals!
- What the integration can do
- Integration Setup
- Sync Settings + Configuration
- Technical logic of mapping
- Finding Drift in Salesforce and Vice Versa
- FAQ + Tips for Troubleshooting
To quickly summarize, Drift can
- create and update Leads in SFDC which originate in Drift
- create and update Contacts in SFDC which originate in Drift
- send chat activity from Drift to SFDC
- send meetings booked in Drift to SFDC
1. What this Integration can do
Firstly, this integration primarily sends information from Drift into Salesforce, but in some cases can read information from Salesforce and pull it into Drift. To be more exact, let's go over what information about Salesforce objects can be shared in each direction:
Drift to Salesforce
- New leads created in Drift can create a lead record in Salesforce
- Set Lead Owner based on which rep scheduled booked the meeting, last ended the conversation, or first participated
- Automatically add Drift sourced or influenced leads from a specific Playbook to a specific Salesforce Campaign
- New Contacts from Drift can create a contact record in Salesforce if we can find a suitable account to associate it with.
- You can choose to allow Drift to create a new contact record even if we can't find a suitable account to associate it with.
- Set Contact Owner based on which rep booked the meeting, last ended the conversation, or first participated
- Automatically add these Drift sourced or influenced contacts from a specific Playbook to a specific Salesforce Campaign
Chat Activity Data
- When a lead or contact has a conversation with you in Drift, we can add an Task to their Salesforce record
- Drift can append the full chat transcript to the lead/contact when their conversation is closed.
- Set Activity Owner based on which teammate booked the meeting, last ended the conversation, or first participated.
- Map the Drift conversation to a specific Salesforce Activity Type
Booked Meetings Data
- When a lead or contact books a meeting with you in Drift, we can add an Event to their Salesforce record
- Set the Event Type based on using event fields you configured in your SFDC account
Salesforce to Drift
- Sync your specific account lists from Salesforce (ABM feature)
- Choose to target them with ABM Playbooks or other playbooks. (ABM feature)
- Drift will keep your accounts in sync with Salesforce and refresh every 24 hours.
Note: When an email is captured in Drift, we will immediately check if there is a matching Salesforce record. If not, we will save that response and update the SFDC card in the sidebar again after 24 hours. To manually refresh that sidebar card, type /sf and refresh your page. For more on the /sf command, skip to "Seeing Salesforce Details in Drift and the Salesforce Shortcut."
Other Features Include:
1) Mapping to Salesforce Attributes from Custom Drift Attributes
2) Sending Chat Metrics into Salesforce
For more on mapping metrics, check out this doc.
3) Turning on the Salesforce Revenue Dashboard
We definitely recommend reading the rest of this guide to before trying to utilize the three features listed above. This guide will be a deep dive into the Sync settings and how they work, and you can refer back to these links when you are ready to look at the rest of the integration's features!
2. Requirements before Setup
- Drift Pro Plan or above (see Pricing)
- Only a teammate with Admin permissions can set up and connect this integration
- Administrator Access
- You must be on one of the following Salesforce Editions in order for this integration to work: Enterprise, Unlimited, Developer, or Performance. This is because the integration requires an Edition with API access; for more info on that, read SFDC documentation here. The Professional edition with API access will also work.
- You must have the correct User Permissions required by Drift within Salesforce. Please go here for full instructions.
- You must be the only Drift account connected to your Salesforce instance
3. Connect the Integration in your Settings
To setup the Drift <> Salesforce integration, first navigate to the App Settings within Drift, find the Integrations section, and search for Salesforce.
Whichever profile you use to make the connection, double check it has Read and Edit Access checked. If we have all the right permissions, Salesforce will connect! If we don't have the right permissions, we'll disconnect and display an error message like the following:
In this example, we got the error message referencing Contact.LeadSource. This means that you haven't granted Drift access to the Object Contact or the Lead Source field for contacts. There are a few objects that we need access to; some other examples would be the Account.Name or Opportunity.AccountName.
For an extensive list about all of the Object and Field level permissions Drift might use and how to grant them, go here.
4. Configuration of Sync Settings
Lead, Contact, and Activity Ownership
This is a really important aspect of your settings to set up, so we're going to do a bit of a deeper dive; there are two main things to keep in mind when it comes to determining ownership with our integration:
- Your Advanced Sync Settings
- Mapped User Settings
a. Advanced Sync Settings
After clicking Show Advanced Settings for Leads, Contacts, or Chat Activity, this will reveal the Owner settings. You have the option to set the Lead Owner to be:
- The team member with a scheduled meeting
- The team member the end user was last routed to
- The user who closed the conversation.
You can also see that the mapping conversations to a Salesforce Activity type has a dropdown automatically populated with the Activity Types available in your Salesforce instance.
Advanced Settings for syncing Leads and Contacts will have dropdown menus for enrolling in Salesforce Campaigns instead:
The campaign selected here is the default campaign leads/contacts are attributed to when they are synced from Drift. You can also set campaign attribution at the Playbook level!
b. Mapping Users
In order for the Drift <> Salesforce connection to work properly, we need to map the users in Salesforce with the Users in Drift!
This will take care of two main functions:
- Adding the proper Lead/Contact Owner on a lead/contact syncing into Salesforce
- Routing the correct Lead Owner into a Drift conversation.
From the Salesforce Setup Page, select Mapped Salesforce Users. Then connect the dots by selecting the correct SF User and Drift User on the left and right columns.
5. Technical Logic
Here is how the logic works when Drift is set to sync leads, contacts, chat activity, and meetings booked with Salesforce (shown in the image below):
6. What You'll see in Drift and What You'll see in Salesforce
To illustrate how this integration will look and works once you've configured all your settings, here's some more details The key components are that you'll be able to see Chat Activity records as Tasks completed in Salesforce, and that in Drift from within the Inbox and Conversations view, there's a shortcut to view Salesforce Account Information.
Drift Chat Activity in Salesforce
The Conversation in Drift activity manifests as a Task Record in Salesforce. A completed Conversation in Drift task created by our integration includes:
- Agent's name
- Lead's name
- Lead's email
- Link to the conversation (in app.drift.com)
If you are viewing the Accounts tab in Salesforce, you can find the Conversation in Drift in the Activity History of a record if any occurred. The Activity type in this example was Chat, which we suggest, but you can map the chat activity to any Type you have:
If you click into the Conversation in Drift Task, then you will see something like the following:
- Conversation Link and URL where the conversation was started from
- Chat transcript and Timestamps, including Agent labels
- Date of Conversation Close
Seeing Salesforce Details in Drift and the Salesforce Shortcut
You can easily see Salesforce Details for the contact within the conversation! In the sidebar on the right, you'll see a Salesforce Details card with at-a-glance information. If you have Salesforce credentials, the "View in Salesforce" button will take you to the account in Salesforce.
The Salesforce + Drift integration also allows users to pull information on a specific contact directly into the conversation! Simply type the following into a conversation with an identified contact:
Stop Bad Leads From Being Pushed Into Salesforce
In order to keep your Salesforce account clean, and full of the best leads, there is a way to make sure that your bad leads will not be pushed from Drift to Salesforce. If you mark a lead as "Unqualified", closing the conversation will then not push that user to Salesforce, even after the conversation is Closed:
That's all! Try testing marking a test visitor as a bad lead and then close the conversation. If you look in the Salesforce Event Log, you should see no lead or contact creation activity on the log for that site visitor, even after you successfully captured their email.
How can I check if the integration is working?
Great question. This is why we created the Salesforce Event Log. The data passing between Drift and Salesforce is logged there as either an event (successfully shared data) or an error. The errors will be in red, so they're easy to spot. Before reading the logs, make sure that you have filtered the correct time range using the settings at the top of the page:
Below is an example of a single log after a conversation was completed with one of our customers and successfully created as a task in our Salesforce. It should contain the timestamp, type of event, and who the conversation was with:
Here's an example of how a meeting will look:
And finally, an example of lead creation which will include the Salesforce ID as well ("sfId: XXXXXXX"):
Which fields can't I map to Salesforce in our field mapping page because of Drift's agreement with Clearbit?
Employment Seniority Display Location Latitude + Longitude Display Name Github Handle Github Followers Twitter Handle Twitter Followers Facebook Handle LinkedIn Handle Bio Gender Site
Usually, the last name of the prospect is still required for the lead in Drift to be transferred into Salesforce. What if you don't have that and you just have their email when they start a conversation?
Good question. With our integration, you don't need a last name for the lead to be passed back. If we don't have a last name, we pass "[ MISSING ]" as the last name. If that is updated at any point in Drift, and the name hasn't changed from "[ MISSING ]" in Salesforce, we update it to the name in Drift.
If there is a record associated with a Drift lead's email address in Salesforce -- will it change any attributes on that record in Salesforce?
Nope - we currently don't do anything with your existing attributes.
Will Drift send previous contacts and conversations to Salesforce once I connect?
At the moment, the Drift <> Salesforce connection will only begin syncing lead data from the moment it's connected, forward.
What Drift Plan do I need to be on to have access to this integration?
The Drift + Salesforce integration is available on our Pro plan and above. Integrations are broken down by plan under our pricing page.
What Salesforce Plan do I need to be on to have access to this integration?
The Drift + Salesforce integration is available on SFDC's Enterprise, Unlimited, Developer, or Performance editions. You can also use the Professional edition as long as you also have API access included.
Other Salesforce Articles:
- Mapping Salesforce Attributes
- Salesforce Routing
- Salesforce Global Dashboard
- Connect your Salesforce Sandbox to Drift
- Associate Leads or Contacts with Salesforce Campaign
- Granting Salesforce User Permissions for the Drift <> SFDC Integration
- Bulk Enroll Leads from Salesforce to Drift
- How to Send Sales Sequence Emails Using Drift and Salesforce
- Drift ABM: Sync Accounts into Drift from Salesforce