✕
AppAssessor / Data

How to Find, Merge, and Prevent Duplicates in Your Salesforce Org

Andreea Doroftei

By Andreea Doroftei

Add SF Ben as a preferred source
Branded content with Plauti

Take your duplicate management process to new heights with a complete solution that covers everything from prevention, merging, and even bespoke AI-powered recommendations to cater to your organization’s needs.

Highlights 

  • Deduplicate any standard or custom Salesforce records across any process.
  • Make use of faster and more reliable deduplication with the built-in AI Data Steward.
  • Plan, test, and compare any deduplication scenarios before merging.
  • Be equipped for any potential merging mistake with restore capabilities.
  • Make the entire deduplication process your own, with automation capabilities and SDK.
  • Use AI to plan and run Plauti deduplication jobs directly from any desktop AI client.

Deduplication in Salesforce is one of the topics that is bound to find its way into any admin’s, data steward’s, or architect’s career multiple times. Whether you’re designing a new solution on the Salesforce platform or maintaining one, not accounting for duplicate records can have a widespread impact on technical teams, business users, and even customers. Duplicate Rules can help to a certain extent, but nowhere close to what is needed nowadays – flexibility, speed, and scalability. What if all of these could be addressed? 

Plauti’s flagship deduplication solution, which has been around for a long time to ensure that Salesforce customers have all their deduplication needs met – from deduplication to merging and restoring. Be it a small business or a complex enterprise organization, this Salesforce-native solution closes all the gaps that out-of-the-box Duplicate Rules left open. 

Deduplication runs in two of the four phases of the Plauti data quality lifecycle: Monitor, Clean, Prevent, and Act. Plauti Clean fixes what’s wrong by finding and merging duplicates, verifying your CRM data, and standardizing your fields. Plauti Prevent stops bad data at the door, so clean data stays. A dedicated AI Data Steward completes the experience with recommendations and explanations. Furthermore, Plauti’s restore capability comes to the rescue as a safety net layer to help undo any potential deduplication mistakes, which would take much longer to correct otherwise. 

This in-depth review will showcase the main deduplication features Plauti offers, ideal use cases, and setup effort, as well as how fast your team can (and will) start using this solution. 

Features

When thinking about deduplication as a process, chances are that ‘easy’ isn’t the first word that comes to mind. Plauti aims to change this, while also providing all the necessary tools and features for the process, rules, and criteria to be exactly what your organization needs.

Additionally, if you have already migrated your org to SLDS2, the entire experience matches the latest Salesforce experience updates, ensuring a modern and accessible experience for everyone.  

Object Configuration and Scenarios

Out of the box, as soon as the managed package is installed, the Lead, Account, and Contact objects are pre-configured and ready to go for you to get started. However, you can choose to add more standard or custom objects as needed, each with its own configuration and, as you’ll see below, scenarios and rules to account for. 

AI-Powered Scenario Builder

If you have been using Salesforce Duplicate Rules already, then the concept of Scenario will sound very familiar. This is how Plauti’s mechanism decides what counts as a duplicate and how to compare records, very much like a matching rule in Salesforce.

If you were expecting to start creating scenarios and having to manually select each field, then you’re in for a surprise! As part of making deduplication easy, the offering includes a built-in AI agent to help you create the exact scenario and provide recommendations using natural language. You can, however, still opt to create the scenario manually, but let’s take the agent for a spin first. 

You can start the conversation with a simple prompt, and the agent will ask clarifying questions as needed before coming up with a proposed scenario for you to review and save. If needed, the agent can make additional tweaks before the scenario is saved, or you can edit it manually afterwards.

Even if you’re not familiar with the platform, as long as you know how duplicates should be identified, having the agent generate the scenario for you can be a matter of a few seconds.

Each scenario includes the fields on which deduplication is based, alongside the desired matching method and weighting (how much the data point impacts the duplicate flag) for each of them. 

Depending on the field you choose, the matching method should be selected accordingly – for example, the agent selected Partial Fuzzy Medium for the Opportunity Name match, but you may decide later on that Partial Fuzzy Heavy is a better choice. Regardless of the fuzziness level, this method flags values as duplicates when a word coincides between the string to be analyzed, while allowing for spelling mistakes.

