GTM Playbooks
RevOpsAdvancedLast reviewed

Prevent Duplicate Contacts Across HubSpot and Salesforce

The problem

Marketing creates contacts in HubSpot while sales creates them in Salesforce, leading to duplicates and broken reporting.

Implementation steps

  1. 1

    Set up Zapier to trigger when new contact created in HubSpot

  2. 2

    Search Salesforce for matching email or phone

  3. 3

    If match found, update existing Salesforce record instead of creating new

  4. 4

    If no match, create new lead in Salesforce

  5. 5

    Write Salesforce ID back to HubSpot custom field for linking

Template outline

The structure to recreate in your own workspace. Field names and thresholds are starting points.

Zapier Flow:
1. Trigger: HubSpot > New Contact
2. Delay: 2 minutes (allow for immediate edits)
3. Salesforce: Find Lead/Contact by email
4. Paths:
   a. If found: Update existing record
   b. If not found: Create new lead
5. HubSpot: Write Salesforce ID to custom property
6. Filter: Skip if "Salesforce ID" already populated (prevents loops)

Common questions

How does the Zap decide a HubSpot contact already exists in Salesforce?
When a new contact is created in HubSpot, it searches Salesforce for a lead or contact with the same email address, and the steps also allow a phone match. If it finds one, it updates that Salesforce record instead of creating a new one. If not, it creates a new lead.
How do HubSpot and Salesforce records stay linked?
After the update or create step, the Zap writes the Salesforce ID back to a custom property on the HubSpot contact, so the HubSpot contact carries the ID of its Salesforce record.
How does it avoid sync loops and half-entered records?
A filter skips any contact whose Salesforce ID property is already populated, which prevents loops. A 2-minute delay after the trigger gives people time to finish editing a contact before the Salesforce search runs.

Keep going

View all RevOps

Need help implementing a playbook?

Our team builds custom Clay workflows and AI automations for revenue teams.

Get it built for you