# Validate Salesloft People

URL: https://email-validation.org/docs/guides/salesloft/
Updated: 2026-11-29

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

Check the email addresses of your Salesloft people and write each result into four person custom fields, so your
views and cadences can leave out the addresses you should not mail. A script you run on your own computer reads every
person, checks the addresses as one bulk list and writes the results back. It never deletes a person or changes an
address. Download it: [email-validation-salesloft.zip](https://email-validation.org/downloads/salesloft/email-validation-salesloft.zip) holds
`salesloft.mjs` (the script) and the MIT licence.

## What you need

- **A computer** with Node 22.18 or later. Nothing to install: the script has no dependencies.
- An API key of ours from the [API keys page](https://email-validation.org/app/api-keys/) with **Validate addresses**, and the permission **Bulk
  lists** (off by default: turn it on when you create the key) for more than 50 people.
- A Salesloft API key: in Salesloft, **Your Applications** → **API Keys** → **Create New**, with these scopes:
  `people:read` and `people:write` (to read your people and write the four fields), `team:read` (to name the state
  file by your team), `workflow:read` (to find the four custom fields) and, for the first run, `workflow:write` (to
  create them). If a run says Salesloft refused the request, add the missing scope to the key. The key acts as the
  user who created it, so that user needs to see and edit the team's people, and, for the first run, to manage custom
  fields: the first run creates the four fields (an admin can create them instead, as below).

## Try it free first

Each distinct address uses one credit (`unknown` results, duplicates and malformed addresses are free), so try it on
a Salesloft team that holds only test people, never on your real ones. Give one test person the email address `no_mailbox@sandbox.email-validation.org` (sandbox checks are free; that
domain receives no mail, so send it nothing), then:

```bash
cd email-validation-salesloft                 # the unzipped folder
export SALESLOFT_API_KEY=… EV_API_KEY=…
node salesloft.mjs --dry-run                  # creates nothing, checks nothing, writes nothing: only counts
node salesloft.mjs                            # creates the four fields if missing, checks and writes
```

The person's `ev_status` field says `invalid` and `ev_reason` says `no_mailbox`. Run it once more: it reports
nothing to check, because every result was written. Then delete the test person.

## Run it

```bash
node salesloft.mjs --dry-run      # how many people would be checked; free
node salesloft.mjs                # checks and writes
```

Up to 50 addresses are checked one by one; more go out as one bulk list. A person is checked by their email address
(the primary one; the personal and secondary addresses are left alone), and one whose address already has a result is
skipped (an `unknown` result is checked again), so a daily run checks only new and changed addresses. If a run stops,
run the same command again from the same folder: it reads the people again, resumes the same bulk list and never
pays twice (within the
30 days a list is kept). The state file (`.ev-salesloft-<team id>.json`) lives in that folder,
named by your Salesloft team, so another key of the same team finds the same list. It prints ids and counts, never
an address or a key.

Options:

- `--region eu`: checked in the EU, lists and results kept there, with the same key.
- `--revalidate`: check again addresses that already have a result.
- `--rate N`: Salesloft requests a second, every request counted (the reads before and after a write too; default 3,
  at most 5). Salesloft limits each team to a cost of 600 a
  minute, shared by every app of the team, and a page past the 100th costs more (3 to 30 instead of 1). When Salesloft
  refuses for its limit, the script tries again three times (after 2, 4 and 8 seconds, or the wait Salesloft names,
  up to a minute), then stops. Run the same command again later: it reads your people from the start again, resumes
  the same bulk list and never pays twice. With more than 10,000 people, use `--rate 1`; past about 25,000 people
  the deep pages can cost more than Salesloft allows in a minute even then, so a run may stop at the same depth each
  time.
- `--state FILE`: a state file of your own choosing.
- `--wait-minutes N`: how long to wait for a bulk list to finish (default 240); past it the script stops with exit
  code `75`, and the same command run later collects the list.
- `--new-job`: drop the saved bulk list (once it is no longer running) and start a new one for the people who still
  have no result; their addresses are charged again.

Exit codes: `0` done; `1` a write failed or the run stopped (run it again: nothing is paid twice); `2` wrong options;
`75` the bulk list was still being checked when the script stopped waiting (run it again later to collect it).

## What it writes

Four person custom fields of type **text**, created by the first run when they are missing (an admin can create them
in Salesloft first, as person fields with exactly these names):

| Field | Holds |
|---|---|
| `ev_status` | `valid`, `invalid`, `catch_all`, `unknown` or `disposable` |
| `ev_reason` | the reason, for example `no_mailbox` or `accepted` |
| `ev_checked_at` | when it was checked |
| `ev_address_hash` | a hash of the address the result belongs to, so a changed address is checked again |

Spam traps and complainers are `valid` with a warning reason: see [what each status means](https://email-validation.org/docs/statuses/). Each
result is written by person id, and only while the person, read again just before, still holds the address that was
checked. The write sends only the person's custom fields: the ones the person already had, as read a moment before,
and these four, so the person's other fields and addresses stay as they are. The first write of a run is read back,
and the run stops before any other write if any other custom field changed. A result that could not be written is
kept in a file next to the state file and written by the next run without a new check.

A view of people whose `ev_status` is `invalid` or `disposable` finds the people to leave out of your cadences.

## End the access

Delete the Salesloft API key in Salesloft (**Your Applications** → **API Keys**) and our key on the
[API keys page](https://email-validation.org/app/api-keys/). The four fields stay on your people until you delete them in Salesloft.

## More on Salesloft

- [Salesloft integration](https://email-validation.org/integrations/salesloft/)