You can find the explanation for every available matching method here. 

Another parameter defined at the scenario level is the threshold. This is how the subsequent processes that the scenario will be used in will know when to flag a duplicate – in this example, if a record has a score of 85% against the criteria you chose, it will be flagged as a duplicate. 

The default for scenario threshold is 100 – however, if you are comfortable with a higher deviation, such as 10, 15, 20%, and so on, this is what you will have to change to achieve the results. 

Keep in mind that, for scenarios to work as intended, Plauti recommends the creation of a Search Index within the Settings tab when configuring an object. 

Scenario Tester

Speaking of results, now that the scenario exists, you don’t have to simply run with it and hope for the best. Similar to how you build a new project in a Salesforce sandbox, test, and then deploy, Plauti adapted this sort of approach for deduplication.

Scenario tester is the mechanism that allows you and your team to preview how a certain scenario will behave, in order to tweak the fields, matching methods, or the threshold as needed based on real data. Additionally, when testing the scenario, the field values can be manually changed to determine how all possibilities would behave. 

Unlike scenarios, merge rules are the ones that determine which of the duplicate records survives as the main one. By default, that is the last modified one, but you can determine this per object. The general rule dictates the record, but you may choose to also determine which field values are kept, field by field. 

Here is also where the fields enabled for AI Recommendations are determined, but note that encrypted fields and dependent fields are not supported. 

While there are many other object settings to choose from, there’s one more thing worth checking, especially if you want to split your data into subsets when deduplicating. The predefined filters help you achieve that and will be available to use across Plauti Jobs.

In their latest release, Plauti also accommodates multiple merge rule sets per object. This feature lets admins define separate merge logic (master record and field preferences) per object, applied conditionally through a formula, instead of one rule list forced on all records.

Duplicate Prevention

While for most implementations deduplication will happen when the database may already be polluted to a certain extent, the best practice is to prevent these before they become a problem. Plauti covers this as well, with a few ways in which potential duplicates can be identified and dealt with:  

  • For manual entry, the managed package includes a page that can overwrite the standard ‘New’ and ‘Edit’ pages so that every single record users create or update is checked against the scenario you choose. As needed, saving can be blocked or overwritten when duplicates are found. 
  • Plauti can also help monitor all integrations inserting or updating records through the Salesforce API, so that any potential duplicate is identified at the point of entry. 
  • While performing data imports, for example, using Data Loader, duplicates may creep in without the proper blockers in place. Additionally, if everything is blocked, then the latest information may be lost. Plauti provides a middle ground, as depending on your scenario, you can pick and choose which information is kept. 
  • Another point of entry is web forms, and that is another area where Plauti can help, especially as deduplication happens in real time. 

Plauti Jobs

Perhaps the most used deduplication functionality is Jobs. They represent a way to easily and rapidly find any number of duplicates within your organization, regardless of the objects that are being checked or the criteria. 

The deduplication Job tab is the place where you can have full visibility into the automated processes that run and where to create new ones as needed. There will always be an overall breakdown at the top of the page, so that you can measure success at a glance. Additionally, when getting started with Plauti’s deduplication solution, running your first job on Leads, Contacts, or Accounts is just one click away. 

Within each Job Result, if duplicates were identified, you can quickly start to address each group. The results can all be expanded, filtered, reviewed per group, and merged – all on the same page. Additionally, groups can be flagged as false positives just as easily.

When creating a new job, you and your team can make use of all scenarios defined per object, cross-object deduplication if enabled, and also use the predefined filters, if any. As expected, jobs can be scheduled as well (daily, weekly, monthly, or at a custom cadence defined by a cron expression), and auto-merge can be enabled if needed.

Your Dedicated AI Data Steward

You might have already noticed in a couple of the screenshots above that the agent helping with scenario building is not the only AI-powered feature – and it’s definitely not! Plauti provides AI-powered functionalities across the board when it comes to your potential duplicate records:

  • AI Match Recommendations: Available within Job options or on-demand after the Job run, identify records as either duplicates, uncertain, or unique for your team’s manual review following a run to be much faster. These recommendations can also be used for auto merge, and thresholds can be defined for both the actual recommendations as well as the merging. 
  • AI Merge Recommendations: Can be defined for up to 10 fields per object within the Merge Rules tab, and can help your team assess which field values are best to be kept during a merge – be it because of their spelling or formatting, for example.   

