# Validate Emails in Zoho Forms: Setup Guide

URL: https://email-validation.org/docs/guides/zoho-forms/
Updated: 2026-12-03

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

Check the email address on a Zoho Forms form before the form is submitted. The respondent types an address and clicks
**Check**; a small check endpoint you deploy to your own Cloudflare account checks it with our API, and Zoho Forms
fills three fields from the answer: two that a Deny Submissions rule checks (so an `invalid` or `disposable` address,
or one edited after its check, cannot be submitted), and one saved with the entry, so every entry carries its
address's status. Download it:
[email-validation-zoho-forms.zip](https://email-validation.org/downloads/zoho-forms/email-validation-zoho-forms.zip) holds `relay.mjs` (the
endpoint) and the MIT licence.

## How it works, and its limits

Zoho Forms documents no step that asks another service before it stores an entry, and its webhooks are sent once an
entry is received. Its **Prefill-Webhook** field is the documented way to call a service while the form is filled in,
so the check runs there:

1. The form's Email field is a Prefill-Webhook field. The respondent clicks its **Check** button.
2. Zoho Forms posts the address, from its own servers, to `https://<your endpoint>/<RELAY_TOKEN>`.
3. The endpoint checks it with one call to our API and answers five keys: `decision` (`accept` or `block`),
   `status`, `reason`, `result` (for example `invalid (no_mailbox)`) and `checked` (the address it checked).
4. Zoho Forms puts `decision` into an **Email check** field, `checked` into a **Checked address** field and `result`
   into an **Email validation status** field. A Deny Submissions rule refuses the submission while Email check is
   `block` or empty, or while Checked address is not the address in the Email field, with your message.

| Status | Decision |
|---|---|
| `valid`, `catch_all`, `unknown` | `accept` |
| `invalid`, `disposable` | `block` |
| `not_checked`: our API did not answer, or refused the key (no credits left, the key's daily cap) | `accept`, so the form keeps working (`ON_ERROR=block` to refuse) |
| `not_checked` with the reason `invalid_request`: not something our API can check | `block` |

Limits: only the form's own Submit is held back (an entry added through Zoho's API or an import is not checked), and
the respondent sees the status in the form. Deny Submissions rules and the Advanced Rules that compare two fields are
on Zoho Forms' paid plans, as is the Prefill-Webhook field, whose searches count against Zoho's monthly limit.

## What you need

- An API key of ours from the [API keys page](https://email-validation.org/app/api-keys/) with the permission **Validate addresses**, and a
  [daily credit cap](https://email-validation.org/docs/authentication/#limits): each click on Check is one check. The endpoint reuses a verdict for
  an hour, so a second click on the same address costs nothing.
- A Zoho Forms plan with Prefill fields and Deny Submissions (any paid plan).
- A Cloudflare account to run the endpoint in (and `npx wrangler` if you deploy it from a terminal).

## Deploy the endpoint

From the unzipped folder:

```bash
npx wrangler deploy relay.mjs --name ev-zoho-forms-check --compatibility-date 2026-10-01
npx wrangler secret put EV_API_KEY --name ev-zoho-forms-check    # our API key, with Validate addresses
openssl rand -hex 32                                             # a new secret for the endpoint's address
npx wrangler secret put RELAY_TOKEN --name ev-zoho-forms-check   # paste that secret
```

No terminal? In the [Cloudflare dashboard](https://dash.cloudflare.com/), **Workers & Pages → Create → Create
Worker**, name it `ev-zoho-forms-check`, **Deploy**, then **Edit code**: replace the starter code with the whole of
`relay.mjs` and **Deploy**. Add `EV_API_KEY` and `RELAY_TOKEN` as **Secret** variables under **Settings → Variables
and Secrets**. For `RELAY_TOKEN` without a terminal, use your password manager's generator: 32 or more letters and
digits.

`RELAY_TOKEN` must be at least 32 letters, digits, `-` or `_`. Optional settings (`--var NAME:value`, or Text
variables in the dashboard): `EV_REGION` (`eu` to have addresses validated in the EU and their results stored there),
`BLOCK_STATUSES` (the statuses that block, default `invalid,disposable`; add `catch_all` to be stricter), `ON_ERROR`
(`block` to refuse the submission when no check could be made) and `EMAIL_PARAM` (another key than `email` in the
request body).

## Set up the form

1. **Three status fields.** In the form's Builder, add three **Single Line** fields, `Email check`, `Checked address`
   and `Email validation status`, and in each one's properties set Visibility to **Disable Field** (shown, not
   editable). Prefill Mapping only picks fields already on the form, so they come first.
2. **The Email field.** Open **Prefill** in the fields panel and drag **Prefill-Webhook** onto the form. Field
   Configuration: type **Email** and your label.
3. **Webhook Settings.** Webhook URL `https://ev-zoho-forms-check.<your-subdomain>.workers.dev/<RELAY_TOKEN>`, method
   **POST**, Authorization Type **General**, Request Body **JSON**: `{"email": "${zf:<your Email field>}"}`, with the
   Prefill-Webhook field inserted as the value. Add no URL parameters: the address stays out of URLs and logs.
4. **Test & Verify.** Enter `no_mailbox@sandbox.email-validation.org` (test addresses cost nothing) and run the test:
   the answer shows `decision`, `status`, `reason`, `result` and `checked`.
5. **Prefill Mapping.** **Choose Field** for each of the three fields and map `decision` to Email check, `checked` to
   Checked address and `result` to Email validation status, then **Save**. In the Prefill-Webhook field's properties,
   set the search icon style to **Button** with the Button Label `Check`.
6. **Deny Submissions.** **Rules → Deny Submissions → Configure Now**, and switch to **Advanced Rules** (comparing two
   fields needs them). Deny Submission If **Email check** *Is* `block` OR **Email check** *Is Empty* OR **Checked
   address** *Is Not* the Email field (a Field-to-Field Comparison), with a message such as "Click Check next to your
   email address, or use another address." The values are lowercase, and the rules are case-sensitive.
7. **Try it** in the live form, on a test form with no autoresponder email: `no_mailbox@sandbox.email-validation.org`,
   **Check**, then **Submit**: your message shows and nothing is stored. Then check
   `accepted@sandbox.email-validation.org`, change the address and submit: refused too. Test addresses receive no
   mail, so never let a form that sends an autoresponder accept one.

## Who can call the endpoint

Zoho Forms signs nothing, so the secret part of the endpoint's address keeps others out: keep it like a key. Zoho
calls it from its servers, so respondents never see it; anyone who can edit the form's Prefill-Webhook settings can.
Anything sent to another address gets `401` and costs nothing; a body that is not JSON, or without the `email` key,
gets `400`. The endpoint logs one line per check (the decision, status, reason and request id), never an address or a
key.

It has not run against a real Zoho Forms account yet: it is built from Zoho Forms' public help pages and tested
against the requests they describe. Try it on a test form first.

## More on Zoho Forms

- [Zoho Forms email validation integration](https://email-validation.org/integrations/zoho-forms/)
