Skip to content
Integrations

Sync Salesforce opportunities to HubSpot

Last updated: June 25, 2021

Applies to:

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

Learn more about how the Salesforce integration syncs opportunities in Salesforce with deals in HubSpot. 

Please note: the number of pipelines you can sync depends on your Sales Hub subscription. Learn more about your pipeline sync limits in the Deals pipelines section.

Before you begin 

To ensure the deal's associations are synced correctly, follow the below steps before enabling opportunity sync:
  1. The integration user must have either Modify all data or Modify metadata through metadata API functions permissions in Salesforce.
  2. Ensure that company sync is enabled for the Salesforce integration and you've completed a Salesforce account import.

Turn on opportunity sync

To begin syncing deals and opportunities, turn on the Sync Deals setting.

  • In your HubSpot account, click the Marketplace icon marketplace in the main navigation bar. Under Manage, select Connected apps.
  • Click Salesforce, then click the Deals tab. 
  • Click to toggle the Sync Deals switch on. 

Please note: the sync setting must be enabled before importing Salesforce opportunities, otherwise deal records will not be created in HubSpot. 

salesforce-sync-deals

Once the sync is turned on, each opportunity record in Salesforce will be synced to their corresponding pipeline in HubSpot. The pipeline will be named Salesforce - [record type ID in Salesforce]. If you only have one pipeline created in your Salesforce account it will be named Salesforce - Default Pipeline in HubSpot.


multi-pipeline-salesforce

You can stop a deal from syncing as an opportunity, or vice-versa by moving the deal into a pipeline that is not synced. 

If you delete a Salesforce opportunity that is syncing with a HubSpot deal, the HubSpot deal will be deleted. However, if you delete a HubSpot deal, the corresponding Salesforce opportunity will not be deleted.

How Salesforce opportunities sync to HubSpot

Any pre-existing opportunities will be synced to HubSpot in two ways:

If your opportunity is associated with Salesforce contact records, you can also associate the synced deal to the corresponding contacts in HubSpot. For this to occur, ensure the contact record in Salesforce is associated with the opportunity as an OpportunityContactRole. The integration will update the contact’s Lifecycle stage property, as well as five other contact properties from the most recently created opportunity:

  • Associated deals
  • First deal created date
  • Recent deal close date
  • Recent deal amount
  • Total revenue

These fields can be used to segment lists, filter your contacts, or create custom reports.

Please note: the Recent deal amount property is populated by the most recently created deal associated with the contact, not the most recently closed deal.

Salesforce opportunities in multi-currency organizations can sync to HubSpot, but the integration cannot convert between currencies when syncing currency values. Only the number value will sync between Salesforce and HubSpot, and no exchange rates will be applied.

How HubSpot deals sync to Salesforce

After the Sync Deals setting is turned on, any new and pre-existing deals in the Salesforce syncing pipelines will be created in Salesforce as opportunities. If a HubSpot contact is associated with the deal, the corresponding Salesforce contact record will be added to the Salesforce opportunity as an OpportunityContactRole.

HubSpot deal properties sync with the following standard Salesforce opportunity fields:

  • Owner
  • Close date
  • Name
  • Type
  • Description
  • Amount
  • Stage

You can also create custom field mappings to sync other HubSpot deal properties with Salesforce opportunity fields.

Learn how to sync Salesforce accounts to HubSpot as companies.