# OptinMagic + Clearout Integrations: Connect with Zapier MCP
> zapier.com/apps/optinmagic/integrations/clearout
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate OptinMagic and Clearout in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · action`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "clearout", owner: "me" });

const { data } = await zapier.runAction({
  app: "clearout",
  actionType: "write",
  action: "action",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action clearout write action \
  --inputs '{}'
```

## OptinMagic

### Identity
Grow your mailing list. Turn traffics into sales and keeps them coming back to you with new offers and promotional emails.

- App slug: optinmagic
- Operations published here: 1 (1 event)

### Authentication
Zapier connects to OptinMagic via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection optinmagic
```

### Capabilities

#### Events (1)

Events fire when something happens in OptinMagic. Use them to start a run.

##### New Contact
Triggers when a new contact is added in OptinMagic.

- Type: read · Key: `contact`
- Requires: nothing
- Optional: campaign_id
- SDK: `runAction({ app: "optinmagic", actionType: "read", action: "contact" })`
- CLI: `npx zapier-sdk run-action optinmagic read contact`

## Clearout

### Identity
Clearout is an email validation and verification service that helps you eliminate bounces, prevent fraudulent signups, and protect your brand's reputation.

- App slug: clearout
- Operations published here: 9 (9 functions)

### Authentication
Zapier connects to Clearout via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection clearout
```

### Capabilities

#### Functions (9)

Functions change something in Clearout.

##### Email – Verify Email Address
Determine the current state of an email address, including whether it is valid, invalid, catch-all, disposable, free account, spamtrap, or toxic, and if it is safe to send.

- Type: write · Key: `action`
- Requires: emailaddress
- Optional: timeout
- SDK: `runAction({ app: "clearout", actionType: "write", action: "action" })`
- CLI: `npx zapier-sdk run-action clearout write action`

##### Domain – Check Domain Expiry
Convenience API to return the domain's expiry date time. Useful to monitor and alert the domain owner

- Type: write · Key: `domain_expiry`
- Requires: domain_name
- Optional: timeout
- SDK: `runAction({ app: "clearout", actionType: "write", action: "domain_expiry" })`
- CLI: `npx zapier-sdk run-action clearout write domain_expiry`

##### Domain – Find MX Records
Convenience API to find and return the MX records for a domain in higher priority order

- Type: write · Key: `domain_mx`
- Requires: domain_name
- Optional: timeout
- SDK: `runAction({ app: "clearout", actionType: "write", action: "domain_mx" })`
- CLI: `npx zapier-sdk run-action clearout write domain_mx`

##### Domain – Find WHOIS Record
Convenience API to find and return the Whois record for the domain in JSON format

- Type: write · Key: `find_domain_whois_record`
- Requires: domain_name
- Optional: timeout
- SDK: `runAction({ app: "clearout", actionType: "write", action: "find_domain_whois_record" })`
- CLI: `npx zapier-sdk run-action clearout write find_domain_whois_record`

##### Email – Find Email Address
Retrieve verified email address from a person's name and a company.

- Type: write · Key: `find_email`
- Requires: first_name, domain
- Optional: last_name, timeout
- SDK: `runAction({ app: "clearout", actionType: "write", action: "find_email" })`
- CLI: `npx zapier-sdk run-action clearout write find_email`

##### Email – Check Business Address
Determine whether an email address belongs to Business or Work or Professional.

- Type: write · Key: `is_business_emai`
- Requires: emailaddress
- Optional: timeout
- SDK: `runAction({ app: "clearout", actionType: "write", action: "is_business_emai" })`
- CLI: `npx zapier-sdk run-action clearout write is_business_emai`

##### Email – Check CatchAll
Determine email address is accept-all or not.

- Type: write · Key: `is_catch_all_action`
- Requires: emailaddress
- Optional: timeout
- SDK: `runAction({ app: "clearout", actionType: "write", action: "is_catch_all_action" })`
- CLI: `npx zapier-sdk run-action clearout write is_catch_all_action`

##### Email – Check Disposable Address
Determine email address is throw away or short live address

- Type: write · Key: `is_disposable_action`
- Requires: emailaddress
- Optional: timeout
- SDK: `runAction({ app: "clearout", actionType: "write", action: "is_disposable_action" })`
- CLI: `npx zapier-sdk run-action clearout write is_disposable_action`

##### Email – Check Role-Based Address
Determine email address is role or group (postmaster, support, sales, etc.) account instead of a person

- Type: write · Key: `is_role_email_action`
- Requires: emailaddress
- Optional: timeout
- SDK: `runAction({ app: "clearout", actionType: "write", action: "is_role_email_action" })`
- CLI: `npx zapier-sdk run-action clearout write is_role_email_action`

## Links
- OptinMagic integrations: zapier.com/apps/optinmagic/integrations.md
- Clearout integrations: zapier.com/apps/clearout/integrations.md
- Full page: zapier.com/apps/optinmagic/integrations/clearout
- SDK: npmjs.com/package/@zapier/zapier-sdk