---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Commas + Resend Integrations: Connect with Zapier MCP
> zapier.com/apps/commas/integrations/resend
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Commas and Resend 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).

## 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** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `commas` and `resend`, then `enable_zapier_action`. If Commas or Resend isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **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**: once Add Contact to Segment is enabled, call `resend_add_contact_to_segment`. Each operation below lists its MCP tool name.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "resend",
  actionType: "write",
  action: "add_contact_segment",
  connection: connection.id,
  inputs: {
    contact_id: "", // Contact Id
    segment_id: "", // Segment Id
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action resend write add_contact_segment \
  --inputs '{"contact_id":"","segment_id":""}'
```

## Commas

### Identity
Commas is a platform to create, sell, and get paid. From your first dollar to your next comma.

- App slug: commas
- Operations published here: 25 (25 events)

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

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 commas
```

### Capabilities

#### Events (25)

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

##### Charge Disputed
Triggers when any transaction is disputed by the customer.

- Type: read · Key: `dispute_create`
- Requires: nothing
- MCP tool: `commas_charge_disputed` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "dispute_create" })`
- CLI: `npx zapier-sdk run-action commas read dispute_create`

##### Dispute Lost
Triggers when a disputed is marked lost.

- Type: read · Key: `dispute_lost`
- Requires: nothing
- MCP tool: `commas_dispute_lost` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "dispute_lost" })`
- CLI: `npx zapier-sdk run-action commas read dispute_lost`

##### Dispute Won
Triggers when a dispute is marked won.

- Type: read · Key: `dispute_won`
- Requires: nothing
- MCP tool: `commas_dispute_won` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "dispute_won" })`
- CLI: `npx zapier-sdk run-action commas read dispute_won`

##### Qualify Leads
Triggers when a Lead is Qualified.

- Type: read · Key: `enriched_leads`
- Requires: nothing
- MCP tool: `commas_qualify_leads` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "enriched_leads" })`
- CLI: `npx zapier-sdk run-action commas read enriched_leads`

##### Failed Payments
Triggers when any payment fails on FanBasis.

- Type: read · Key: `failed_payments`
- Requires: nothing
- MCP tool: `commas_failed_payments` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "failed_payments" })`
- CLI: `npx zapier-sdk run-action commas read failed_payments`

##### Joined Discord
Triggers when a user joins discord server.

- Type: read · Key: `joined_discord`
- Requires: nothing
- MCP tool: `commas_joined_discord` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "joined_discord" })`
- CLI: `npx zapier-sdk run-action commas read joined_discord`

##### Manual Transactions
Triggers when any manual transactions is done

- Type: read · Key: `manual_transactions`
- Requires: nothing
- MCP tool: `commas_manual_transactions` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "manual_transactions" })`
- CLI: `npx zapier-sdk run-action commas read manual_transactions`

##### New Sale
Triggers when any new or recurring sale occurs in FanBasis.

- Type: read · Key: `new_sale`
- Requires: nothing
- MCP tool: `commas_new_sale` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "new_sale" })`
- CLI: `npx zapier-sdk run-action commas read new_sale`

##### Referral Commission
Triggers when a referral commission is added to wallet.

- Type: read · Key: `referral_commission`
- Requires: nothing
- MCP tool: `commas_referral_commission` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "referral_commission" })`
- CLI: `npx zapier-sdk run-action commas read referral_commission`

##### Refund Issued
Triggers when any refund issued on FanBasis.

- Type: read · Key: `refund_issued`
- Requires: nothing
- MCP tool: `commas_refund_issued` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "refund_issued" })`
- CLI: `npx zapier-sdk run-action commas read refund_issued`

##### Subscription Cancelled
Triggers when any subscription is cancelled.

- Type: read · Key: `subscription_cancelled`
- Requires: nothing
- MCP tool: `commas_subscription_cancelled` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "subscription_cancelled" })`
- CLI: `npx zapier-sdk run-action commas read subscription_cancelled`

##### Subscription Extended
Triggers when any subscription is extended.

- Type: read · Key: `subscription_extended`
- Requires: nothing
- MCP tool: `commas_subscription_extended` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "subscription_extended" })`
- CLI: `npx zapier-sdk run-action commas read subscription_extended`

##### Subscription Past Due
Subscription Past Due

- Type: read · Key: `subscription_past_due`
- Requires: nothing
- MCP tool: `commas_subscription_past_due` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "subscription_past_due" })`
- CLI: `npx zapier-sdk run-action commas read subscription_past_due`

##### Subscription Recovered
Subscription Recovered

- Type: read · Key: `subscription_recovered`
- Requires: nothing
- MCP tool: `commas_subscription_recovered` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "subscription_recovered" })`
- CLI: `npx zapier-sdk run-action commas read subscription_recovered`

##### Subscription Renewal
Triggers when any subscription is auto-renewed.

- Type: read · Key: `subscription_renewal`
- Requires: nothing
- MCP tool: `commas_subscription_renewal` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "subscription_renewal" })`
- CLI: `npx zapier-sdk run-action commas read subscription_renewal`

##### Webinar Attends Replay
Triggers when a Webinar Attends Replay

- Type: read · Key: `webinar_attends_replay`
- Requires: nothing
- MCP tool: `commas_webinar_attends_replay` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "webinar_attends_replay" })`
- CLI: `npx zapier-sdk run-action commas read webinar_attends_replay`

##### Webinar CTA Clicked
Triggers when an attendee clicks an offer, booking or file CTA during a webinar.