The AI Match Recommendation, regardless of whether it was set up during the Job creation or triggered afterwards, will appear as a new line item in the list of jobs. On the Job Results page, the groups will be visibly flagged with the AI advice if any – in the example below, a duplicate.

The AI Merge Recommendation can be triggered per record group during the merge. Depending on the fields chosen for the recommendations, and if any recommendations do exist, they will be provided alongside an explanation, regardless of whether the fields were chosen to begin with. 

For example, the LLM correctly identified that ‘Robert’ is a more complete name than ‘Bob’, and that the company name containing ‘LLC’ was more complete given the likelihood of it being the legal entity name. 

Deduplicate Record by Record

Deduplication as an overall process and effort is a team job. Salesforce Admins, Data Stewards, and users have to work together to ensure the quality of the data within CRM. Plauti provides an out-of-the-box solution to empower users to take action directly on records. 

Depending on the setup, they could either directly merge or flag the records for an admin to continue afterwards. If merging is enabled, though, they will have the option to proceed themselves, and also use the AI Merge Recommendations. This way, every decision is kept under admin control, while AI can be used when and if needed.

Note that once again the rules are respected, as even if the phone number from the other records was different, the AI recommendations preserved the phone number from the master record as instructed. This, of course, can be changed in the object configuration if needed.

Track Any Deduplication Action

Plauti focuses on providing a seamless and easy deduplication process, but also assumes the responsibility of tracking everything that is happening with your data. Regardless of how many admins, data stewards, or even power users can make use of the tool, the visibility into the changes is ensured by the audit logging. 

After enabling the feature, you’ll notice that you can filter on virtually everything you need, including the action taken, object, and user.

When exploring the audit, in case records corresponding to the criteria are found, you will have all the information at a glance: who took the action, when it happened, as well as additional details. These items are stored as custom object records in your org, so you may use this experience, create a report, or even query them when investigating. 

Deduplicate via MCP

Plauti has also recently expanded into allowing you and your team to make use of the functionality through the desktop AI client of your choice. As you might have expected, this means that you can ask in plain language, and the assistant will complete the deduplication actions for you, based on your rules: 

  • Connect to your CRM: Ask the assistant to connect to production or a sandbox. It opens your usual login page in the browser, and you sign as always. 
  • Manage and improve matching scenarios: List, create, update, or delete the rules that decide which records are duplicates. Try: “Why are these two companies not seen as duplicates?”
  • Run deduplication jobs: Create and start a job, follow its progress, read the job log or stop it. Try: “How many duplicate records do we have?”
  • Review results: See the duplicate groups and pairs a job found, with their scores and the record values side by side. Preview which record would be kept before you merge. Try: “Show me the 20 lowest-scoring groups from this job.”
  • Merge duplicates: Merge one pair at a time, or every pair above a score you set. Records can also be converted automatically. Try: “Merge all pairs above 95% from this job.” Keep in mind that merging does not happen without explicit approval. 

Restoring Through Plauti

The most stressful part of merging in Salesforce is the possibility of mistakes happening and wrong records being merged. Since merging involves deleting records and only keeping the surviving one, it could prove tricky and time-consuming to recover the initial state.

Plauti’s Restore solution acts as a safety net, which is available at no extra cost. Inserts, updates, merges, and deletions can be tracked for standard and custom objects – additionally, you can pick and choose the tracked fields and the related objects if needed.

Once set up, every single change can be accounted for. Depending on the fields chosen for tracking, there will be a record for each of them. For example, this means that regardless of the mistake that happened either during a merge or an update, you have full control to restore as needed – either the full record or just a few of the fields.

Roadmap

Plauti’s ultimate goal is to keep offering Salesforce Admins even more precise control and customization options over their entire deduplication process, so that it can easily adapt to any business needs.  

Upcoming capabilities include:

  • Extending existing headless capabilities for deduplication: Export the results headless to a CSV file to review a high number of records, and search duplicates for a single record, then merge and convert. That’s handy if you want to create or work on a record headlessly.
  • Start a cleanup action straight from Monitor results, such as a deduplication job based on the duplicate value rate analysis.

