CRM

Keap email validation integration

A script you run on your own computer checks the contacts of your Keap account as one bulk list, and a small relay you deploy checks each new or changed contact from Keap’s REST hooks. Both write the verdict into five contact custom fields your saved searches and campaigns can use.

Read the full setup guideGet an API key

  • Setup guide
  • A script and a relay you download

keap.mjsNode 22.18 or later

Terminal
export EV_API_KEY=…  KEAP_API_KEY=…
node keap.mjs --setup
node keap.mjs --dry-run
node keap.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
Businesses who keep their contacts in Keap (formerly Infusionsoft) and want the addresses that will bounce, or should not be mailed at all, marked before a broadcast or campaign sends to them.
You need
An API key of ours (with Bulk lists for the script, off by default), a Keap Personal Access Token or Service Account Key, Node 22.18 or later for the script and a Cloudflare account for the relay.
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, addresses on reserved domains such as example.com and, in a bulk list, repeats of an address (charged once).
Full guide
Read the full setup guide

Typical uses.

  • Leave out the contacts to remove

    Each contact gets ev_status, ev_reason, ev_action, ev_checked_at and ev_address_hash. Spam traps and complainers are valid with the action remove, so build saved searches on ev_action.

  • New contacts within seconds

    The relay receives Keap’s contact.add and contact.edit REST hooks, checks the address and writes the fields; the contact.edit its own write fires checks nothing.

  • The contacts you already have

    The script checks every contact without a verdict for its address as one bulk list; a dry run counts what it would check first.

Set it up. 4 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 Keap’s marketplace: download email-validation-keap.zip from the guide. It holds keap.mjs, relay.mjs and the licence.

  2. Make the Keap key

    In Keap, Settings > API Settings (Keap Classic: the Profile menu > API Settings), then add a Personal Access Token. Keap shows the full key only once.

  3. Create the fields

    node keap.mjs --setup creates the five fields and checks nothing.

  4. Relay, then the script

    Deploy relay.mjs with wrangler and subscribe it with node keap.mjs --hook; then dry-run the script and run it for the contacts you already have.

Good to know.

  • It never deletes a contact, a tag or anything else, and never changes an address or any field but its own five. Tags and opt-outs from marketing email are off by default; tags are only added, and an address is never opted back in.

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

  • Keap signs no hook delivery, so the relay acts only on a secret in the hook’s address: keep that address secret and the Worker’s request logs off.

  • Try it free with a test contact at no_mailbox@sandbox.email-validation.org: that domain receives no mail, so send it nothing, and delete the contact after.

Connect Keap.

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