# Workato + Dizo

> Call Dizo from Workato recipes with the HTTP connector and header auth, or give an Agent Studio genie the Dizo MCP server as an enterprise skill.

Type: REST recipe — base URL `https://api.dizo.ai/v1`. No native app needed.

## Steps
1. Create an HTTP connection: **Connection name** Dizo, pick a **Location**, set **Authentication type** to **Header auth**, add the Authorization header under **Header authorization**, and set **Base URL** to `https://api.dizo.ai/v1`.
2. In a recipe, add the HTTP **Send request** action, choose **Setup manually**, and set **Method** `POST`, a relative **Request URL** such as `/email/find`, and **Request content type** to **JSON request body**.
3. Add an `Idempotency-Key` under **Request headers**, then define the response with **Use JSON**: paste the sample response and click **Generate schema**.
4. Wrap the action in a **Handle errors** step so a free `404` (not found) or a `402` (cap reached) is handled instead of failing the job.
5. Optional: in **AI Hub > Agent Studio**, edit a genie, add an **MCP server** under **Enterprise skills** with **+ Custom MCP server**, and enter `https://mcp.dizo.ai/mcp` as the **MCP Server URL**.

## Where to go
In a recipe, add the **HTTP** connector with Header auth `Authorization: Bearer`.

Open the Workato HTTP connector docs: https://docs.workato.com/en/developing-connectors/http-v2

## HTTP connection
```
Connection name:      Dizo
Location:             <your project>
Authentication type:  Header auth
Header authorization: Authorization: Bearer dz_live_...
Base URL:             https://api.dizo.ai/v1
→ Connect
```

## Send request (Setup manually)
```
Request name:          Find work email
Method:                POST
Request URL:           /email/find
Request content type:  JSON request body
Request body:
  first_name      ← Salesforce Contact: First name
  last_name       ← Salesforce Contact: Last name
  company_domain  ← Account: Website domain
  max_credits     1
Request headers:       Idempotency-Key ← Contact ID
Response body:         Use JSON → paste sample → Generate schema
{"email":{"address":"maya@ledgerline.io","status":"verified"},"person_id":"per_9fK2","credits_used":1}
```

## Genie: custom MCP server
```
AI Hub > Agent Studio > (genie) > Edit
Enterprise skills > + Add > MCP server > + Custom MCP server > Next
Connection name:      Dizo
MCP Server URL:       https://mcp.dizo.ai/mcp
Authentication Type:  Token authentication  (key: dz_live_...)
→ Connect → tick the Dizo tools to use as skills → Done
```

## Notes
- Workato treats non-2xx responses as errors by default, and the job stops unless a Handle errors step catches them. A Dizo `404` is a normal, free not-found result, so plan for it.
- Workato's docs say token authentication for a custom MCP server uses one shared token for every user of the genie. Give that key its own caps and endpoint allow-list.
- Check Workato's docs for the exact input format of the Header authorization field in your workspace.

