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
Set up Zapier to trigger when new contact created in HubSpot
- 2
Search Salesforce for matching email or phone
- 3
If match found, update existing Salesforce record instead of creating new
- 4
If no match, create new lead in Salesforce
- 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
Related playbooks
- RevOpsIntermediate
Keep CRM Data Clean with an AI Hygiene Agent
CRM records decay as people change jobs and reps type titles and industries in different formats, so segmentation, routing, and reporting quietly break.
ClayClaygentHubSpot or Salesforce+2Estimate: 4 hrs/week - RevOpsIntermediate
Keep Clay Credit Spend Predictable on Enrichment Tables
Clay tables that enrich every row, re-run on every edit, and call providers in no particular order burn through credits faster than planned, and the overspend usually shows up only when the monthly balance runs low.
ClayClaygentHubSpot or SalesforceEstimate: 2 hrs/week - RevOpsAdvanced
Run CRM-Writing AI Agents in Dry-Run Mode with Bulk Approvals
An AI agent that writes straight to Salesforce or HubSpot can change thousands of records before anyone notices a bad rule, and each change can trigger syncs, workflows, and sequences that are hard to trace and harder to reverse.
HubSpot or SalesforceClayGoogle Sheets+1Estimate: 2 hrs/week - OutboundIntermediate
Weekly New Contractor Licenses into Clay for Outbound
Newly licensed contractors are setting up insurance, software, suppliers, financing, and payroll for the first time, but each state board publishes licenses in its own format, so reps find them late or never.
ApifyClayHubSpot or Salesforce+2Estimate: 4 hrs/week - RevOpsIntermediate
Triage HubSpot-Salesforce Sync Errors Weekly by Root Cause
HubSpot-Salesforce sync errors pile up one record at a time, so the admin works them in the order HubSpot lists them, nobody owns the validation rules, picklists, and inactive owners behind them, and contacts and deals sit out of Salesforce for weeks while reps work around them and pipeline reports miss them.
HubSpotSalesforceGoogle Sheets+3Estimate: 2 hrs/week
Need help implementing a playbook?
Our team builds custom Clay workflows and AI automations for revenue teams.
Get it built for you