# OneCal + Loops Integrations: Connect with Zapier MCP
> zapier.com/apps/onecal/integrations/loops
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate OneCal and Loops 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 · add_contact`.
- **SDK**:

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

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

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

- **CLI**:

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

## OneCal

### Identity
OneCal is a productivity tool that helps professionals easily manage multiple calendars and streamline scheduling and availability management.

- App slug: onecal
- Operations published here: 8 (8 events)

### Authentication
Zapier connects to OneCal 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.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 onecal
```

### Capabilities

#### Events (8)

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

##### Get Booking by ID
Triggers when a specific booking is changed.

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

##### Booking Cancelled
Triggers when a booking is cancelled.

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

##### Booking Changed
Triggers when a booking is changed.

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

##### Booking Confirmed
Triggers when a new booking is confirmed.

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

##### Booking Declined
Triggers when a booking is declined.

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

##### Booking Requested
Triggers when a new booking is requested.

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

##### Booking Reschedule Confirmed
Triggers when a booking reschedule is confirmed.

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

##### Booking Reschedule Requested
Triggers when a booking reschedule is requested.

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

## Loops

### Identity
Loops is a platform for SaaS companies to send marketing and transactional email.

- App slug: loops
- Operations published here: 15 (8 events, 5 functions, 1 query, 1 search-or-write action)

### Authentication
Zapier connects to Loops 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 loops
```

### Capabilities

#### Events (8)

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

##### Campaign Email Sent
Triggers when a campaign email is sent to a recipient (warning: will trigger for every recipient of your campaign).

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

##### Contact Subscribed to Mailing List
Triggers when a contact is subscribed to a mailing list.

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

##### Contact Unsubscribed From Mailing List
Triggers when a contact is unsubscribed from a mailing list.

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

##### Contact Unsubscribed
Triggers when a contact is unsubscribed from your audience in Loops.

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

##### Contact Created
Triggers when a contact is created in Loops.

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

##### Contact Deleted
Triggers when a contact is deleted in Loops.

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

##### Workflow Email Sent
Triggers when a workflow email is sent to a recipient (warning: will trigger for every recipient of your workflow's emails).

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

##### Transactional Email Sent
Triggers when a transactional email is sent to a recipient.

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

#### Functions (5)

Functions change something in Loops.

##### Add Contact
Adds a contact to your audience.

- Type: write · Key: `add_contact`
- Requires: email
- Optional: firstName, lastName, source, subscribed, userGroup, userId, mailingLists
- SDK: `runAction({ app: "loops", actionType: "write", action: "add_contact" })`
- CLI: `npx zapier-sdk run-action loops write add_contact`

##### Delete Contact
Deletes a contact from your audience.

- Type: write · Key: `delete_contact`
- Requires: email
- SDK: `runAction({ app: "loops", actionType: "write", action: "delete_contact" })`
- CLI: `npx zapier-sdk run-action loops write delete_contact`

##### Send Event
Sends an event to Loops.

- Type: write · Key: `send_event`
- Requires: eventName
- Optional: email, userId, eventProperties, mailingLists
- SDK: `runAction({ app: "loops", actionType: "write", action: "send_event" })`
- CLI: `npx zapier-sdk run-action loops write send_event`

##### Send Transactional Email
Sends a transactional email.

- Type: write · Key: `send_transactional`
- Requires: transactionalId, email
- Optional: addToAudience, dataVariables
- SDK: `runAction({ app: "loops", actionType: "write", action: "send_transactional" })`
- CLI: `npx zapier-sdk run-action loops write send_transactional`

##### Update Contact
Updates the properties of a contact in your audience.

- Type: write · Key: `update_contact`
- Requires: email
- Optional: firstName, lastName, source, subscribed, userGroup, userId, mailingLists
- SDK: `runAction({ app: "loops", actionType: "write", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action loops write update_contact`

#### Queries (1)

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

##### Find Contact
Finds a contact in your audience by email.

- Type: search · Key: `find_contact`
- Requires: email
- SDK: `runAction({ app: "loops", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action loops search find_contact`

#### Search or Write Actions (1)

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

##### Find or Create Contact
Finds a contact in your audience by email.

- Type: search_or_write · Key: `find_contact`
- Requires: email
- Optional: firstName, lastName, source, subscribed, userGroup, userId, mailingLists
- SDK: `runAction({ app: "loops", actionType: "search_or_write", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action loops search_or_write find_contact`

## Frequently asked questions about automating with OneCal and Loops

### 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
- OneCal integrations: zapier.com/apps/onecal/integrations.md
- Loops integrations: zapier.com/apps/loops/integrations.md
- Full page: zapier.com/apps/onecal/integrations/loops
- SDK: npmjs.com/package/@zapier/zapier-sdk