HubSpot Salesforce Field Mapping: Setup Guide

Turning on the integration maps every field HubSpot can reach. Here's how to cut that down to the fields you use and choose a sync rule for each one.

Field mapping decides which Salesforce fields and HubSpot properties sync with each other, and which system wins when they disagree. When you turn on the HubSpot Salesforce integration, HubSpot maps every field it can reach, including fields nobody has touched in years. Those unused mappings are behind a lot of the sync errors we clean up for clients. The fix is to map only the fields you actually use and pick the right sync rule for each one.

If you're setting up the whole integration, start with our HubSpot Salesforce integration setup guide. This guide covers the field mapping step in detail.

How field mapping works

Both platforms store data in objects. In Salesforce, the common ones are accounts, contacts, leads and opportunities. In HubSpot, they're companies, contacts and deals. Each object holds fields (Salesforce's word) or properties (HubSpot's word), which work like the columns in a spreadsheet: Account Name, Owner, Industry and so on.

Out of the box, the integration pairs the objects like this:

  • HubSpot companies with Salesforce accounts
  • HubSpot contacts with Salesforce contacts and leads
  • HubSpot deals with Salesforce opportunities

For a value to move between the two systems, three things have to be true. The Salesforce field has to be mapped to a HubSpot property, the mapping needs a sync rule, and sync has to be turned on for that object. The four steps below set up all three.

Step 1: Turn on sync only for the objects you use

After you install the integration, you turn on sync one object at a time: contacts, companies, deals, activities and any custom objects. You don't have to turn on every object. Some of our clients don't use deals in HubSpot at all, so we only turn on contacts and companies for them.

When you turn on an object, HubSpot looks at every field on it, creates a matching HubSpot property for each one and maps them automatically. That sounds convenient, but think about how many old, rarely used fields sit on your Salesforce accounts, contacts and opportunities. Every one of them is now syncing, and every one can throw an error.

Avoid turning an object's sync off and back on. When you turn it back on, HubSpot recreates the properties and remaps every available field, and you're back to cleaning up from scratch.

Activities work differently from the other objects, with their own settings. Our guide to syncing activities between Salesforce and HubSpot covers that setup.

Step 2: Delete the mappings you don't need

Go through each object's mappings one by one and delete every mapping for a field you don't need in both systems. To decide, ask your team one question about each field: "How are we going to use this?" If nobody has an answer, delete the mapping. You can always add it back later.

You'll probably end up deleting most of the mappings, and that's normal. HubSpot mapped everything it could, and you're cutting it down to what you use.

Some mappings won't let you delete them. Those are standard mappings, and Step 3 shows how to handle them.

As you go, check that the field types on each side match. A Salesforce date field should map to a HubSpot date property, a picklist to a dropdown property, and so on. Mismatched types are one of the most reliable ways to get a sync error.

Step 3: Choose a sync rule for each mapping

The sync rule decides how data flows for that field and which system wins a conflict. HubSpot gives you four, and here's when we use each one:

  • Prefer Salesforce unless blank: Salesforce wins, but HubSpot can fill the field when Salesforce has no value. We use it for fields HubSpot can fill in on its own, like website, state or region, and country, where you'd take HubSpot's value but never want it to overwrite what's already in Salesforce.
  • Always use Salesforce: HubSpot can see the value but never change it. Use it for anything Salesforce calculates or owns, like roll-up summary fields and formula fields.
  • Two-way: The most recent change wins, in both systems. Once you've deleted the mappings you don't need, two-way works well for most of the fields that are left, as long as people can edit them in either system.
  • Don't sync: Use it only for standard mappings you can't delete. Owner is the usual example. If account ownership should only ever change in Salesforce, you can't delete the owner mapping, but you can set it to Don't sync. For a custom field you don't want syncing, delete the mapping instead.

Go object by object and set a rule on every mapping that's left. One field worth checking while you're there is the Salesforce record ID, which keeps both systems pointing at the same record. Our guide to the Salesforce ID field in HubSpot covers its property setup and sync rule.

Step 4: Keep your mappings up to date

Once the cleanup is done, new fields won't map themselves. When your team adds a field that needs to sync, create the matching field or property in both systems, map them, and pick the sync rule. Then give your Salesforce integration user Read and Edit access to the new field, because field-level security doesn't update on its own. Our guide to setting up a dedicated Salesforce integration user has the full permissions list.

Review your mappings once a month, too. Export them, check that each one is still used and still has the right rule, and delete any that aren't. If records are already failing to sync because of a mapping, our guide to HubSpot Salesforce field mapping errors walks through each error type and how to fix it.

Frequently asked questions

Should I sync every Salesforce field to HubSpot?

No. Map only the fields someone will use in HubSpot, or that HubSpot needs to update in Salesforce. Every extra mapping is one more place a sync error can start, and unused fields are where most of them start.

Which sync rule should I use most?

Once you've deleted the mappings you don't need, two-way usually fits most of what's left. Use Always use Salesforce for anything Salesforce calculates, and Prefer Salesforce unless blank for fields HubSpot can fill in but shouldn't overwrite.

What happens if I turn off sync for an object and turn it back on?

HubSpot recreates properties for every available Salesforce field on that object and maps them again, so the cleanup from Step 2 is undone. Turn sync off only when you have to.

Why can't I delete some mappings?

Those are standard mappings, which HubSpot keeps in place. If you don't want one of them syncing, set its sync rule to Don't sync.

Get your field mappings reviewed

If your integration has been syncing everything since the day it was turned on, or you're not sure which rule each field should use, we can go through your mappings with you and tell you which ones to cut, which rules to change and what to fix first.

BOOK A CALL WITH A SPECIALIST
Written by
Tate Stone

LinkedIn
Guides

Don't miss these

Get started with revblack today

Ready to see these results for your business?

Fill out form