Use Cases

While each feature can be used for a variety of scenarios, both manual and automated, one key differentiator that will help organizations reach their data quality goal is the ability to match and merge across objects.

Lead-to-Account matching and adjacent processes are one of the use cases that get exponentially more difficult to manage as an org grows, be it a scaling business or a fully fledged enterprise organization. 

With more territories, BDRs, and sales reps to manage, there are a myriad of ways in which duplicates may slip through the cracks – and each duplicate in this instance could mean time wasted by multiple users, frustration, and lost deals. 

Thanks to the cross-object matching and automatic Lead conversion, Plauti can enhance this process directly from the point of entry. 

  • Building a trusted deduplication process: Before even starting the deduplication, it’s all about finding the right records. Plauti can help with this prerequisite with their data quality monitoring solution, so that you know which fields can be trusted to be further used as matching criteria within a scenario. 
  • Reduced risk of lost deals: Revenue outcomes are perhaps the biggest cost of this process failing. When an incoming Lead doesn’t match an existing Account, chances are that instead of the dedicated salesperson with context reaching out, a BDR might start the conversation from scratch. Plauti ensures that is not the case, as the Leads and their corresponding Accounts can be identified.
  • Say goodbye to duplicate work and frustration: Users will quickly lose trust when a newly created Lead assigned to them (perhaps through round robin), which they have already spent time researching, turns out to be a colleague’s Account. With the correct scenario for your use case and the Jobs in place to maintain this, your sales team will continue to trust the CRM as the source of truth. Matched Leads can be automatically converted and also assigned as a Contact to the Account Owner following conversion.

Another thing to keep in mind – regardless of the use case at hand – is that Plauti matches Salesforce in terms of flexibility. Either declaratively or programmatically, the functionality can be included across all of your existing processes, without having to compromise.

Out of the box, there are 10 readily available Flow actions, ranging from finding duplicates to actually triggering record merges or conversions directly from a Salesforce Flow.

Specifically for Screen Flows, you can include a dedicated component to display any identified duplicates to your users directly. This means that you can still achieve the experience you’d like, while accounting for any potential duplicate scenarios.

Flow Actions are by no means the only available method to integrate the deduplication functionality into your organization’s processes. Although they are the most accessible for Salesforce Admins, the sky is the limit when it comes to developer-friendly options too. 

With Apex Plug-ins and Plauti CLI just a few clicks away to ensure that Plauti’s solution is properly installed in any Salesforce environment (including Scratch Orgs), there is virtually no limit to how you can make use of the functionality, and scale across all your use cases. 

Setup

Getting started with deduplicating records through Plauti is a walk in the park if you know the criteria you’re looking for to match potential duplicates. Even if you don’t know, after installing the managed package in your org, Plauti makes it simple to get started thanks to their in-app guidance: running a first job with out-of-the-box criteria, setting up duplicate prevention, and even customization.

If you follow along the steps, you will be done with the initial clean-up in no time! 

To make use of the AI recommendations, you will have to sign a DPA before enabling them. This can be found in the AI Data Steward section of the Settings tab.

Support

Although unlikely, in case the comprehensive implementation guide and documentation doesn’t answer your question, you can contact the support team by completing this form. 

Similar to the Salesforce support process, you will have to provide login access to the Plauti team and also share the org ID.

Pricing

Plauti provides bespoke pricing for their products based on your business needs and requirements. For more details, you can reach out to the team here. 

Additionally, all premium features are available for 14 days at no cost. 

Summary

Be it Leads, Contacts, Accounts, or any other Salesforce object, Plauti offers a vast array of functionality to ensure all data is top quality. Unlike classic deduplication, Plauti’s solution includes built-in AI functionality to aid your team even further, right in the deduplication context of their choice. Regardless of whether you decide to fully automate or to make use of the manual options, data quality improvements should be obvious in no time.

If you’re ready to embark on a successful deduplication journey, take both Plauti’s deduplication and restore solution for a spin in your own sandbox today. 

The Author

Andreea Doroftei

Andreea Doroftei

Andreea is the Technology Director at Salesforce Ben. She is an 18x certified Salesforce Professional with a passion for User Experience and Automation. 

Leave a Reply