GuideFix itSmart CRMData Hub

Connector duplicates after a company rename: sync on an ID that never changes

An IT services client's service system built its company IDs from names. Rename a company there, and the sync had a new ID to match.

Subscription
All tiers; custom unique value properties on any tier that has custom properties
Permissions
Super Admin or property edit access; admin access on the sync tool
Time
7 min · Advanced
Last verified

Short answer

If a sync matches companies on an ID that changes, a rename looks like a new company. At an IT services client, the service management system used name-based company IDs, and the cleanup list included duplicate IDs and renamed companies. The option the client's IT team was evaluating was to switch the sync's key to the HubSpot company Record ID, which HubSpot sets and never changes. If you keep an external ID, create its HubSpot property with Require unique values, which HubSpot allows for up to ten properties per object and only when the property is created.

1. What we saw

An IT services client syncs companies, contacts, and deals between their service management system and HubSpot through a middleware tool. In our cleanup calls the problems were:

  • Company IDs on the service side were built from company names.
  • Renamed companies and duplicate IDs were producing duplicate companies in HubSpot.
  • Deals closed on the service side were still open in HubSpot, which inflated the pipeline.
  • Test companies in the source system were syncing over.

The client's IT team took the action to evaluate switching the mapping from the service system's company ID to the HubSpot company ID. That decision was still open when I wrote this. Merging the duplicates that already exist is covered in duplicate companies from connector IDs.

2. HubSpot's Record ID does not change

Every HubSpot record has a Record ID set by HubSpot. HubSpot's deduplication article describes using it to match records in imports. Storing it on the source side gives the sync a key that a rename cannot touch.

Company properties search showing the Record ID property
The Record ID property (1) on companies.

3. Or make your external ID unique

If you keep the source system's ID, store it in a HubSpot property that requires unique values. HubSpot's rules:

  • Up to ten unique value properties per object.
  • Set only when you create the property.
  • Imports can match on a custom unique value property instead of domain for companies.
Create new property panel with the Require unique values for this property checkbox
The Require unique values checkbox (1), shown on a contact property in my demo.

Uniqueness stops HubSpot from storing the same ID twice. It does not stop a source system from issuing a new ID after a rename, which is why the key choice matters more.

Sources

New field notes by email

One email when a new article publishes.

Still stuck?

If this did not fix it, the problem is probably specific to your setup. Book a call and we will look at it together.

Book a call with Sam