Salesforce

How do I get my HubSpot Score to Salesforce as a field?

Last updated: November 10, 2017

Available For:

Marketing: Pro, Enterprise
Sales: Professional

In order to sync HubSpot Score to Salesforce, you need to create the field in Salesforce, map it correctly in HubSpot and allow HubSpot to make updates to the field on the Salesforce-side. Follow the instructions below to map the HubSpot Score property so that it is updated in Salesforce.

Mapping this information to Salesforce is only necessary if you want to run reports or workflow rules in Salesforce based on HubSpot Score. If you simply want to view HubSpot Score in Salesforce, you can accomplish this by adding the HubSpot Intelligence visualforce element to your page layout.

1. Create a custom field in Salesforce

  • In Salesforce, navigate to Setup > Customize > Leads/Contacts > Fields (if you would like HubSpot Score on both leads and contacts, you will need to create the field on each object).
  • Click New in the Lead/Contact Custom Fields & Relationships section.
  • Choose the field type of Number and click Next.
  • Enter a field label. if you are creating a field on both Leads and Contacts, be sure they have the same API Field Name.
  • Make additional changes if necessary, then click Next
enter-field-label-for-custom-score-field.png
  • Choose the Salesforce profiles that can see this field and click Next.
  • Add the field to your Page Layouts so you can see the mapped data on your records and click Save.
  • Repeat these instructions on the lead or contact object if you wish to see this field on both objects
  • If your normal workflow involves converting leads to contacts in Salesforce and you want the custom score field value to carry over from the lead record to the contact record, be sure to setup a mapping between the two custom fields. Instructions can be found here.
custom-lead-field-mapping-to-contact-field.png

2. Create a new contact field mapping in HubSpot

  • In HubSpot, navigate to your Account Menu in the top-right and choose Integrations from the drop-down.
  • Click Settings in the Salesforce section.
  • Select Contacts Field Mappings in the left sidebar menu.
  • Click Add a new mapping to create a new mapping between the HubSpot Score property and your custom score field you created in Salesforce 
  • In the Create Mapping  section under When should HubSpot data update the corresponding Salesforce field? select the radio button beside Use most recent value, I want the most recent data from either system to populate that field. This will allow the score to update in Salesforce as it changes in HubSpot.

new-field-mapping-existing-prop.pngOnce the above setup is complete, the HubSpot Score property will be able to sync to your custom Salesforce field.

Was this article helpful?