---
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/"
---

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

Integrate Ontraport 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 `ontraport` and `resend`, then `enable_zapier_action`. If Ontraport 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":""}'
```

## Ontraport

### Identity
An all-in-one business and marketing platform designed for information marketers, experts, and coaches.

- App slug: ontraport
- Operations published here: 9 (6 events, 2 functions, 1 query)

### Authentication
Zapier connects to Ontraport 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 ontraport
```

### Capabilities

#### Events (6)

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

##### New Contact
Triggers when a new contact is added to Ontraport.

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

##### New Form Submission
Triggers when a contact successfully fills out an Ontraport or ONTRAPages Form.

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

##### Product Purchased
purchase object whenever specified product is purchased

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

##### Tag Added
Triggers when a tag is successfully added to a contact or a custom object.

- Type: read · Key: `sub_tag`
- Requires: tag_id, object_id
- MCP tool: `ontraport_tag_added` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "ontraport", actionType: "read", action: "sub_tag" })`
- CLI: `npx zapier-sdk run-action ontraport read sub_tag`

##### Transaction Created With Product
invoice object whenever specified product is purchased

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

##### Tag Removed
Triggers when a tag is successfully removed from a contact or custom object.

- Type: read · Key: `unsub_tag`
- Requires: tag_id, object_id
- MCP tool: `ontraport_tag_removed` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "ontraport", actionType: "read", action: "unsub_tag" })`
- CLI: `npx zapier-sdk run-action ontraport read unsub_tag`

#### Functions (2)

Functions change something in Ontraport.

##### Add Tags to Contact
Adds Tags to the specified contact.

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

##### Create or Update Contact
Creates or updates a contact in Ontraport.

- Type: write · Key: `contact_v2`
- Requires: nothing
- Optional: email, lastname, firstname, address, city, state, zip, address2, country, office_phone, sms_number, birthday, title, fax, website, company, n_campaign, n_content, n_lead_source, n_medium, n_term, l_campaign, l_content, l_lead_source, l_medium, l_term, facebook_link, instagram_link, twitter_link, linkedin_link, profile_image, updateSequence, tags_information, contact_cat
- MCP tool: `ontraport_create_or_update_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "ontraport", actionType: "write", action: "contact_v2" })`
- CLI: `npx zapier-sdk run-action ontraport write contact_v2`

#### Queries (1)

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

##### Find Contact
Finds an existing Contact.

- Type: search · Key: `find_contact`
- Requires: search
- MCP tool: `ontraport_find_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "ontraport", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action ontraport search find_contact`

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