Diagram of the HubSpot Salesforce integration: a HubSpot contact passes an inclusion segment and per-field sync rules before syncing to a Salesforce lead

HubSpot Salesforce Integration: Field Mapping and Sync

Author image
Pavel Vainshtein
LinkedIn icon
Founder, Webflowforge | B2B & SaaS Websites, CRM Integration & AI Automation
Pavel Vainshtein founded Webflowforge in Kiryat Bialik, Israel. He works with B2B and SaaS teams on website design, Webflow and WordPress development, HubSpot CRM integration, and AI automation with n8n and Make. His work connects websites with marketing and revenue operations.
Hubspot
Salesforce
CRM
Automation
Published Date: November 30, 2026

Short answer: The native HubSpot Salesforce integration syncs HubSpot contacts, companies, deals and tickets with Salesforce leads or contacts, accounts, opportunities and cases. Each mapped field has its own sync rule that decides which system wins, and an inclusion segment decides which HubSpot contacts are allowed to reach Salesforce. Contacts are matched on email address only. Most sync problems come from four settings: the sync rule per field, the lead-or-contact choice, the inclusion segment and the Salesforce API call allocation.

Connecting the two systems takes an afternoon. Living with the connection takes longer. Teams usually notice problems weeks later: a field that keeps flipping back, sales reps who see thousands of unqualified leads, the same person stored twice under two emails, or a sync that stops because the Salesforce org ran out of API calls.

This playbook explains how the connector decides what to write and where, based on HubSpot's own documentation as of November 2026. It covers the requirements, every field-mapping sync rule, the lead versus contact decision, inclusion segments, duplicate handling, the API budget and the errors you will see in Sync Health. It ends with a mapping table template you can fill in before you change a single setting.

What do you need before connecting HubSpot and Salesforce?

Check the plan and permission requirements first, because they decide whether the connector can do what you plan for it. According to HubSpot's install guide, the integration is available with Professional or Enterprise subscriptions of Marketing Hub, Sales Hub, Service Hub, Content Hub, Data Hub or Smart CRM. On the Salesforce side you need an edition with API access, or Salesforce Professional. Salesforce Group Edition is not supported, while Salesforce Government Cloud is.

Use a dedicated integration user

The integration acts as the Salesforce user who connects it, so that user's permissions shape everything the sync can read and write. HubSpot's requirements include a system administrator profile with API Enabled, Modify All and visibility of the Task Type field. A dedicated integration user is safer than a person's login. If an employee leaves and their user is deactivated, a sync tied to them stops. A dedicated user also makes it obvious in Salesforce field history which changes came from HubSpot.

Nothing syncs on install

Records do not sync automatically right after you connect. HubSpot syncs a record when a sync trigger fires, such as a new HubSpot contact or an update to a mapped property, and it also checks both systems for changes roughly every 15 minutes. To bring existing data across in one go, you import Salesforce records or run a bulk resync. Decide the mapping and the rules before that first import, because the import applies whatever rules exist at that moment.

Want to apply this to your setup?

Tell us about your stack and we’ll break down how this playbook would work for you.
Deploy This Solution

How do field mapping sync rules decide which value wins?

Every mapped field has a sync rule. The rule decides which direction data may travel and what happens when a value is deleted. HubSpot's field mapping guide lists four rules for standard mappings. The updated deal sync adds two more rules that let HubSpot win, but only for deal fields and only when the deal object itself syncs two ways.

Sync rules in the HubSpot Salesforce integration and what each one does
Sync ruleHubSpot to SalesforceSalesforce to HubSpotDeletionsGood fit
Prefer Salesforce unless blankOnly when the Salesforce field is emptyAlways overwrites HubSpotA Salesforce deletion clears HubSpotFields sales owns but marketing may fill first, such as job title
Always use SalesforceNeverAlways overwrites HubSpotA Salesforce deletion clears HubSpotSalesforce-owned data such as account tier or contract status
Two-wayMost recent change winsMost recent change winsDeletions travel both waysFields both teams edit, such as phone
Don't syncNeverNeverNot syncedRetiring a standard mapping you cannot delete
Always use HubSpot (deals only)Always overwrites SalesforceNeverSet by the deal sync rulesDeal fields calculated in HubSpot
Use HubSpot unless blank (deals only)Always overwrites SalesforceOnly when the HubSpot field is emptySet by the deal sync rulesDeal fields HubSpot normally owns

