Salesforce import duplicate cleanup with DataGroomr: find, explain and merge duplicates before the campaign goes out

This recipe uses the official DataGroomr MCP server, and it works in Claude. Steps that write, send or spend credits wait for your approval.

IntermediateRevOpsMarketingAbout 20 to 40 minutes

Who it's for: Marketing ops and RevOps people who just loaded a list into Salesforce and need to clean it before the first email goes out. You get a health summary for the dataset, the duplicate groups the import created, where they came from, and a proposed record to keep for each group. Merges happen one group at a time, only after you approve. On HubSpot, the CRM hygiene sweep recipe flags duplicates for reps instead.

You need:

Different tools, or a different job? Build a recipe with DataGroomr and your other tools, and get a prompt your assistant can design from.

Paste these prompts, in order

Use one conversation. Nothing is written, sent or spent until you approve it.

  1. In DataGroomr, show me the data health summary for my {object} dataset {dataset_name}, and when it was last analyzed. If that was before {import_date}, tell me, and only after I approve, analyze the dataset again. Don't change anything else.

    Waits for your approval
  2. List the duplicate groups that include a record created on or after {import_date}. Show the group size, the match explanation and the record names. Sort by group size and show the total count.

  3. For those groups, trace where the duplicates came from (an import, a web form, a user or an integration). Group the results by source, and tell me how many came from {import_name}.

  4. For each group, propose the record to keep (prefer one with an owner, open opportunities or activity) and flag any group that may be two different people. Show it as a table. Only after I approve a group, merge it, one group at a time.

    Waits for your approval
  5. Show me the merge history for today's merges and list any that failed. If I ask to undo a merge, show me what will change and only undo it after I approve.

    Waits for your approval

Rules it follows

These are in the download too. Keep them when you change the prompts.

  • Read only until I approve. Don't analyze a dataset, merge or undo anything without my approval.
  • Merge one group at a time. Show me the records, the match reason and the record you'll keep before I approve each one.
  • Never run mass actions, workflows or schedules, and never change datasets, matching models or rules.
  • Don't verify or enrich records. Those spend credits.
  • Record results include real field values and email addresses. Don't copy them anywhere outside this chat.

Where does this go wrong?

And what to check each time.

Duplicate results older than the import

Ask when the dataset was last analyzed. If that was before the import, the new records may not be in any group yet. Run the analysis after you approve it, then list the groups again.

Two different people treated as one

Groups matched only on phone, company or a common name are often different people at the same company. Open the match explanation, and skip any group where the emails and titles both differ.

Keeping the wrong record

The newest record from an import usually has no owner or activity. Prefer the record with an owner, open opportunities or logged activity, and say which fields to carry over before you approve.

A bad merge you can't take back

Its listing calls merges irreversible, even though there's an undo tool. Treat every merge as permanent: approve one group at a time, and check the merge history after each batch.

Which MCP servers does it use?

Every server is confirmed in: ClaudeClaude Code

DataGroomr

CRM Data Quality

Works in
Claude, Claude Code
Access
Read + write
Credits
Some tools use credits
Up · authDocs · 2026-11-24. Endpoint · 2026-11-30.

How do I set it up?

Every server in this recipe is confirmed for Claude. Connect each one, then paste the prompts below into one conversation.

Developer setup
  • DataGroomr: Sign in with OAuth, or pass an API key as a Bearer token for headless use.

Put this in .mcp.json (Claude Code, project root) or ~/.cursor/mcp.json (Cursor). Swap the example keys for your own, and don't commit real ones. Remove the // comment lines if your client requires strict JSON.

{
  "mcpServers": {
    "datagroomr": {
      "url": "https://mcp.datagroomr.com/mcp"
      // headless alternative: "headers": { "Authorization": "Bearer YOUR_DATAGROOMR_API_KEY" }
    }
  }
}

How long does it take, and what does it cost?

Estimate About 20 to 40 minutes, most of it spent reviewing groups before you approve merges.

Assumptions: One dataset, about 25 duplicate groups reviewed and about 15 merged after approval.

  • DataGroomr: Reads: one dataset summary, one duplicate group list, a match explanation and source trace per group you open, and the merge history at the end. After you approve: one merge per group, and a dataset analysis only if the results are older than the import. MCP calls use DataGroomr credits the same way as the app. Verifying or enriching records spends credits, and this recipe doesn't do either. Some tools use credits. MCP calls use DataGroomr credits the same way as the app. Tools marked Spends credits, for example verifying values or enriching a record, appear in Manage Credits as ordinary Used rows. Search and other read tools are not described as free of credit use in every case, so only the documented spending examples are listed here. Source: help.datagroomr.com, checked 2026-11-24

Exact credit costs depend on your plan with each vendor. Check the tool pages before a large run.

Can I run it on a schedule? (optional)

  • Run it right after each list import, before the list goes into a campaign or a sequence.
  • Run a read-only version weekly on your main Leads or Contacts dataset: the health summary and the group count, then stop.
  • Don't schedule the merge step. Approve each merge yourself.

Gotchas

  • An admin has to set this up, so a rep can't connect it alone. An account admin must publish a server, MCP must be enabled for the organization, and people who connect need Setup access.
  • DataGroomr's MCP server needs an Enterprise or Trial plan.
  • Ask your admin for a server with only the tools this recipe needs. Admins can turn tools on or off per server, and calls show up in an audit log.
  • DataGroomr is confirmed for claude.ai and Claude Code. ChatGPT is named in its announcements, but its setup article gives no ChatGPT steps, so ChatGPT isn't confirmed.
  • Using HubSpot instead? DataGroomr's listing covers Salesforce data quality only. On HubSpot, use the CRM hygiene sweep recipe to send each rep a fix-it list, and merge by hand in HubSpot.

Download

Get the prompts, guardrails and expected output as one Markdown file. Paste it into a Claude Project or ChatGPT project's instructions, or save it as CLAUDE.md for Claude Code.

Download datagroomr-import-duplicate-cleanup.md