In this article, we’ll explore how to address duplicate contacts and companies when the Salesforce integration is enabled.
These are 4 key concepts that you need to know:
1. Salesforce as the Source of Truth
Treat Salesforce as the primary source of truth, especially for company and account records. HubSpot automatically deduplicates Salesforce accounts into HubSpot companies using the Salesforce Account ID property. This built-in functionality helps prevent duplicates and keeps data clean without manual intervention. To avoid duplication issues, consider disabling automatic company association or creation in HubSpot. This is particularly important when syncing Salesforce leads to HubSpot. Since Salesforce leads are not associated with accounts, they won’t create a company in HubSpot during the initial sync. However, a duplicate company may later be created when a related contact or company is created in Salesforce.
2. Contact Merging is possible
Merging duplicate contacts is supported in HubSpot when the Salesforce integration is active.
3. Company Merging is not possible
Merging companies is not possible in HubSpot or with Koalify while the Salesforce integration is enabled. Instead, identify duplicate companies in HubSpot and delete them. While contact merging is supported with the integration active, company merging is not.
4. Avoid Disabling the Integration
HubSpot strongly advises against disabling the Salesforce integration to merge duplicates in HubSpot. Doing so may break the integration and disrupt the data sync. Instead, manage duplicates within Salesforce or use deletion for duplicate companies in HubSpot.
HubSpot Operations Hub provides data sync features to seamlessly sync data between the two platforms, allowing you to transfer data from Salesforce to HubSpot and vice versa.
These synchronized properties can be leveraged with Koalify duplicate rules to identify duplicates and define the primary record during merging.
It’s common to have duplicate contacts in HubSpot, particularly when using HubSpot for marketing purposes. These duplicates may exist even if each contact has a different email address. If you have HubSpot integrated with Salesforce and a duplicate corresponds to just one Salesforce lead or contact record, you can safely merge the duplicates in HubSpot.
A. When Both Duplicate Contacts Sync with Salesforce
B. When Only One Contact Syncs with Salesforce
First Name, Last Name & Company Name Match
First Name, Last Name & Mobile Phone Match
First Name, Last Name & Phone Match
Salesforce Contact, Lead ID is known, Unsubscribed from all is not true
With these strict duplicate and primary rules in place, you can bulk merge duplicates using Koalify’s workflow action.
Set the following enrollment criteria:
Then, add the Koalify Workflow Action: "Merge Duplicate Contact"
For precise control, Koalify detects duplicates automatically and then enables you to manually merge duplicate records. When viewing a contact with a potential duplicate, you can easily merge or reject the suggestion using the actions button.
Here is an example of a merge where the Salesforce Contact ID is used in combination with First Name and Last Name.
Additionally, here is an example of a merge where the Salesforce Lead ID is used in combination with First Name and Last Name.
After clicking the actions button, you will have the option to merge or reject the suggestion.
Unlike with contacts, you can't merge duplicate companies in HubSpot when the HubSpot Salesforce integration is active. In case both duplicates are synced via Salesforce, you can merge in Salesforce. When at least 1 Company is not Synced to Salesforce it's recommended to delete this company in HubSPot. Koalify can help you detect these records that can be deleted.
A. When Both Duplicate Companies Sync with Salesforce
B. When Only One Company Syncs with Salesforce
Create a view of your duplicate companies. Make sure to exclude records that are synced to Salesforce:
These are some extra filters to consider; ensuring that you're only excluding irrelevant records: