Forms

Fillout email validation integration

A script you run on your own computer checks the email answers a Fillout form already has, as one bulk list above 50, asks before it spends and writes a CSV you match up by submission id. A small relay you deploy to your own Cloudflare account checks each new submission from Fillout’s webhook and reports the result.

Read the full setup guideGet an API key

  • Setup guide
  • A script and a relay you download

fillout.mjsNode 22.18 or later

Terminal
export FILLOUT_API_KEY=…  EV_API_KEY=…
node fillout.mjs --list
node fillout.mjs --form f7Ab2cD9eF --dry-run
node fillout.mjs --form f7Ab2cD9eF

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 collect sign-ups, leads or registrations with Fillout and want to know which addresses will bounce before they follow up, without changing the form itself.
You need
Node 22.18 or later for the script, an API key of ours (Validate addresses; Bulk lists, off by default, for more than 50 answers) and a Fillout API key, which the script only reads with. For the relay, a Cloudflare account to run it in and a webhook secret of at least 32 characters.
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.

  • Clean a form’s submissions

    The script reads a form’s finished submissions, shows how many addresses it would check, the most credits that can use and your balance, and checks only after you say yes.

  • Know before you follow up

    The relay checks each new submission a few seconds after Fillout’s webhook delivers it, and reports each Email answer’s status, reason and action in its log, at a URL of yours or in Slack.

  • Hear only about problems

    Set NOTIFY_ON to problems, and your URL and Slack get only the results whose action is not send.

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.

Read the full setup guide

  1. Download and unzip

    Download email-validation-fillout.zip from the guide. It holds fillout.mjs, relay.mjs and the licence.

  2. Find the form and dry-run it

    Set FILLOUT_API_KEY and EV_API_KEY, run node fillout.mjs --list, then node fillout.mjs --form <form id> --dry-run: it counts what it would check and spends nothing.

  3. Run it

    Run it again without --dry-run: it shows the credits, asks, then writes the results file. Run the same command later and it checks only new submissions.

  4. Deploy the relay

    Deploy relay.mjs with npx wrangler deploy, add EV_API_KEY and FILLOUT_WEBHOOK_SECRET as secrets, then add a webhook to the form in Fillout (Integrate, Webhook, Simple mode) with the relay’s address and the same secret as its path.

  5. Test it

    With any email to the respondent turned off, submit the form once with no_mailbox@sandbox.email-validation.org: the Worker’s log shows invalid with the reason no_mailbox, at no cost.

Good to know.

  • Fillout has stored a submission when its webhook fires, so the relay reports a bad address a few seconds later but cannot refuse or undo the submission.

  • Fillout’s API has no call that edits a submission, so nothing is written to Fillout: the reports and the CSV carry the submission id instead, and the CSV holds no addresses.

  • Fillout does not sign its webhooks, so the secret is the path of the relay’s address: the relay refuses every delivery to any other address and never logs it.

  • Act on the action rather than the status: spam traps and known complainers are valid with the action remove.

  • --region eu validates in the EU, with the same key, and --fillout-region eu reads a Fillout organization hosted in Fillout’s EU region. The relay takes EV_REGION=eu and stores only results there.

  • It has not run against a real Fillout account yet: it is built from Fillout’s public documentation and tested against an organization in memory. Try it on a test form first.

Connect Fillout.

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