Marketing Integrations

DGarcia18
Participant

Country and State mapping

SOLVE

Hello... I come from this post  if I map Mailing country (Salesforce contact field) to country/Region (HubSpot property), it works. However, I don’t use Mailing Country for leads — I use Country and countrycode instead.

The issue is that when I map country/region in HubSpot to countrycode from Salesforce, every time I update the value in HubSpot, it immediately gets overwritten by the Salesforce value.

Do you know if it’s possible to use the same property for both leads and contacts in Salesforce? And do you know why Salesforce keeps pushing its data to HubSpot every time, even though I only have one active mapping (Country) and another for state?

P.S. I’m facing the same issue with state field for leads.

0 Upvotes
1 Accepted solution
trevordjones
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

Country and State mapping

SOLVE

Hi @DGarcia18 and thanks for the tag @BérangèreL -

 

Looking at your screenshots, I see United States as the option selected.  If you are syncing to a two-digit country code, shouldn't this value be US?  The values for the dropdown field in HubSpot must match the values in the Salesforce picklist for the sync to work correctly.  

 

Generally speaking, two-way sync should take the most recent value, and if there is a conflict it will default to Salesforce's value.

- Trevor
If my post solves your problem, please accept it as a solution.

 

Trevor Jones

Consultant II

Process Pro Consulting
mobilePhone
(207) 939-7689
emailAddress
tjones@processproconsulting.com
website
processproconsulting.com
address
Remote from Maine
linkedin

View solution in original post

3 Replies 3
BérangèreL
Community Manager
Community Manager

Country and State mapping

SOLVE

Hi @DGarcia18 and welcome, it's a pleasure to have you here!

Thanks for asking the HubSpot Community and I am delighted to see that you searched through Community posts before creating a new one!
 

Which sync rule did you put in place, please?

The more info, screenshots (without sensitive/confidential information), and details you can provide, the better the Community can assist.


This article "Map HubSpot properties to Salesforce fields" might be of interest to you.

I'd love to put you in touch with our Top Experts: Hi @LaurenRyan, @trevordjones do you have suggestions to help @DGarcia18, please?

Have a fantastic day and thanks so much in advance for your help!
Bérangère


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Saviez vous que la Communauté est disponible en français?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres! !
0 Upvotes
DGarcia18
Participant

Country and State mapping

SOLVE

Hi @BérangèreL the rule is set to two way. 

These are the mappings for country and state

DGarcia18_0-1747662541438.png

DGarcia18_1-1747662564088.png

 

What’s happening is that every time I update the state or country in a Lead record (with no duplicates or sync errors), HubSpot automatically overwrites my input with the value from Salesforce.

DGarcia18_2-1747662709004.png

 

This is an example from the property history log showing Salesforce pushing the change into HubSpot:

 

versions:[ { name:"states_dropdown", value:"AR", timestamp:1747413630979 (May 16, 2025, Fri, 11:40:30am UTC-05:00), source:"SALESFORCE", sourceVid:[ ], requestId:"d7e0e881-c9c6-490a-88ee-098014ed166e", useTimestampAsPersistenceTimestamp:true, sourceUpstreamDeployable:"ContactsApiWeb-web" }, {

 

 

P.S. I verified this with our Salesforce admin, and they confirmed that we don’t have any Apex triggers, flows, or automation in Salesforce that could be causing this behavior.

0 Upvotes
trevordjones
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

Country and State mapping

SOLVE

Hi @DGarcia18 and thanks for the tag @BérangèreL -

 

Looking at your screenshots, I see United States as the option selected.  If you are syncing to a two-digit country code, shouldn't this value be US?  The values for the dropdown field in HubSpot must match the values in the Salesforce picklist for the sync to work correctly.  

 

Generally speaking, two-way sync should take the most recent value, and if there is a conflict it will default to Salesforce's value.

- Trevor
If my post solves your problem, please accept it as a solution.

 

Trevor Jones

Consultant II

Process Pro Consulting
mobilePhone
(207) 939-7689
emailAddress
tjones@processproconsulting.com
website
processproconsulting.com
address
Remote from Maine
linkedin