How to Choose Which Record Is Kept When You Merge Duplicates
Pick the record that survives every merge, and the values it keeps, before anything changes in your CRM.
Yes, you choose which record is kept when Dedupely merges duplicates. In Merge Rules, you pick the Primary Record (the master record): the oldest, the newest, the last updated, the one with the most field data, or your own rule, like "the customer always wins." Then you get field-level control over the rest: flexible Merge Rules decide which value wins in each field, Dedupely suggests rules for common fields, and you check the result in Merge Preview before anything is merged.
What the Primary Record (master record) is
When duplicates merge, one record survives and the others are merged into it. That survivor is the Primary Record. It stays in your CRM, and it gives its value to every field that has no other rule. Activities and associations from the other records move to it, except where your CRM's API doesn't allow it.
Two choices decide the result:
- Which record is the Primary Record: a record-level choice.
- Which value wins in each field: a field-level choice. A field can take its value from another record, even when that record isn't the Primary Record.
Step 1: Choose how the Primary Record is picked
- Go to Merge Rules and pick the Record Type, like Contacts or Companies.
- Under the Primary Record, choose how it's picked:
- Oldest Record: the record created first. This is the default.
- Newest Record: the record created last.
- Last Updated Record: the record someone changed most recently.
- Most Field Data: the record with the most filled-in fields. This is the default in Google Contacts and spreadsheets.
- Custom: your own Win and Lose Rules pick the record (Step 2).
- Click Save.
One exception: in a HubSpot company merge that includes a company synced with Salesforce, the synced company always stays the Primary Record, so the HubSpot-Salesforce Integration keeps its record.
Step 2: Make your own rule for the Primary Record
Choose Custom to pick the Primary Record with your own conditions. Each rule has a When field, an Operator and In Duplicate Search (all searches, or one). Rules teams use:
- The customer always wins: a Win Rule, When field Lifecycle Stage, is equal to Customer, Opportunity. The terms are a priority list: a record with Customer beats a record with Opportunity.
- The record linked to another system wins: a Win Rule, When field Salesforce Account ID (or any external ID), is not blank.
- The record with the most activity wins: a Win Rule, When field Number of Sales Activities, is greatest number.
- An inactive record never wins: a Lose Rule, When field Status, is equal to Inactive.
Lose Rules run first, then Win Rules from top to bottom. The first Win Rule that a remaining record passes decides, so put the most important rule at the top. If no Win Rule decides, the first record in the match that didn't lose becomes the Primary Record.
Step 3: Choose which value wins in each field
Under Common Fields and Other Fields, use the dropdown next to each field:
- Primary: the field takes the Primary Record's value.
- Primary or best (email, phone and name fields): keeps the Primary Record's value unless it's unusable, like a placeholder phone number or a name that's only an initial.
- Best email, Best phone, Best name: keeps the strongest value of any record, like a work email over a free email address, or a direct number over a toll-free one.
- Append (multi-value fields): keeps every unique value from all the records.
- Primary or active (owner and other user fields): keeps the Primary Record's user when that user is active in your CRM.
- Custom: your own Win and Lose Rules for that field, like "keep the newest phone number": Win Rule, When field Create Date, is newest.
If the Primary Record has a blank field and no rule decides, the field is filled from the first other record that has a value.
For field-by-field examples, see How to Choose Which Value Wins in Each Field When You Merge.
Step 4: Apply the suggested rules
Once your CRM syncs, Merge Rules suggests rules for fields it recognizes, like phone, name, address, owner and lead status fields. Each suggestion shows on the field's row, labeled Suggested, with what it keeps and why.
- Click Apply on the field's row. The field switches to Custom with the rule filled in.
- Check the result in the Merge Preview tab (Step 5), and edit the rule if you need to.
- Click Save.
To skip a suggestion, click Dismiss. See Merge Rules for the full list of suggestions.
Step 5: Check which record is kept before you merge
- Merge Preview tab in Merge Rules: shows real matches with your rules, including changes you haven't saved yet. The Primary Record is labeled, and the winning values are in bold. Use it to test a rule before you save it.
- In your results: the winning values show in bold in each match.
- View Match Details: the Merge Preview column on the left shows the final record.
Then run one or two Single Merges and check the records in your CRM before you bulk merge or turn on Auto Merge.
For one important match, use Custom Merge instead: choose the winning value field by field, or type one by hand, then merge. Your choices override your Merge Rules for that match. See How to Merge Duplicates.
Example setup
A B2B team in HubSpot wants the customer record to win, and the record their reps actually work in to win when neither is a customer.
- Primary Record: Custom, with three Win Rules, in this order: Lifecycle Stage is equal to Customer, Opportunity; then Salesforce Account ID is not blank; then Number of Sales Activities is greatest number. One Lose Rule: Status is equal to Inactive.
- Fields: Email on Best email, Phone Number on Primary or best, Contact owner on Primary or active, and the suggested rules applied to the name and address fields.
- Check: they open the Merge Preview tab, page through ten matches, and see the customer record labeled Primary in each one. Then they save, single merge two matches and check them in HubSpot.
- Merge: they bulk merge the search a page at a time, and turn on Auto Merge once it has run without false matches.
What happens next
- Your rules apply to every merge from then on: Single Merge, bulk merges, Auto Merge and Dedupely Intelligence.
- Your CRM's own merge behavior still applies. HubSpot usually gives the merged record a new record ID. Salesforce keeps the Primary Record's ID and sends the others to its Recycle Bin.
- Every merge is logged in Merge History, with the original records and the values that won.
- Treat every merge as permanent. A merge of records that weren't duplicates can be undone for 30 days from Merge History, with some exceptions. See Undo a Merge.
Common mistakes
- Keeping the default without checking it. The oldest record isn't always the one your team works in. Check a few matches in the Merge Preview tab first.
- Choosing the record but not the values. The Primary Record gives every field its value unless a field has its own rule. Set rules for the fields that matter, like email, phone and owner.
- Putting a broad Win Rule at the top. The first Win Rule that a record passes decides. Put the most specific rule first.
- Changing rules without telling your team. Merge Rules apply to every future merge, including Auto Merge. Agree on who changes them.
FAQs about choosing which record is kept
- How do I choose the master record when merging duplicates? In Merge Rules, choose how the Primary Record is picked: Oldest Record, Newest Record, Last Updated Record, Most Field Data, or Custom with your own Win and Lose Rules. Check the result in the Merge Preview tab before you merge.
- Can I choose which record is kept when I merge? Yes. Pick the Primary Record in Merge Rules, and set field-level rules for the values it keeps.
- Which record is kept if I don't set anything? The oldest record, or the one with the most data in Google Contacts and spreadsheets. Its blank fields are filled from the other records.
- Can the surviving record keep a value from another record? Yes. Field-level rules decide each field's value, whichever record is the Primary Record.
- Can I always keep the customer record? Yes. Choose Custom and add a Win Rule on Lifecycle Stage with is equal to Customer.
- Can I choose a different record for just one match? Yes. Use Custom Merge to pick the values for that match.
- Can I see which record is kept before merging? Yes. The Merge Preview tab in Merge Rules shows real matches with your rules, even before you save them.
Next up
Still stuck?
Our team helps on every plan and during the free trial, by chat, email or Zoom.
- Need help? Talk to support
- Questions about plans? Book a Zoom with sales
- Reading this with a model? Read this page as Markdown
- Feeding it the whole site? Read llms.txt




Pipedrive Marketplace