The independent daily for Salesforce admins, developers and architects

Curated by Abhinav (opens in a new tab)

Recommended

Using plauti to find, Merge and prevent Duplicate records in Salesforce (opens in a new tab)

You will learn how the Plauti package builds deduplication scenarios, tests them, runs jobs, prevents duplicates at entry and restores merges.

Why read this

The review also shows where it goes beyond Salesforce's native Duplicate Rules.

  1. Build a matching scenario
  2. Test it with Scenario Tester
  3. Run jobs and review groups
  4. Merge with AI recommendations
  5. Restore if a merge was wrong
Plauti's deduplication process runs from scenario to restore

Salesforce’s built-in Duplicate Rules cover only part of what organizations need for duplicate management. Plauti’s managed package aims to fill the gaps by handling deduplication, merging and restoring records, with AI assistance layered on top. The article presents it as one of the phases of a wider data quality lifecycle covering monitoring, cleaning, prevention and action.

The core of the package is the scenario, which works much like a matching rule: it lists the fields to compare, a matching method and weighting for each, and a threshold above which records are flagged as duplicates. An AI agent can generate a scenario from a natural language prompt, and a Scenario Tester lets teams preview its behavior on real data before using it. Merge rules decide which record survives and which field values are kept, and multiple merge rule sets per object are supported. Duplicate prevention covers manual entry through overridden New and Edit pages, monitoring of API integrations, Data Loader imports and web forms.

Jobs run scenarios across objects on a schedule, with optional auto-merge, and results can be reviewed group by group, merged or marked as false positives. AI Match and Merge Recommendations help reviewers decide, and an audit log records who changed what. The package also offers a Model Context Protocol connection for running deduplication from a desktop AI client, and a restore feature that tracks changes to records so that mistakes can be reverted. Ten Flow actions and a Screen Flow component allow integration into declarative processes, and Apex plug-ins and a CLI support developer-led setup. The article’s main use case is cross-object matching of Leads to existing Accounts, so that duplicate work and lost deals are avoided. Setup is largely guided in-app, enabling AI recommendations requires signing a DPA, and pricing is bespoke with a 14-day trial of premium features.

Read the original at Salesforce Ben (opens in a new tab)

Worth reading?

Using Duplicate Rules and Matching Rules to stop Duplicate records in Salesforce (opens in a new tab)

You will learn how duplicate rules and matching rules work together, how to choose matching criteria, and a practical order for rolling out Alert and Block modes with a regular cleanup routine.

  1. Enable duplicate rules in Alert mode
  2. Watch alerts for about two weeks
  3. Fix matching rules that are too loose or tight
  4. Switch worst offenders to Block
  5. Schedule a monthly duplicate cleanup
The suggested order for rolling out duplicate rules

Duplicate records quietly undermine reporting in a Salesforce org. Duplicate Rules watch records as they are created or edited and compare them against existing records using a Matching Rule. When a match is found, the rule either blocks the save or warns the user. The article recommends starting in Alert mode, since a hard block on leads can stop reps from logging genuine new opportunities.

The Matching Rule determines how well the Duplicate Rule performs. The article suggests matching contacts and leads on email, which it describes as the most reliable single identifier, and matching accounts on name plus a second field such as website, phone or billing city, because name alone produces false positives. Fuzzy matching, where offered, catches variants like Jon and John Smith, and the matching threshold should be set so that users are not warned constantly.

Duplicates usually enter through Web-to-Lead and data imports, manual entry, and integrations whose matching criteria do not line up with the Duplicate Rules. Existing duplicates are handled separately with Duplicate Record Sets and the Potential Duplicates component on record pages. When merging, the article advises keeping the record with the most history and assigning the merge process to one or two admins on a monthly schedule.

The suggested setup order is to enable Duplicate Rules in Alert mode for accounts, contacts and leads, watch the alerts for about two weeks, adjust matching if users ignore alerts or never see them, then move the worst offenders to Block. Required fields such as email or company can further improve matching reliability.

Read the original at dev.to (opens in a new tab)

Worth reading?