Duplicate email addresses can cause data quality issues in Salesforce. This article explains how to prevent duplicate email addresses from being created when adding new Contact records, using three approaches: creating a unique custom email field, configuring a Workflow Rule to sync the email value, or using an AppExchange application.
There are a few options to help prevent duplicate email addresses in the org.
The example directions are based on the Contact object. This is only for new records.
Classic:
Go to Setup | Customize | Contacts | Fields and click New
Lightning:
Click the Gear icon then go to Setup | Object Manager | Contacts | Fields & Relationships and Click the “New” button
For both interfaces:
The instructions below are to create a Workflow Rule and update the custom Email field.
1. In Classic: Go to Setup | Create | Workflow & Approvals | Workflow Rules
In Lightning: Click the Gear icon then go to Setup | Process Automation | Workflow Rules
2. Click the “New Rule” button.
3. Choose “Contact” in the drop down.
4. Click “Next”.
5. Give it a name.
6. Choose “Created, and every time it’s edited”.
7. In the Rule Criteria section in the first drop down menu choose “Contact: Email” not equal to and then leave the value blank.
8. Click the “Save & Next” button.
9. In the Immediate Workflow Actions section click the “Add Workflow Action” drop down and click “New Field Update”.
10. Give the field update a name.
11. In the “Field to Update” drop down choose the field you created previously.
12. In the “Specify New Field Value” section choose “Use a formula to set new value”.
13. Click the “Show Formula Editor” link.
14. Click “Insert Field”.
15. Find the “Email” field that has the Type: Email and the API Name: Email.
16. Click the “Insert” button.
17. Click the “Save” button.
18. Click the “Done” button.
19. Click the “Activate” button.
There are also AppExchange applications available. Navigate to http://appexchange.salesforce.com/ and search for duplicate email or dedupe or de-dupe or other search terms to find apps that may assist in preventing duplicate records.
000385695

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.