# Email by Zapier + Wexlyn Integrations: Connect with Zapier MCP
> zapier.com/apps/email/integrations/wexlyn
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Email by Zapier and Wexlyn 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 · create_lead`.
- **SDK**:

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

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

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

- **CLI**:

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

## Email by Zapier

### Identity
Send and receive email via a custom Zapier email address at "zapiermail.com". This is great for triggering off of emails and sending custom emails. (Max of 10 email sends per hour.)

Have direct access to your own email servers? Check out our IMAP and SMTP services!

- App slug: email
- Operations published here: 3 (2 events, 1 function)

### Capabilities

#### Events (2)

Events fire when something happens in Email by Zapier. Use them to start a run.

##### New Inbound Email
Triggers when an email is forwarded to your own custom  zapiermail.com  address.

- Type: read · Key: `inbound_v2`
- Requires: nothing
- Optional: account_wide_copy, account_wide
- SDK: `runAction({ app: "email", actionType: "read", action: "inbound_v2" })`
- CLI: `npx zapier-sdk run-action email read inbound_v2`

##### New Read Receipt
Triggers when an email that you've enabled read receipts on via our  Send Outbound Email  trigger is opened.

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

#### Functions (1)

Functions change something in Email by Zapier.

##### Send Outbound Email
Send up to 5 emails per day on Free or Trial Zapier plans, or up to 10 emails per hour on paid Zapier plans from a custom  zapiermail.com  address.

- Type: write · Key: `outbound`
- Requires: to, subject, body
- Optional: zap_id, free_test_limitation, file, from_name, reply_to, cc, bcc, force_linebreaks, open_tracking
- SDK: `runAction({ app: "email", actionType: "write", action: "outbound" })`
- CLI: `npx zapier-sdk run-action email write outbound`

## Wexlyn

### Identity
Wexlyn is an ad tracking and revenue attribution tool. Send sales and leads to Wexlyn to see which ads really made money.

- App slug: wexlyn
- Operations published here: 10 (4 events, 4 functions, 1 query, 1 search-or-write action)

### Authentication
Zapier connects to Wexlyn 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 wexlyn
```

### Capabilities

#### Events (4)

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

##### Lead Stage Changed
Triggers when a lead moves to a new stage in Wexlyn, from a call outcome, a sale, the CRM or a Zap.

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

##### New Call Booked
Triggers when a call is booked in Wexlyn, from Calendly, GoHighLevel, iClosed, the API or a Zap.

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

##### New Lead
Triggers when a new lead appears in Wexlyn: an opt-in, a booking or a first sale from someone new.

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

##### New Sale
Triggers when Wexlyn records a sale, from any connected payment tool or the API.

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

#### Functions (4)

Functions change something in Wexlyn.

##### Create or Update Lead
Creates a lead in Wexlyn, or updates the existing one with the same email or phone.

- Type: write · Key: `create_lead`
- Requires: email
- Optional: first_name, last_name, phone, tags, stage, external_id, utm_source, utm_medium, utm_campaign, utm_content, utm_term, fbclid, gclid, ttclid, msclkid, ip, user_agent
- SDK: `runAction({ app: "wexlyn", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action wexlyn write create_lead`

##### Log Call
Records a booked, qualified, showed or closed call against the lead, so call funnels attribute to the ad.

- Type: write · Key: `log_call`
- Requires: email, status
- Optional: first_name, last_name, phone, call_type, scheduled_at, amount, closer, outcome, call_id, notes
- SDK: `runAction({ app: "wexlyn", actionType: "write", action: "log_call" })`
- CLI: `npx zapier-sdk run-action wexlyn write log_call`

##### Send Sale / Conversion
Records a sale in Wexlyn and attributes it to the ad, campaign or link that brought the customer.

- Type: write · Key: `send_sale`
- Requires: email, amount
- Optional: first_name, last_name, phone, currency, product_name, order_id, occurred_at, status, utm_source, utm_medium, utm_campaign, utm_content, utm_term, fbclid, gclid, ttclid, msclkid, ip, user_agent
- SDK: `runAction({ app: "wexlyn", actionType: "write", action: "send_sale" })`
- CLI: `npx zapier-sdk run-action wexlyn write send_sale`

##### Update Lead Stage
Moves a lead to a stage (Qualified, Booked, Closed Won…). Creates the lead first if Wexlyn has never seen them.

- Type: write · Key: `update_lead_stage`
- Requires: stage
- Optional: email, phone, external_id, occurred_at, tags, first_name, last_name, utm_source, utm_medium, utm_campaign, utm_content, utm_term, fbclid, gclid, ttclid, msclkid, ip, user_agent
- SDK: `runAction({ app: "wexlyn", actionType: "write", action: "update_lead_stage" })`
- CLI: `npx zapier-sdk run-action wexlyn write update_lead_stage`

#### Queries (1)

Queries read from Wexlyn and return data. They change nothing.

##### Find Lead
Finds a lead by email (or phone), with their stage, tags and attributed sources.

- Type: search · Key: `find_lead`
- Requires: nothing
- Optional: email, phone
- SDK: `runAction({ app: "wexlyn", actionType: "search", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action wexlyn search find_lead`

#### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Lead
Finds the lead by email, or creates it when nothing matches.

- Type: search_or_write · Key: `find_lead`
- Requires: email
- Optional: phone, first_name, last_name, tags, stage, external_id, utm_source, utm_medium, utm_campaign, utm_content, utm_term, fbclid, gclid, ttclid, msclkid, ip, user_agent
- SDK: `runAction({ app: "wexlyn", actionType: "search_or_write", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action wexlyn search_or_write find_lead`

## Frequently asked questions about automating with Email by Zapier and Wexlyn

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Email by Zapier integrations: zapier.com/apps/email/integrations.md
- Wexlyn integrations: zapier.com/apps/wexlyn/integrations.md
- Full page: zapier.com/apps/email/integrations/wexlyn
- SDK: npmjs.com/package/@zapier/zapier-sdk