# Workato Connector

URL: https://email-validation.org/docs/guides/workato/
Updated: 2026-11-25

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

Check email addresses in Workato recipes with our custom connector: when a form is submitted, a contact is created or
a row is added, check the address and decide what happens next. Each check returns one of five statuses (`valid`,
`invalid`, `catch_all`, `unknown`, `disposable`), the reason, and what to do with the address (`send`,
`send_with_caution`, `remove`, `retry_later`). The connector also runs bulk lists and reads your credit balance.

It is one Ruby file for Workato's Connector SDK, which you paste into your own workspace. Download it:
[connector.rb](https://email-validation.org/downloads/workato/connector.rb) (MIT licence, SHA-256
`db13ed581c6e49996e4ebb9bd17aaa349bcf10e24deb72999bf492fd477e786b`).

We ran it with Workato's own Connector SDK gem against a stand-in for our API. It has not run in a Workato workspace
yet, so menu names below follow Workato's documentation and can differ a little in yours.

## Add the connector

You need a Workato workspace where you can use the Connector SDK.

1. Create a key on the [API keys page](https://email-validation.org/app/api-keys/) with **Validate addresses** and **Read balance and usage** (both
   on by default; the connection test reads your balance), and **Bulk lists** for the bulk actions. Give it a
   [daily credit cap](https://email-validation.org/docs/authentication/#limits).
2. In Workato, open **Tools > Connector SDK** and click **New connector**. As the starting point, pick the Workato
   template (not the OpenAPI import) and click **Next**; add a description if you like, then click **Go to editor**.
3. Paste the whole of `connector.rb` into the code editor (**Source code**), in place of the template's code, and save.
4. **Release** the version: recipes use the released version of a custom connector.
5. In a recipe, pick the connector **email-validation.org**, paste your API key, pick the API host (`api.email-validation.org`,
   or `api-eu.email-validation.org` for [EU data residency](https://email-validation.org/docs/eu-data-residency/); the same keys and credits) and click **Connect**. The
   connection test reads your credit balance, which is free.

## Check an address

Add the action **Validate email** after your trigger and map the address into **Email**. Try it with
`accepted@sandbox.email-validation.org`: it returns **Status** `valid` and costs nothing (every
[test address](https://email-validation.org/docs/test-addresses/) is free). Then add an **IF** step on **Status**, or on **Action** is `remove`.

Each run of the step is one check and one credit; `unknown` results, malformed and test addresses are free. If you
rerun a job, or a **Monitor** block retries the step, the address is checked again. The connector itself never
re-sends a request.

## Actions

| Action | What it does |
|---|---|
| Validate email | Checks one address: status, reason, recommended action and the other [result fields](https://email-validation.org/docs/api/validate/#response). |
| Get credit balance | Your balance and credit lots. Free. |
| Create bulk job | A [bulk list](https://email-validation.org/docs/bulk/) from addresses (one per line, or separated by commas; up to 100,000) or from the text of a CSV file. |
| Start bulk job | Starts a job created with **Start right away** off, once its list has been analyzed. Safe to run twice. |
| Get bulk job | The job's status, progress and counts. Free. |
| Wait for bulk job to finish | Reads the job about once a minute until it ends. Free. |
| Cancel bulk job | Stops a job that has not finished. |
| Download bulk results | The results file of a completed job, as CSV text. Free. |

## Check a whole list

1. **Create bulk job** with the addresses or the text of a CSV file. To use a list of addresses from an earlier step,
   join it into one text with a formula first.
2. **Wait for bulk job to finish**: it reads the job about once a minute, for up to **60 minutes** by default and
   **90** at most (**Wait at most (minutes)**). If the job is still running then, the step fails with `[timeout]`:
   add a second Wait step.
3. If **Status** is `completed`, **Download bulk results** gives the result file as CSV text, to save with a file step
   or read with a CSV parser.

Leave **Create bulk job** out of any retry: the API cannot tell a re-sent list from a new one. If it fails with a
timeout or a server error, look under [Bulk lists](https://email-validation.org/app/bulk/) before running it again, because the list may exist and
may already have started. For a create you can safely retry, set **Start right away** to no and start the job with
**Start bulk job**. A new list is analyzed first; while it is, the step reads the job about once a minute, for up to
60 minutes, and starts it when the analysis is done. Running it again never starts or charges a job twice.

The connector has no trigger for finished lists yet: wait for a list with **Wait for bulk job to finish**.

## Errors

A failed step's error message starts with our error code in brackets, then the message, the HTTP status and the
request id (quote it to support), for example:

```
[insufficient_credits] Not enough credits. Buy a pack to continue. Nothing was charged. Buy credits in the dashboard, then rerun the job. (HTTP 402, request req_7Hq2LmX9cV4bN8tR1zK6wD)
```

Put the step in a **Monitor** block and, in its **On error** branch, test whether **Error message** contains the code,
for example `[insufficient_credits]`. Retry only errors that charge nothing, such as `[rate_limited]` and
`[service_unavailable]`.

## Your data in Workato

The connector sends your key only to our API hosts, in the `Authorization` header, and never puts an address in a URL.
Workato's job history keeps each step's input and output, including the addresses you check, for your workspace's
retention period, and the address is usually in your trigger's data and other steps too. If your plan offers it, turn
on **Mask data** for the trigger and every step that carries addresses (Workato still stores the trigger's event data
to rerun jobs), or set the recipe to keep no job data. The API key is a password field of the connection and does not
appear in job data.

## More on Workato

- [Workato integration](https://email-validation.org/integrations/workato/)
