Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Contact merge process

How you can use Middle to merge contacts in HubSpot

Summary

Middle is able to connect identities in your POS platform or membership management platform to HubSpot contacts. Identified contacts can then be merged together, cleaning up your HubSpot data.

Using serialized workflows you can look up an individual in HubSpot by their external ID (such as a member ID), their email, and their phone and name. Using Middle's action to search for an object in HubSpot, you are able to combine all of these search queries into a single step. This then returns all contacts that match your search terms.

If more than one contact is returned, Middle's merge contacts HubSpot action allows you to merge together these duplicate contacts.

This process relies on a unique external ID property being set up in HubSpot

External ID properties

How the process works

Middle's HubSpot module workflows employ the following process:

  1. Search for individual by external ID, email, and phone

  2. Categorize found contacts by their matching criteria:

    1. External ID match

    2. Email match: Do not overwrite a contact found via email match if the contact in HubSpot represents an active customer

    3. Phone matches: only match when an exact match on name is found

  3. If multiple distinct matches exist, a merge branch selects a surviving contact and merge duplicates into the surviving contact

  4. A final step performs an update to the surviving contact so that data is up to date

Surviving contact selection

Most recent conversion wins: if any eligible contact has recent_conversion_date, consider only contacts with that value and select the newest.

Otherwise, oldest contact wins: if none has a conversion date, select the earliest HubSpot createdate.

Last updated

Was this helpful?