Integrations

Mailchimp integration

Check the members of a Mailchimp audience and tag each one with its result, such as ev:valid or ev:remove, so segments and journeys can leave out the addresses you should not mail. A Node sync command cleans a whole audience as one bulk list, and a webhook relay or an OAuth app you run checks each new subscriber within seconds.

  • Status: Setup guide
  • Tags your segments can use

Clean an audienceSync command

Terminal
export EV_API_KEY=…  MAILCHIMP_API_KEY=…
node sync.mjs --list a6b5da1054 --dry-run    # counts what it would check
node sync.mjs --list a6b5da1054              # checks and tags
node sync.mjs --list a6b5da1054 --suppress   # also archives members to remove

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
Mailchimp users who want an audience cleaned before the next campaign, and every new subscriber checked as it joins, without exporting and importing lists.
You need
Your audience id, a Mailchimp API key (or, for the OAuth app, an app registered in Mailchimp), Node 22.18 or later for the sync command, a Cloudflare account for the relay or the app, and an API key made for it, with a daily credit cap. The sync command also needs the permission Bulk lists, which is off by default.
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.

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.

  1. Create a key

    Create an API key with Validate addresses and Bulk lists, and a daily credit cap. Find your audience id under Audience, Settings, Audience name and defaults.

  2. Clean the audience

    With your keys in EV_API_KEY and MAILCHIMP_API_KEY, run node sync.mjs --list with your audience id, first with --dry-run to see the counts.

  3. Deploy the relay

    Deploy relay.js to your Cloudflare account with wrangler, with the secrets EV_API_KEY, MAILCHIMP_API_KEY and a RELAY_SECRET of at least 32 random letters and digits. Or deploy the OAuth app instead, as the guide shows.

  4. Add the webhook

    In Mailchimp, open Audience, Settings, Webhooks, Create New Webhook: the relay’s address followed by / and your relay secret as the callback URL, Subscribes as the only event, and all three sources.

  5. Check it once

    Add a test contact with no_mailbox@sandbox.email-validation.org: within a few seconds it has the tags ev:invalid and ev:remove. Then archive it, and keep it out of campaigns until then.

Good to know.

Updated · Maintained by the email-validation.org team