# Botpress Email Validation Integration

URL: https://email-validation.org/integrations/botpress/
Updated: 2026-12-05

> Documentation index: https://email-validation.org/llms.txt

An Execute Code card checks the email address your Botpress bot just asked for and writes the verdict to Workflow variables, so the bot can ask again at once when the address cannot receive mail or is a throwaway inbox. When a check cannot be made, the conversation carries on as if the card were not there.

[Read the full setup guide](https://email-validation.org/docs/guides/botpress/) [Get an API key](https://email-validation.org/signin/)

- Status: Setup guide
- One file, pasted into an Execute Code card

**Expression card** After the Execute Code card

Condition

```text
workflow.emailDecision === 'flagged'

emailDecision     flagged, allowed or unchecked
emailStatus       valid, invalid, catch_all, unknown, disposable
emailReason       our reason, or why it was not checked
emailSuggestion   Did you mean …? (when there is one)
```

## 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**: Botpress bots that collect a lead’s or a customer’s email address in a conversation and should ask again, rather than save an address that cannot receive mail or a throwaway inbox.
- **You need**: A bot in Botpress Studio where you can add cards and configuration variables, a Capture Information card that asks for the address, and an [API key](https://email-validation.org/app/api-keys/) made for it, with a [daily credit cap](https://email-validation.org/docs/authentication/#limits).
- **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](https://email-validation.org/docs/guides/botpress/)

## Typical uses.

- **Ask again for a dead address**: An invalid result sends the conversation back to ask for the address, with the corrected address the API suggests when there is one.
- **Keep throwaway inboxes out**: Disposable addresses are flagged by default, so a lead you save is one you can reach later.
- **Choose what to flag**: Flag catch-all or unknown results too, or let throwaway inboxes through: one line at the top of the card.

## Set it up. 4 steps.

The short version of the [full setup guide](https://email-validation.org/docs/guides/botpress/), which stays the reference when a step does not match what you see.

1. **Add your key**: In Bot Settings, add the configuration variable `EMAIL_VALIDATION_API_KEY` with your API key. Botpress keeps it encrypted.
2. **Paste the card**: Create the four Workflow variables the card writes, then add an Execute Code card after the Capture Information card and paste check-email.js from the guide.
3. **Branch on the verdict**: Add an Expression card with `workflow.emailDecision === 'flagged'`, connected to a node that asks again.
4. **Try it**: In the Emulator, give `no_mailbox@sandbox.email-validation.org`: the bot asks again, at no cost.

## Good to know.

- The card sends one request and never resends it; it waits 10 seconds at most by default.
- With no answer in time, a wrong key, no credits or any error, the address is unchecked and the conversation carries on. The card never stops a conversation.
- An unknown result caused by our side, a timeout or an internal error, is never flagged, whatever you choose to flag. A result marked disposable is flagged while disposable is on the list, whatever its status.
- The card sends only the email address, to our US or EU host: not the conversation or the person’s name.

## Related

- [The full Botpress setup guide](https://email-validation.org/docs/guides/botpress/)
- [Every setting of the card](https://email-validation.org/docs/guides/botpress/#settings)
- [What happens when a check cannot be made](https://email-validation.org/docs/guides/botpress/#fail-open)
- [Sign-up form validation](https://email-validation.org/docs/guides/signup-form-validation/)
- [ChatGPT email validation integration](https://email-validation.org/integrations/chatgpt/)
- [Claude email validation integration](https://email-validation.org/integrations/claude/)
- [All integrations](https://email-validation.org/integrations/)
