Sales outreach
Instantly integration
A script you run on your own computer checks the leads of an Instantly campaign or lead list as one bulk list and writes each lead’s status into its custom variables, so your campaigns can leave out the leads you should not mail. It tells you the most it will cost and asks before it spends anything.
Read the full setup guideGet an API key
- Setup guide
- One file you download and run with Node
export EV_API_KEY=… INSTANTLY_API_KEY=…
node instantly.mjs --lists
node instantly.mjs --campaign <id> --dry-run
node instantly.mjs --campaign <id>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
- Teams who send cold outreach from Instantly and want to know which leads will bounce, or should not be mailed at all, before a campaign sends.
- You need
- Node 22.18 or later, an API key of ours with the Bulk lists permission (off by default: turn it on when you create the key), and an Instantly plan with API access (its paid plans; not listed for the free trial) with an API key that can read campaigns, lead lists and leads and update leads. It never needs a delete scope.
- 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.
Clean a campaign before it sends
Each lead gets email_validation_status and email_validation_action. Leave out the leads whose action is remove, which also covers spam traps and complainers.
See the cost first
A dry run shows the leads it would check, the distinct addresses and the most credits it would use, and spends nothing. A real run asks before it spends.
Check new leads on a schedule
Run it again with --yes: it checks only the leads with no status for their address now, or the status unknown, and resumes a stopped run without paying twice (within the 30 days a list is kept).
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.
Download the script
It is not on a marketplace: download instantly.mjs from the guide. It is one file with no dependencies.
Create both keys
Create an API key of ours with Bulk lists (add Read balance and usage to see your balance), and an Instantly API key in Settings, Integrations, API Keys.
Find the campaign
Set
EV_API_KEYandINSTANTLY_API_KEY, then runnode instantly.mjs --listsfor your campaigns and lead lists with their ids.Dry run, then run
Run
node instantly.mjs --campaign <id> --dry-runto see the cost, then without--dry-runto check the leads and write their statuses.
Good to know.
It never deletes a lead, never removes one from a campaign or list, and never changes any other field: every other variable keeps its value.
Bounced and unsubscribed leads are skipped unless you ask for them, and duplicates, malformed addresses and unknown results cost nothing.
It prints counts, ids and the campaign’s name, never an address or a key.
--region euchecks and keeps the list in the EU, with the same key.
Connect Instantly.
Test it on our sandbox addresses for free, then on your own contacts.
Updated · Maintained by: Email Validation LLC