The rules that cause most surprises

  • Two-way means last write wins. If a HubSpot workflow and a Salesforce flow both update the same field, the value flips back and forth. Give each field one owner system and one automation that writes it.
  • Two-way also syncs blanks. If Salesforce holds mostly empty values for a field that is full in HubSpot, a careless first sync can blank useful data. Use "Prefer Salesforce unless blank" for the backfill, then switch to two-way if you need it.
  • Owner is always two-way. The owner mapping cannot use any other rule, and the owner must exist with an exact match in both systems.
  • Mapping is not retroactive. A new mapping only moves values when records sync again, so plan a resync after adding fields.

Type rules and limits

The field types must be compatible. A HubSpot dropdown or radio select maps to a Salesforce picklist, multiple checkboxes map to a multipicklist, a single checkbox maps to a boolean, a number maps to a double or integer, single-line text maps to a string or textarea, and a date picker maps to a date or datetime. HubSpot properties of the "user" type cannot be mapped. You can create up to 500 field mappings per object. Salesforce lookup (reference) fields arrive in HubSpot as 18-character record IDs, which mean nothing to a marketer, so map them into a HubSpot dropdown whose option labels you maintain by hand, or skip them.

Should HubSpot create leads or contacts in Salesforce?

This is the single most important setting for the sales team. In the contact sync rules, under "Creating and Updating Contacts", you choose what happens in Salesforce when a HubSpot contact is created or updated: Create or update the contact or Create or update the lead. The options are described in HubSpot's integration settings guide.

When to create Salesforce leads

Choose leads when your sales team qualifies people before they become part of an account. Leads keep unqualified marketing contacts out of account and opportunity views, and Salesforce lead assignment rules and queues can route them. HubSpot recommends turning off automatic company creation when you choose leads, because a lead does not belong to an account until it is converted. Pair this with a narrow inclusion segment so only marketing-qualified people arrive as leads.

When to create Salesforce contacts

Choose contacts when your Salesforce process is account-based and every person should sit under an account from the start. This is common when sales works named accounts or when most inbound people belong to existing customers. In that case company sync and account matching matter more, so set up deduplication for accounts before you turn it on (see the duplicates section below).

Lead conversion and lifecycle stage

Lead conversion happens in Salesforce, and the converted record keeps the person's email, which is what HubSpot matches on. Test conversion on a few records before going live, and check that the HubSpot contact still links to the right Salesforce record afterwards. Separately, the "Adjusting Lifecycle Stage" option can update the HubSpot lifecycle stage from Salesforce. It does not move a stage backwards, so it will not demote a customer to a lead.

If website forms are your main source of new people, design the form-to-CRM path first. Our Webflow lead routing guide shows how to capture, score and route form leads into HubSpot before they reach Salesforce.

How do you control which records sync to Salesforce?

Without limits, every HubSpot contact with an email address is eligible to sync. That usually means newsletter sign-ups, students and competitors end up in Salesforce, use API calls and clutter sales views.

The inclusion segment

Under "Limiting What Syncs" you pick an inclusion segment (formerly called an inclusion list). Only contacts in that segment sync from HubSpot to Salesforce. If no segment is selected, all HubSpot contacts sync. Contacts without an email address do not sync. One exception matters: if new Salesforce leads or contacts are set to create HubSpot contacts, they are created in HubSpot even when they do not meet the segment criteria.

A practical inclusion segment combines three conditions:

  1. Lifecycle stage is marketing qualified lead or later, or a lead score above your agreed threshold.
  2. Email is not empty and the contact is not marked as a competitor or test record.
  3. Or the contact already has a Salesforce ID, so records that synced before keep syncing.

The third condition prevents a classic problem: a contact drops out of the segment, stops syncing, and sales stops seeing updates from marketing.

Deals, pipelines and deletions

With the updated deal sync, you map each Salesforce opportunity record type to a HubSpot pipeline, and only deals in mapped pipelines sync. You can also add selective sync filters on Salesforce opportunities and an inclusion segment for HubSpot deals. HubSpot's deal sync guide notes that once you switch to the updated deal sync you cannot switch back, so plan the pipeline mapping before you turn it on.

Deletions are asymmetric. When a Salesforce lead or contact is deleted, you choose whether HubSpot deletes the contact or does nothing. Deleting a HubSpot contact does not delete the Salesforce record. Pick "Do nothing" unless you are sure Salesforce deletions are always intentional, because a cleanup job in Salesforce can otherwise remove marketing history in HubSpot.

