Forms

Formbricks email validation integration

Check the email answers of each Formbricks survey response. A small webhook receiver on your own server verifies each signed delivery, checks the addresses in the answers and hands the verdict to your code.

Read the full setup guideGet an API key

  • Setup guide
  • One file for your server

route.tsNext.js, Workers, Hono, Express

TypeScript
export const POST = createFormbricksWebhook({
  apiKey: process.env.EV_API_KEY,
  webhookSecret: process.env.FORMBRICKS_WEBHOOK_SECRET,
  waitUntil: after,
  onResult: async (r) => { if (r.flagged) await notifyTeam(r); },
});

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 email addresses in Formbricks surveys and want to know, right after a response, when an address is invalid, before it reaches their CRM or follow-up.
You need
A server of yours that runs TypeScript with fetch and Web Crypto, a Formbricks webhook and its signing secret, and an API key made for it, with a daily credit cap. Webhooks are part of Formbricks’ free Community Edition.
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.

  • Hear about bad addresses at once

    Each finished response is checked right after it is stored, and your onResult function gets the verdict: send it to Slack, your CRM or a review queue.

  • Only the answers you choose

    By default every answer that is exactly one address is checked; name question ids, question codes or hidden fields to check only those.

  • Signed deliveries only

    The receiver verifies Formbricks’ signature before it reads anything, so a request that did not come from your webhook starts nothing.

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 the file

    Download email-validation-formbricks.ts from the guide and copy it into your server code. It has no dependencies.

  2. Run the receiver

    Create the receiver with your API key and the webhook secret, and answer Formbricks’ webhook with it.

  3. Add the webhook

    In Formbricks, open Configuration, Integrations, Manage Webhooks, Add Webhook: your receiver’s address, the Response Finished trigger and the surveys to check.

  4. Set the secret

    Copy the signing secret Formbricks shows for the new webhook to your server, then press Test Endpoint again.

Good to know.

  • Formbricks sends the webhook after it has stored the response, so the receiver reports and changes nothing in Formbricks.

  • If our API is slow or down, the address is reported as unchecked and Formbricks still gets its answer at once.

  • Never answer a survey with a test address: a follow-up email to it would bounce. Call createEmailCheck with a test address instead, at no cost.

  • region: 'eu' validates addresses in the EU and stores their results there, with the same key.

Connect Formbricks.

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