## Related API docs
- [/docs/email-find](https://dizo.ai/docs/email-find.md)
- [/docs/people-enrich](https://dizo.ai/docs/people-enrich.md)
- [/docs/keys](https://dizo.ai/docs/keys.md)


## What Workato is

Workato is an enterprise automation platform. Teams build recipes, which are triggered workflows that move data between business systems such as a CRM, a marketing platform, a data warehouse and internal tools. It is usually owned by an IT, RevOps or business systems team, and recipes live in projects with shared connections, so one team can run hundreds of automations with consistent credentials.

Workato also has Agent Studio, where you build AI assistants it calls genies. A genie uses skills to act, and Workato's docs describe consuming MCP servers as skills, including custom ones you add by URL. So you have two ways to reach Dizo: a recipe calling the REST API through the HTTP connector, or a genie calling Dizo's MCP server. There is no native Dizo connector in Workato's library; both routes use Workato's general-purpose tools.

## Why connect Workato to Dizo

Enterprise recipes often stall on missing data. A lead arrives without a title. An account has a website but no headcount or industry, so routing rules cannot fire. A contact bounced and nobody knows where the person went. Dizo answers each of these with a single REST call that a recipe can make in the middle of an existing flow, without a separate enrichment tool or another sync to maintain.

The charging rules also fit recipe logic. [Email find](/docs/email-find) costs 1 credit only if found. [Person enrich](/docs/people-enrich) costs 2 credits if matched, plus 1 if you ask for an email and one is found, plus 10 for a phone. Company enrich is 1 credit if matched. Misses are free, so a recipe that processes every new record only pays for the ones that actually come back with data.

## What you can build

These are common starting points. Each one is a single Send request action dropped into a recipe you may already run.

- On new Salesforce lead, call person enrich by email and write title, seniority and department back before assignment rules run.
- On new account, call company enrich with the website domain and fill industry, employees and revenue band for territory routing.
- Nightly, send up to 100 addresses per call to email verify and flag undeliverable contacts before the next campaign sync.
- When an email bounces, call email to profile on the old address and look for the person's current employer.
- For a target account list, call the decision-maker finder with a ranked title list and create contacts for whoever matches.
- In a genie, let a rep ask for the buying committee at an account and have it call Dizo's org chart tool.

## Setting up the HTTP connection

Start with the connection, because every recipe in the project can reuse it. In Workato, create a new HTTP connection. Give it a **Connection name** such as Dizo and choose the project **Location** where it will live. Set **Authentication type** to **Header auth**, then expand **Header authorization** to add your custom header: `Authorization` with the value `Bearer dz_live_...`. Workato also offers a Base URL field; set it to `https://api.dizo.ai/v1`. Workato's docs note that recipes cannot override the base URL, which is a useful guard against a recipe sending your key somewhere else.

Click **Connect**. The credential lives on the connection, so recipe builders pick the connection by name instead of pasting the key into individual steps. If your team separates development and production projects, create two connections: one with a `dz_test_` key, which returns synthetic data and never spends credits, and one with the live key.

Anyone can [sign up](/signup) for a live key. Work email signups get 250 free credits with no card. You can build and test recipes against the test key today.

## Building the Send request action

In a recipe, add an action from the HTTP connector and pick Send request. Workato offers a guided wizard or **Setup manually**; manual is quicker when you already know the endpoint. Give it a **Request name**, choose **Method** `POST`, and enter a relative **Request URL** such as `/email/find`, which is resolved against the base URL on the connection.

Set **Request content type** to **JSON request body** so Workato builds input fields from a schema, or **Raw JSON request body** if you would rather paste a template. Map datapills from the trigger into `first_name`, `last_name` and `company_domain`, and set `max_credits` to a fixed value. Under **Request headers**, click Add header and add `Idempotency-Key` mapped to the source record ID. Dizo never charges twice for the same key within 24 hours, which matters when a failed job is re-run or a recipe is restarted over the same records.

For the response, click **Use JSON**, paste the example response from the endpoint's docs page and click **Generate schema**. The fields, such as `email.address`, `email.status` and `credits_used`, then appear as datapills for the next steps.

## Handling not-found and budget errors

Workato's docs say non-2xx responses are treated as errors by default and stop the job unless a **Handle errors** step catches them. That is correct for real failures but wrong for a Dizo miss. A `404 not_found` from email find simply means no verified address exists, and it costs nothing.

Wrap the Send request action in a Handle errors step. In the error branch, check the error output: if it is a not-found, update the record with a status such as no email found and continue. If it is a `402`, a spend cap or the balance has been reached, so stop the recipe and alert the owner. Dizo error bodies carry `error.code`, a plain-English `error.fix` and `error.retryable`; only retry when retryable is true. Workato also has a **Mark non-2xx response codes as success?** option on the action if you prefer to branch on the response yourself.

## Controlling spend

A recipe that triggers on every new record can spend steadily for months, so put limits on the key itself. In the Dizo console, create one key per Workato connection with a daily cap, a monthly cap, a per-request ceiling and an endpoint allow-list. The [API keys](/docs/keys) reference lists the fields. Keep its scope to `data:read`, so no recipe or genie can top up or change billing.

Before switching a new recipe on, send one request with `"dry_run": true` added to the body. Dizo returns the exact credit quote and spends nothing. For bulk backfills over 50 records, use the batch endpoint, which accepts up to 10,000 lookups per job and calls a webhook when done.

A worked example. A recipe enriches 3,000 new leads a month with person enrich and `include: ["email"]`. If 2,100 match and 1,800 of those return an email, the cost is 4,200 plus 1,800, or 6,000 credits. That is $150 at the $0.025 entry rate, or $126 if the credits come from a single $500 Builder purchase at $0.021. See [pricing](/pricing) for the higher tiers.

## Using Dizo from an Agent Studio genie

To let a genie decide which Dizo tool to call, add the MCP server as a skill. Workato's steps are: go to **AI Hub > Agent Studio**, select the genie and click **Edit**, then in **Enterprise skills** click **+ Add**, choose **MCP server** and click **+ Custom MCP server**. Enter a **Connection name**, a **Location**, and `https://mcp.dizo.ai/mcp` as the **MCP Server URL**.

For **Authentication Type**, Workato lists token authentication, which is header based, and OAuth2, which needs a reference connection. Token authentication is the simpler fit, but Workato's docs say every user of the genie then shares one token. Give that key tight caps. Dizo's MCP connections default to `data:read` and a 500-credit per-call limit unless changed in the console. After Connect, tick only the tools you want as skills, for example `dizo_org_chart`, `dizo_find_email` and `dizo_quote`, and click Done. The full tool list is on the [MCP page](/mcp).

## Troubleshooting and security

**401 Unauthorized.** Check that the header value includes the word Bearer and a space before the key, and that a test key is not on the production connection. **Every miss fails the job.** Add the Handle errors step described above. **Datapills missing.** Regenerate the response schema from a fuller sample. **Throttling.** `GET /v1/me` is free and returns the key's rate limits; for large volumes, move to batch instead of looping over Send request.

Keep keys on connections, never in recipe steps or lookup tables. Use separate keys for separate projects so you can revoke one without touching the others, and rotate keys when team members with connection access leave. For audit purposes, `credits_used` on each response and the `x-dizo-credits-used` header let you log spend per recipe run.

## FAQ

### Is there a Dizo connector in Workato?
No. There is no native Dizo connector or community listing. You use Workato's HTTP connector for recipes, or add Dizo's MCP server to a genie as a custom MCP server.

### Why does my recipe fail when no email is found?
Workato treats non-2xx responses as errors by default. Dizo returns `404` when nothing is found, which is free. Catch it with a Handle errors step and continue the recipe.

### Will Workato retries charge me twice?
Not if you send an `Idempotency-Key` header. Retries with the same key within 24 hours are never charged twice, so map it to the source record ID.

### Should I use the HTTP connector or the genie route?
Use the HTTP connector for predictable, event-driven enrichment where you know which endpoint to call. Use a genie when a person asks open-ended questions and you want the model to pick the right Dizo tool.

### Can a genie spend my whole balance?
Only up to the limits on its key. Set daily and monthly caps, a per-request ceiling and an endpoint allow-list, and keep an account-wide monthly cap. MCP connections also default to a 500-credit per-call limit.

### Which MCP transport does Workato use?
Workato's custom MCP server page does not state the transport. Dizo's server uses streamable HTTP at `https://mcp.dizo.ai/mcp`; check Workato's docs if the connection fails to list tools.