How does the integration handle duplicate records?

HubSpot and Salesforce define duplicates differently, and that gap creates most duplicate problems. HubSpot's duplicate guide says leads and contacts are matched on email address only. Two Salesforce records with the same name and phone but different emails are not duplicates to HubSpot. If several Salesforce leads or contacts share one email, HubSpot first syncs with the record Salesforce returns first, and afterwards follows whichever record was updated most recently.

That second rule means a contact can quietly switch to a different Salesforce record. Find shared emails in Salesforce before the first sync. These SOQL queries list every email used by more than one contact or unconverted lead:

-- Contacts that share an email address
SELECT Email, COUNT(Id) total
FROM Contact
WHERE Email != null
GROUP BY Email
HAVING COUNT(Id) > 1

-- Unconverted leads that share an email address
SELECT Email, COUNT(Id) total
FROM Lead
WHERE Email != null AND IsConverted = false
GROUP BY Email
HAVING COUNT(Id) > 1

Also check emails that exist both as an unconverted lead and as a contact. Merge or convert those in Salesforce before you sync, because the integration cannot decide which record sales really works.

Accounts, deals and other objects

For accounts, cases, activities and custom objects, you can turn on "Deduplication by field mapping" in the object's sync rules. The field must be mapped first, must be single-line text in both systems and must match exactly, and it is not applied retroactively. A normalized company domain or an ERP customer ID is a good choice. Deals are not deduplicated against opportunities by default; the updated deal sync lets you dedupe on a mapped field in the same way. Merging deals in HubSpot does not merge the Salesforce opportunities.

If enrichment tools also write to these records, agree on which system and which tool owns each field. Our waterfall enrichment playbook covers write rules that only fill or improve values instead of overwriting them.

How many Salesforce API calls does the sync use?

The integration draws on the Salesforce org's daily API request allocation, the same pool your other integrations use. HubSpot says a single contact sync can take up to four API calls per record, though the number varies. You set how much of the pool HubSpot may use in the Sync Health tab, in the "API call use" section, by entering a value under "Allocated to HubSpot". The same section shows the Salesforce limit and the calls used in the last 24 hours.

Estimate the budget before you sync

Salesforce's API limits cheatsheet sets the 24-hour allocation for Enterprise Edition at 100,000 requests plus 1,000 per Salesforce license, plus any purchased add-ons. Unlimited and Performance editions get 5,000 per Salesforce license. A worked example, using illustrative numbers:

  • Enterprise Edition with 40 Salesforce licenses: 100,000 + 40 × 1,000 = 140,000 requests per 24 hours.
  • Other integrations (ERP, support tool, data loader jobs) use about 60,000 a day, so 80,000 remain.
  • Allocating 50,000 to HubSpot leaves a safety margin of 30,000.
  • At up to four calls per contact, 50,000 calls cover at least 12,500 contact syncs a day.

Most days use far less. The risk is a mass update: a workflow that touches 80,000 contacts, a bulk resync, or a newly mapped field. Run large backfills in batches over several days and check current usage first. This REST call returns the org's daily request limit and what remains (use an API version your org supports):

curl -s https://YOUR_DOMAIN.my.salesforce.com/services/data/v62.0/limits \
  -H "Authorization: Bearer $SF_ACCESS_TOKEN" | jq '.DailyApiRequests'
# returns {"Max": ..., "Remaining": ...}

The best way to cut API use is to sync fewer records and fewer fields. A tight inclusion segment and only the mappings sales actually reads save more than any other setting. For automation cost planning beyond this connector, see our guide to runs and retries.

How do you find and fix HubSpot Salesforce sync errors?

Sync errors appear in the Sync Health tab of the Salesforce app in HubSpot. Each error type has a card with the number of current errors and affected records, and you can open the list of affected HubSpot records from there. HubSpot's sync error guide explains each type. The errors below are the ones most teams meet first.

  • Email already in use. A Salesforce lead or contact cannot sync because its email already belongs to another HubSpot contact, or a Salesforce duplicate rule blocks it. Clean or merge the conflicting records, or adjust the Salesforce duplicate rule, then resync.
  • Invalid email. The Salesforce record has a badly formatted email. Fix it in Salesforce.
  • Validation rule or required field failures. A Salesforce validation rule rejects the record HubSpot tries to create, often because a required field is empty for leads coming from forms. Map a value for that field, or adjust the rule for the integration user.
  • Picklist mismatches. A HubSpot dropdown option has no matching Salesforce picklist value, especially with restricted picklists. Keep option values identical in both systems.
  • Insufficient access. The integration user lacks rights to an object, field or record type. Fix the profile or permission set, not the mapping.
  • API allocation used up. HubSpot has used its allocation. Raise it if the org has headroom, or reduce what syncs.

