CRM

Close integration

A script you run on your own computer reads every Close contact, checks the addresses as one bulk list and writes each result into four contact custom fields, so a Smart View can leave out the addresses you should not mail.

Read the full setup guideGet an API key

  • Setup guide
  • A script you download

close.mjsNode 22.18 or later

Terminal
export CLOSE_API_KEY=… EV_API_KEY=…
node close.mjs --dry-run
node close.mjs

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
Sales teams who run sequences from Close and want the contacts that will bounce, or should not be mailed at all, marked where a Smart View can leave them out.
You need
Node 22.18 or later, an API key of ours (with Bulk lists for more than 50 contacts), and a Close API key (Settings → Developer → API Keys) whose user can see and edit all leads and, for the first run, manage the organization, since that run creates the four fields.
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.

  • Leave out the bad addresses

    Each contact gets ev_status, ev_reason, ev_checked_at and ev_address_hash. A Smart View on ev_status finds the invalid and disposable ones.

  • Check new contacts daily

    Each run checks only contacts whose address has no result yet, so a daily run gives every new or changed address a result within a day.

  • Nothing else changes

    It writes only its four fields, by contact id, and only while the contact still holds the address it checked. It never deletes, merges or changes an address.

Set it up. 3 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 unzip

    It is not on a marketplace: download email-validation-close.zip from the guide. It holds close.mjs and the licence.

  2. Make a Close API key

    In Close, Settings → Developer → API Keys. The key acts as your user.

  3. Dry run, then run

    node close.mjs --dry-run counts what it would check and changes nothing. Run it again without --dry-run: it does not ask before it spends.

Good to know.

  • Run the same command again after any stop and it resumes the same bulk list without paying twice (within the 30 days a list is kept). It prints ids and counts, never an address or a key.

  • Close limits each key and each organization; the script sends 3 requests a second by default (--rate, at most 10) and waits what Close asks, up to a minute per wait; if Close still refuses, it stops and the same command resumes.

  • --region eu checks and keeps the list in the EU, with the same key.

Connect Close.

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