# Salesforce Integration for Email Validation

URL: https://email-validation.org/integrations/salesforce/
Updated: 2026-11-29

> Documentation index: https://email-validation.org/llms.txt

A Salesforce DX project you deploy to your own org checks the email addresses of your Leads and Contacts and stores the status on each record: when a record is saved, for a whole list at once, or from your own flows. Your key stays in a Named Credential, never in a field, in code or in a log.

[Read the full setup guide](https://email-validation.org/docs/guides/salesforce/) [Get an API key](https://email-validation.org/signin/)

- Status: Setup guide
- One zip: Apex, triggers, fields and a permission set

**email-validation-salesforce.zip** Salesforce CLI

Terminal

```bash
# in the unzipped email-validation-salesforce/ folder, against a sandbox first
sf project deploy start --manifest manifest/package.xml --target-org <your-org-alias> \
  --test-level RunSpecifiedTests \
  --tests EmailValidationClientTest --tests EmailValidationActionTest \
  --tests EmailValidationOnSaveTest --tests EmailValidationBulkTest
```

## At a glance.

- **Status**: **Setup guide.** Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
- **For**: Salesforce admins who want each new or changed Lead and Contact address checked, and existing records cleaned one filter at a time, without exporting them.
- **You need**: A Salesforce edition that can deploy Apex, such as Enterprise, Unlimited or Developer (Professional and Group editions cannot), the Salesforce CLI signed in to your org, a sandbox or Developer Edition org to try it in first, and an [API key](https://email-validation.org/app/api-keys/) made for it, with a [daily credit cap](https://email-validation.org/docs/authentication/#limits). To clean a list of more than 50 records, the key also needs the permission Bulk lists.
- **Costs**: 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org and, in a bulk list, repeats of an address (charged once).
- **Full guide**: [Read the full setup guide](https://email-validation.org/docs/guides/salesforce/)

## Typical uses.

- **Check on save**: With Validate On Save ticked, a Lead or Contact created with an email address, or whose address changes, is checked right after the save, and the result is written to the record.
- **Clean a list**: The flow action Clean Email List checks every record a SOQL filter picks: up to 50 one by one, more as one bulk job per 20,000 records, with the results written back.
- **Use it in your flows**: The flow action Validate Email returns the status, reason, action and suggestion for one record or address, so a Decision in your own flow can act on it.

## Set it up. 5 steps.

The short version of the [full setup guide](https://email-validation.org/docs/guides/salesforce/), which stays the reference when a step does not match what you see.

1. **Download and deploy**: It is not on AppExchange: download the zip from the guide, unzip it and deploy it with the Salesforce CLI, to a sandbox or a Developer Edition org first. The deploy runs the package’s Apex tests, which make no real call.
2. **Add your key**: Create a key with Validate addresses (and Bulk lists for list cleans), then in Setup open Named Credentials, External Credentials, Email Validation, and add it to the principal EmailValidationKey as the parameter ApiKey.
3. **Assign the permission set**: Assign the permission set Email Validation to everyone whose saves should start a check, integration and data-load users included, and to whoever cleans lists.
4. **Switch it on**: Both automatic checks are off after the deploy. In Custom Settings, Email Validation Settings, tick Validate On Save, Bulk Clean Enabled, or both.
5. **Test it**: Give a test Lead the address `no_mailbox@sandbox.email-validation.org`: its Email Validation Status becomes `invalid`, at no cost.

## Good to know.

- Try it in a sandbox before you deploy it to a production org: the deploy creates test Leads and Contacts, and your org’s required fields or validation rules can stop it.
- The write of a result never starts another check, and a change only in upper or lower case is not a new address.
- One save of many records, such as an import, queues at most 10 background jobs; records beyond that keep an empty status for a list clean to check later.
- A stopped list clean resumes the same bulk job, so a list is never paid for twice (within the 30 days a list is kept).
- Set Region to `eu` in the settings for [EU data residency](https://email-validation.org/docs/eu-data-residency/).

## Related

- [The full Salesforce setup guide](https://email-validation.org/docs/guides/salesforce/)
- [Send the results to fields of your own](https://email-validation.org/docs/guides/salesforce/#field-map)
- [Clean a list, resume and schedule it](https://email-validation.org/docs/guides/salesforce/#clean)
- [Bulk lists](https://email-validation.org/docs/bulk/)
- [Statuses and reasons](https://email-validation.org/docs/statuses/)
- [Cleaning the email addresses in Salesforce](https://email-validation.org/guides/clean-email-list-salesforce/)
- [Salesloft integration](https://email-validation.org/integrations/salesloft/)
- [Zendesk integration](https://email-validation.org/integrations/zendesk/)
- [Zoho CRM integration](https://email-validation.org/integrations/zoho-crm/)
- [Front integration](https://email-validation.org/integrations/front/)
- [All integrations](https://email-validation.org/integrations/)
