# n8n + Dizo

> Call Dizo from an n8n HTTP Request node to enrich leads, find emails and route results anywhere in your workflow.

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

## Steps
1. Create a Header Auth credential: name `Authorization`, value `Bearer dz_live_...`.
2. Add an HTTP Request node: POST, URL below, JSON body from the previous node.
3. Branch on the response status: `404` means not found (and not charged).

## HTTP Request node
```
Method:          POST
URL:             https://api.dizo.ai/v1/email/find
Authentication:  Generic → Header Auth (Dizo)
Send Headers:    Idempotency-Key = {{ $json.id }}
Body (JSON):
{
  "first_name": "{{ $json.first_name }}",
  "last_name": "{{ $json.last_name }}",
  "company_domain": "{{ $json.domain }}",
  "max_credits": 1
}
Options → Response → Never error (handle 404 as "not found")
```

## Notes
- Set the Idempotency-Key from the source record id so retries are never charged twice.
- n8n can also use MCP through its MCP Client Tool node in AI Agent workflows.

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