CRM

Salesforce integration

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 guideGet an API key

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

email-validation-salesforce.zipSalesforce CLI

Terminal
# 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 made for it, with a daily credit cap. 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 and test addresses on sandbox.email-validation.org.
Full guide
Read the full setup guide

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, which stays the reference when a step does not match what you see.

Read the full setup guide

  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.

Connect Salesforce
in a few minutes.

Test it on our sandbox addresses for free, then on your own contacts.

Create your accountRead the full setup guide

Updated · Maintained by: Email Validation LLC