Blog
HubSpot

How primary records work when merging in HubSpot with Dedupely

How Dedupely follows HubSpot’s logic to determine which record becomes primary.

July 29, 2025
#
min read
How primary records work when merging in HubSpot with Dedupely

When you merge records in HubSpot, one record always remains; that's your primary record. It survives the merge, creates a new ID, and absorbs all other records in the group.

But how that primary record is chosen, and whether you have any control over it, isn’t always clear.

In this guide, you’ll learn:

  • What a primary record is (and what it isn’t)
  • How HubSpot and Dedupely work together when merging
  • Where you can influence the outcome, and where you can’t
  • How to confidently predict which record will stay after merging

Let’s break it down.

What is a primary record?

When a merge happens, HubSpot will automatically create a new ID number and it will reference the oldest record for fields such as created date, activities dates, and read-only fields.

This record:

  • Becomes the single, surviving version of all merged data
  • Field values are chosen based on merge rules, which you can control (more on that below)

Think of the primary record as your anchor: It holds the final result.

How Dedupely (and HubSpot) chooses the primary record

When you merge duplicates in Dedupely, a new record ID is created due to HubSpot’s merge logic - most of the time, based on the oldest record.  Keep in mind: if you've customized your CRM with integrations, workflows, or other settings, those changes may affect the outcome, in HubSpot and in Dedupely.

Here’s what happens in each merging scenario:

Bulk or auto merges: You can set merge rules for both. Review them first to confirm which values will win or lose. Merge rules let you define general or specific logic so Dedupely works how you need it to.

Dedupely isn’t replacing HubSpot’s merge engine, it’s working with it.
This means you can’t fully override which record will win or lose.

Manual merges: This gives you full control and overrides any default behavior HubSpot would normally apply. You can choose which values win or lose, from editable fields. We recommend this for a short number of matches.

What happens to the rest of the merged records

Once a match is merged in Dedupely, the non-primary records are absorbed into the new ID record that HubSpot created.

Here’s how Dedupely handles merged records (powered by HubSpot):

  • Associations and activities stay intact: All tasks, notes, emails, tickets, attachments, associated companies, and deals from merged records are preserved and transferred into the primary
  • Your merge rules control field values: Dedupely applies the merge rules you’ve set, field by field. If no rule is set for a field, Dedupely defers to HubSpot’s behavior (usually: keep the primary field’s value)
  • Blank fields typically never win over filled fields: Dedupely always protects filled values, a blank field from a secondary record will never overwrite an existing one

You’re not losing data, you’re consolidating it, and Dedupely gives you more control over how that happens.

Note: If you have any workflows or triggers that run after a merge, those can affect the final result of the merged record.

How to influence which values win

You might not be able to set the primary record, but Dedupely gives you tools to influence which values win.

Here’s how:

  • Refine your match options: Choose values that are more likely to isolate your preferred record. For example, matching on Company Name will group more obvious duplicates, along with First Name, Last Name, and Phone Number.
  • Switch to manual merge when needed: For high-stakes merges or strategic records (like your top customers), do them manually to lock in your preferred outcome. Use the custom merge to choose individually which values per field will be kept.
You can choose which values are going to be kept for bulk merging by using merge rules.

What you now know, and what to do next

You now know:

  • How Dedupely follows HubSpot's core merge functionality to determine how the data is kept
  • How Dedupely gives you extra visibility and merge control
  • When and how you can step in to influence which values win or lose

Next steps:

  • Use Search Pads + filters to match duplicates intentionally
  • Define Merge Rules to influence which value wins after a merge

Our Customer Success team can walk you through the exact setup based on your needs.

Contact us

We’d be happy to help you get this set up.

Write us a message

We probably know the answer to your question already 🙂

Email copied to your clipboard!

Book a Zoom

Whether you’re getting started or getting intense.
Get in touch!

Get started for free

No commitment or credit card needed.

All our plans Include all our features + unlimited deduplication, unlimited customer service, unlimited integrations, and no per-user fees.

"The application works great and [...] their customer support was responsive and helped me get on the right track!"
Shawnee K

Shawnee K

Salesforce User

"Dedupely helped us to quickly de-duplicate hundreds of records, with a level of transparency that gives you confidence..."
Grattan H

Grattan H

Pipedrive User

"Dedupely was huge in improving the quality of my CRM database. It saved me hours of manual merging."
Marco S

Marco S

Efecte

"We had 300k records in our CRM. Despite the large amount, Dedupely was perfect. The support was especially outstanding."
Simon W

Simon W

Tillhub

"Most of all, our team has been impressed by the way the Dedupely Customer Success team consistently goes above and beyond."
Isaac J

Isaac J

Salesforce User

"Our customers want to achieve great results fast. Everybody at HubSpot already knows what Dedupely can do..."
Scott B

Scott B

VP of Platform at HubSpot

"I do recommend! A++ Pretty easy to use. Adequate reporting. SUPERB CUSTOMER SUCCESS!"
Alina T

Alina T

FieldBee

"Worked very simply and effectively and suited my budget [...] Very happy to recommend a good app and integration."
Allan R

Allan R

Target3D

"It couldn't have been much easier to connect to HubSpot and run my first dedupe."
Emily K

Emily K

Mercy Housing

"I was really pleased with Dedupely. It's highly configurable and works well when used manually or for automated deduping."
Laura R

Laura R

Salesforce User

"The app worked great and helped me a lot with hundreds of duplicates in Pipedrive."
Samo J

Samo J

TapHome

"It prioritizes merging while keeping key data. Highly recommended for anyone using Pipedrive integration."
John K

John K

David J Anderson School of Management

"Works really well, support is A++++++"
Andy G

Andy G

Pipedrive User

"In a matter of maybe 30 minutes [...] Dedupely automatically took care of my dupes and merge needs. So happy I found it."
Wasmer D

Wasmer D

HubSpot User

"Worked as expected and Nestor at Customer support was extremely helpful walking me through some nightmare duplicate issues."
DiBlasio S

DiBlasio S

HubSpot User

"It took away the huge headache we had of merging over 27,000 duplicate contacts."
Sean B

Sean B

Legal CPD

"This tool made a week long project take a few hours. Definitely a go-to for deduplication processes."
Burchard J

Burchard J

HubSpot User