- Type: read · Key: `webinar_cta_clicked`
- Requires: nothing
- MCP tool: `commas_webinar_cta_clicked` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "webinar_cta_clicked" })`
- CLI: `npx zapier-sdk run-action commas read webinar_cta_clicked`

##### Webinar Offer Purchased
triggers when a Offer Purchase

- Type: read · Key: `webinar_offer_purchased`
- Requires: nothing
- MCP tool: `commas_webinar_offer_purchased` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "webinar_offer_purchased" })`
- CLI: `npx zapier-sdk run-action commas read webinar_offer_purchased`

##### Webinar Poll Answered
Triggers when an attendee answers a poll during a webinar.

- Type: read · Key: `webinar_poll_answered`
- Requires: nothing
- MCP tool: `commas_webinar_poll_answered` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "webinar_poll_answered" })`
- CLI: `npx zapier-sdk run-action commas read webinar_poll_answered`

##### Webinar Registration Attended
Triggers when a Webinar Registration Attended

- Type: read · Key: `webinar_registrant_attended`
- Requires: nothing
- MCP tool: `commas_webinar_registration_attended` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "webinar_registrant_attended" })`
- CLI: `npx zapier-sdk run-action commas read webinar_registrant_attended`

##### New Webinar Registration
triggers when a New Webinar Registration

- Type: read · Key: `webinar_registrant_created`
- Requires: nothing
- MCP tool: `commas_new_webinar_registration` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "webinar_registrant_created" })`
- CLI: `npx zapier-sdk run-action commas read webinar_registrant_created`

##### Webinar Registration No-Show
Triggers when a Webinar Registration No-Show

- Type: read · Key: `webinar_registrant_no_show`
- Requires: nothing
- MCP tool: `commas_webinar_registration_no-show` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "webinar_registrant_no_show" })`
- CLI: `npx zapier-sdk run-action commas read webinar_registrant_no_show`

##### Webinar Registration Joins After
Triggers when a Webinar Registration Joins After

- Type: read · Key: `webinar_registration_joins_after`
- Requires: threshold_minutes
- MCP tool: `commas_webinar_registration_joins_after` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "webinar_registration_joins_after" })`
- CLI: `npx zapier-sdk run-action commas read webinar_registration_joins_after`

##### Webinar Registration Leaves Before
Triggers when a Webinar Registration Leaves Before

- Type: read · Key: `webinar_registration_leaves_before`
- Requires: threshold_minutes
- MCP tool: `commas_webinar_registration_leaves_before` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "webinar_registration_leaves_before" })`
- CLI: `npx zapier-sdk run-action commas read webinar_registration_leaves_before`

##### Webinar Registration Stays Until
Triggers when a Webinar Registration Stays Until

- Type: read · Key: `webinar_registration_stays_until`
- Requires: threshold_minutes
- MCP tool: `commas_webinar_registration_stays_until` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "commas", actionType: "read", action: "webinar_registration_stays_until" })`
- CLI: `npx zapier-sdk run-action commas read webinar_registration_stays_until`

## Resend

### Identity
Resend is the email API for developers. It's designed for you to build, test, and send transactional and marketing emails at scale.

- App slug: resend
- Operations published here: 7 (7 functions)

### Authentication
Zapier connects to Resend 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 resend
```

### Capabilities

#### Functions (7)

Functions change something in Resend.

##### Add Contact to Segment
Add an existing contact to a segment.

- Type: write · Key: `add_contact_segment`
- Requires: contact_id, segment_id
- MCP tool: `resend_add_contact_to_segment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "resend", actionType: "write", action: "add_contact_segment" })`
- CLI: `npx zapier-sdk run-action resend write add_contact_segment`

##### Create Contact
Create a contact on a Resend audience

- Type: write · Key: `create_contact`
- Requires: email
- Optional: first_name, last_name, unsubscribed
- MCP tool: `resend_create_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "resend", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action resend write create_contact`

##### Create Segment
Create a Segment in your Resend team

- Type: write · Key: `create_segment`
- Requires: name
- MCP tool: `resend_create_segment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "resend", actionType: "write", action: "create_segment" })`
- CLI: `npx zapier-sdk run-action resend write create_segment`

##### Remove Contact From Segment
Remove an existing contact from a segment.

- Type: write · Key: `delete_contact_segment`
- Requires: contact_id, segment_id
- MCP tool: `resend_remove_contact_from_segment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "resend", actionType: "write", action: "delete_contact_segment" })`
- CLI: `npx zapier-sdk run-action resend write delete_contact_segment`

##### Delete Segment
Remove an existing Segment. (Does not delete the Contacts belonging to the Segment)

- Type: write · Key: `delete_segment`
- Requires: segment_id
- MCP tool: `resend_delete_segment` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "resend", actionType: "write", action: "delete_segment" })`
- CLI: `npx zapier-sdk run-action resend write delete_segment`

##### Retrieve Contact
Retrieve a single contact using the Contact Id or Email

- Type: write · Key: `get_contact`
- Requires: contact_id
- MCP tool: `resend_retrieve_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "resend", actionType: "write", action: "get_contact" })`
- CLI: `npx zapier-sdk run-action resend write get_contact`

##### Send Email
Send an Email with Resend

- Type: write · Key: `send_email`
- Requires: from, to, subject
- Optional: html, text, reply_to, cc, bcc, tags, scheduled_at, attachment_name
- MCP tool: `resend_send_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "resend", actionType: "write", action: "send_email" })`
- CLI: `npx zapier-sdk run-action resend write send_email`

## Frequently asked questions about automating with Commas and Resend

### 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
- Commas integrations: zapier.com/apps/commas/integrations.md
- Resend integrations: zapier.com/apps/resend/integrations.md
- Full page: zapier.com/apps/commas/integrations/resend
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk