# HubSpot Contact Sync

<figure><img src="https://392978341-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZtOBCP9JV8XEWJpUU4t%2Fuploads%2F4Cr9BqrBUvFhtP6ScvP7%2FScreenshot%202025-08-12%20at%205.35.41%E2%80%AFPM.png?alt=media&#x26;token=d409d813-8bba-413b-aa7f-6a1b9e3aa7e2" alt=""><figcaption></figcaption></figure>

### Contact Sync Overview

The **Sync Contacts** button in Mercuri makes it easy to keep your contact database in sync with HubSpot. When clicked, Mercuri automatically fetches all contacts from your connected HubSpot account and updates the Mercuri contact list.

***

### How it works

1. **Initiate sync**\
   In the Mercuri **Contacts** view, click the **Sync Contacts** button at the top right.
2. **HubSpot fetch**\
   Mercuri will use your connected HubSpot OAuth token to call the HubSpot Contacts API.
3. **Data imported**
   * All contacts from HubSpot are fetched.
   * Standard fields such as First Name, Last Name, Phone, and Email are mapped into Mercuri.
   * If two-way sync is enabled, existing Mercuri contacts are updated with the latest data from HubSpot.
4. **Duplicate handling**\
   If Mercuri detects contacts with the same phone number or email, they will be flagged as duplicates. You can review these by clicking **Manage** on the Duplicate Contacts banner.
5. **Subscription status**\
   Mercuri can mark contacts as **Subscribed** or **Not Subscribed** based on HubSpot opt-in properties (if mapped in settings).

***

### Best practices

* **Normalize phone numbers** in HubSpot to E.164 format for best matching.
* Set up a regular sync schedule if your HubSpot contact list changes frequently.
* Review and merge duplicates periodically to maintain clean data.
* Ensure HubSpot properties used for mapping (like opt-in status) are kept up to date.

***

###