A weekly review routine

  1. Open Sync Health and note the error count per type. Track it in a simple sheet so trends are visible.
  2. Fix the root cause for the largest group first: a rule, a permission or a picklist, not record by record.
  3. Resync the affected records and confirm the count drops.
  4. Check API usage for spikes and match them to workflows or imports from that day.

For a wider view of where lead data breaks between systems, our lead data validation guide covers checks to run before records ever reach the CRM.

Mapping table template and rollout checklist

Write the mapping down before you click anything in the settings. A shared table forces each field to have one owner, one rule and one reason. HubSpot can export the live mappings as a CSV ("Export field mappings"), which is useful for comparing the plan with reality after go-live.

Example HubSpot to Salesforce mapping plan for contacts and leads
HubSpot propertySalesforce fieldType matchSync ruleOwner and reason
emailEmailText to emailTwo-wayShared; match key, keep clean in both
jobtitleTitleSingle-line text to stringPrefer Salesforce unless blankSales corrects titles; marketing fills first
hubspot_owner_idOwnerIdOwnerTwo-way (forced)Assignment rules in Salesforce; users must match
lifecyclestageCustom picklistDropdown to picklistDon't sync, or one-way by processHubSpot owns stage; avoid flip-flop
hs_analytics_sourceLead SourceDropdown to picklistPrefer Salesforce unless blankFirst touch from HubSpot, then frozen
Account tier (custom)Custom picklistDropdown to picklistAlways use SalesforceSales ops owns segmentation

The rows are an example, not a standard; your field names and owners will differ. A plain CSV version works well in a shared drive or a ticket:

object,hubspot_property,salesforce_field,hubspot_type,salesforce_type,sync_rule,owner_system,writer,notes
contact,email,Email,text,email,Two-way,both,form+rep,match key
contact,jobtitle,Title,text,string,Prefer Salesforce unless blank,salesforce,rep,marketing may fill first
contact,hs_analytics_source,LeadSource,enumeration,picklist,Prefer Salesforce unless blank,hubspot,system,first touch only

Rollout checklist

  1. Create the dedicated Salesforce integration user with the required permissions.
  2. Clean duplicate emails in Salesforce with the SOQL above.
  3. Align Salesforce picklist values with HubSpot dropdown option values.
  4. Build the inclusion segment, including the "already has a Salesforce ID" condition.
  5. Choose leads or contacts, and set company creation to match.
  6. Set the API allocation with a margin for other integrations.
  7. Sync a test group of 20 to 50 records, then check fields, owners and duplicates in both systems.
  8. Backfill in batches, then review Sync Health daily for the first two weeks.

If your marketing site runs on Webflow, the same mapping decisions shape how forms reach HubSpot; our Webflow Enterprise and HubSpot guide covers that side. If you want a second pair of eyes on a mapping plan or a sync that keeps breaking, WebflowForge sets up and audits HubSpot and Salesforce connections for B2B teams. Get in touch and we can review your setup.

Frequently Asked Questions

Does the HubSpot Salesforce integration sync in real time?

Not exactly. HubSpot syncs a record when a trigger fires, such as a new contact or a change to a mapped property, and it also checks both systems for changes about every 15 minutes. Most updates arrive within minutes, but a sync can be held back by errors, by the inclusion segment or by a used-up API allocation.

Can HubSpot contacts sync with both Salesforce leads and contacts?

Yes, for existing records: Salesforce leads and contacts can both sync with HubSpot contacts, matched by email. New records that HubSpot creates in Salesforce are either all leads or all contacts, based on one setting in the contact sync rules. To treat groups differently, control who reaches Salesforce with the inclusion segment and let Salesforce assignment and conversion handle the rest.

Why does a field keep changing back after I edit it in HubSpot?

The field is usually mapped with "Prefer Salesforce unless blank" or "Always use Salesforce", so the Salesforce value overwrites your edit on the next sync. With a two-way rule, it usually means an automation in one system writes the field after you do. Check the sync rule in the field mapping, then check HubSpot workflows and Salesforce flows that update the same field.