Skip to content

Map Salesforce record types to HubSpot

Last updated: June 28, 2023

Available with any of the following subscriptions, except where noted:

Marketing Hub Professional, Enterprise
Sales Hub Professional, Enterprise
Service Hub Professional, Enterprise
Operations Hub Professional, Enterprise
CMS Hub Professional, Enterprise

If your Salesforce organization uses record types for leads, contacts, accounts, and/or opportunities, you can map them to HubSpot as custom properties. This allows you to use the record type for segmentation in HubSpot.

You can map Salesforce record types to HubSpot custom properties with one of two field types: single-line text and dropdown select.

 

Map Salesforce record types to a custom HubSpot single-line text property (Beginner)

Please note: this method will only map the Record Type ID value to HubSpot, and not the Record Type Label value. If you want to map the Record Type Label value to HubSpot as well, map Salesforce record types to a HubSpot dropdown select custom property.

  • In your HubSpot account, click the settings settings icon in the main navigation bar.
  • In the left sidebar menu, navigate to Properties.
    • To map Salesforce lead/contact record types, click the Contact properties tab.
    • To map Salesforce account record types, click the Company properties tab.
    • To map Salesforce opportunity record types, click the Deal properties tab.
  • In the upper right, click Create a property.
  • In the right panel, enter a Label for the custom HubSpot property.
  • In the Field type dropdown menu, ensure Single-line text is selected.
  • In the bottom left, click Create.
Next, map this new custom property to Salesforce:
  • In your HubSpot account, click the Marketplace icon marketplace in the main navigation bar. Under Manage, select Connected apps.
  • Click Salesforce.
  • Navigate to the ContactsCompanies, or Deals tabs
  • In the Property Mappings section , click Add new field mapping.
  • In the dialog box:
    • Under What HubSpot property would you like to map?, select Choose Existing HubSpot Property. Click the Select a property dropdown menu and select the newly-created custom property.
    • Under What Salesforce field would you like to map it to?, click the Select a field dropdown menu and select Record Type ID.
    • Under When should HubSpot data update the corresponding Salesforce field?, select Use Salesforce value, I only want Salesforce data to update the HubSpot property.
    • Click Save Mapping.

After the mapping is created, resync existing HubSpot contacts to populate the custom property with the Salesforce record type data. If not, the custom property will only be updated the next time the record is updated in HubSpot or Salesforce.

 

Map Salesforce record types to a custom HubSpot dropdown select property (Advanced)

If you have a more advanced understanding of HubSpot and Salesforce, you can map a Salesforce record type to a custom HubSpot dropdown select property. This method allows the Salesforce Record Type Label value to be mapped along with the corresponding Salesforce Record Type ID value.

  • In your HubSpot account, click the settings settings icon in the main navigation bar.
  • In the left sidebar menu, navigate to Properties.
    • To map Salesforce lead/contact record types, click the Contact properties tab.
    • To map Salesforce account record types, click the Company properties tab.
    • To map Salesforce opportunity record types, click the Deal properties tab.
  • In the upper right, click Create a property.
  • In the right panel, enter a Label for the custom HubSpot property.
  • Click the Field type dropdown menu and select Dropdown select.
  • In the option Enter Label field, enter a Salesforce record type's Record Type Label value.
  • Click + Add an option and enter another Salesforce record type's Record Type Label value. Repeat this step for each record type.

  • In the bottom left, click Create.
  • In the list of properties, click the name of the newly-created custom property.
  • In the Dropdown options section, enter the corresponding Salesforce Record Type ID value for each Record Type Label value in the Internal value field. Learn how to find the ID of a Salesforce record type.

  • In the bottom left, click Save.

Next, map this new custom property to Salesforce:

  • In your HubSpot account, click the Marketplace icon marketplace in the main navigation bar. Under Manage, select Connected apps.
  • Click Salesforce.
  • Navigate to the ContactsCompanies, or Deals tabs
  • In the Property Mappings section , click Add new field mapping.
  • In the dialog box:
    • Under What HubSpot property would you like to map?, select Choose Existing HubSpot Property. Click the Select a property dropdown menu and select the newly-created custom property.
    • Under What Salesforce field would you like to map it to?, click the Select a field dropdown menu and select Record Type ID.
    • Under When should HubSpot data update the corresponding Salesforce field?, select Use Salesforce value, I only want Salesforce data to update the HubSpot property.
    • Click Save Mapping.

After the mapping is created, resync existing HubSpot contacts to populate the custom property with the Salesforce record type data. If not, the custom property will only be updated the next time the record is updated in HubSpot or Salesforce.

Please note: if new record types are added to Salesforce, the custom HubSpot property must be manually updated with the new Record Type Label and Record Type ID value pairs.

Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.