Integrations

Duplicate Salesforce leads, contacts, accounts, and opportunities syncing to HubSpot

Last updated: October 13, 2020

Applies to:

Marketing Hub  Professional, Enterprise
Sales Hub  Professional, Enterprise
Service Hub  Professional, Enterprise
CMS Hub  Professional, Enterprise
When syncing your HubSpot account with Salesforce duplicates may occur. HubSpot will deduplicate your Salesforce leads, contacts, accounts, and opportunities.

Duplicate Salesforce leads and contacts

Duplicate Salesforce leads/contacts with different email addresses

HubSpot deduplicates Salesforce leads and contacts by email address. If you have Salesforce leads or contacts with the same name, or other matching fields in Salesforce, this is not considered as duplicate records by HubSpot.

Duplicate Salesforce leads/contacts with the same email address

If you have duplicate Salesforce lead or contact records with the same email address, and the contact is being created for the first time in HubSpot, HubSpot will search Salesforce for lead/contact records with that email address. Salesforce will return all records that match (in no particular order), and HubSpot syncs with the first record returned. Moving forward, HubSpot will sync with whichever record was most recently updated in Salesforce.

If you clean up duplicates in Salesforce by merging leads or merging contacts, choose the lead or contact record that is currently syncing with HubSpot as the primary record. To identify which Salesforce record is syncing with HubSpot, navigate to the HubSpot contact record. In the left panel, About this contact card, click View all properties. Search for the Salesforce Lead ID or Salesforce Contact ID property, then note the value. In Salesforce, identify the lead or contact record with that record ID.

If you have set up HubSpot contacts to be deleted when the corresponding Salesforce lead or contact is deleted, the HubSpot contact that corresponds to a secondary (non-primary) Salesforce lead or contact record will be deleted when the secondary record is merged into the primary record.

If you choose a primary record that is not currently syncing with HubSpot, a message will appear in the Salesforce Sync card on the corresponding HubSpot contact record indicating that the contact is no longer syncing with Salesforce. To associate the HubSpot contact with the new primary record in Salesforce, click Resync.

undelete.png

 

Duplicate HubSpot contacts with different email addresses

If you have multiple HubSpot contacts with different email addresses that correspond to one Salesforce lead or contact record, merge the duplicate contacts in HubSpot, and choose the HubSpot contact that's currently syncing with the Salesforce lead or contact record as the primary contact.

Duplicate Salesforce accounts

HubSpot deduplicates Salesforce accounts to HubSpot companies based on their associated Salesforce Account ID.

When two contacts are syncing between HubSpot and Salesforce, if the Salesforce contact is associated with a Salesforce account, that account will either deduplicate with the HubSpot company that the Salesforce contact in HubSpot is associated with or it will create a new HubSpot company.

Duplicate Salesforce opportunities

HubSpot does not deduplicate deals with Salesforce opportunities. When a new deal is created in HubSpot, it will create a new opportunity in Salesforce. Or, when a new Salesforce opportunity is created, a new deal is created in HubSpot.