# GymMaster + Marlie AI Integrations: Connect with Zapier MCP
> zapier.com/apps/gymmaster/integrations/marlie-ai
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate GymMaster and Marlie AI 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 · reply_with_booking`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action marlie-ai write reply_with_booking \
  --inputs '{}'
```

## GymMaster

### Identity
GymMaster is an advanced membership management system helping simplify business for thousands of fitness clubs around the world.

- App slug: gymmaster
- Operations published here: 19 (16 events, 3 functions)

### Authentication
Zapier connects to GymMaster 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 gymmaster
```

### Capabilities

#### Events (16)

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

##### Approaching Service Booking
Triggers on the day of a service booking.

- Type: read · Key: `approaching_service_bookings`
- Requires: nothing
- Optional: service, membership, only_first_booking
- SDK: `runAction({ app: "gymmaster", actionType: "read", action: "approaching_service_bookings" })`
- CLI: `npx zapier-sdk run-action gymmaster read approaching_service_bookings`

##### Canceled Class Booking
Triggers on Canceled class booking.

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

##### Canceled Membership
Triggers on Canceled membership.

- Type: read · Key: `canceled_membership`
- Requires: nothing
- Optional: membership, membershiptype_category
- SDK: `runAction({ app: "gymmaster", actionType: "read", action: "canceled_membership" })`
- CLI: `npx zapier-sdk run-action gymmaster read canceled_membership`

##### Canceled Service Booking
Triggers on Canceled service booking.

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

##### Executed Task
Triggers on Task activation.

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

##### Expired Membership
Triggers when a membership expires, will not trigger when cancelled.

- Type: read · Key: `expired_membership`
- Requires: nothing
- Optional: membership, membershiptype_category
- SDK: `runAction({ app: "gymmaster", actionType: "read", action: "expired_membership" })`
- CLI: `npx zapier-sdk run-action gymmaster read expired_membership`

##### Expired Membership Add-On
Triggers when a membership add-on expires, will not trigger when cancelled.

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

##### New Measurement
Triggers when a new measurement is made.

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

##### New Class Booking
Triggers on a new class booking.

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

##### New Class Member Enrollment
Triggers when a member is booked into a class.

- Type: read · Key: `new_class_enrollment`
- Requires: nothing
- Optional: class, membership, only_first_booking
- SDK: `runAction({ app: "gymmaster", actionType: "read", action: "new_class_enrollment" })`
- CLI: `npx zapier-sdk run-action gymmaster read new_class_enrollment`

##### New Member
Triggers on New Member.

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

##### New Membership
Triggers when a New Membership is added.

- Type: read · Key: `new_membership`
- Requires: triggerevent
- Optional: membership, membershiptype_category, membershiptype_hide_from_counts
- SDK: `runAction({ app: "gymmaster", actionType: "read", action: "new_membership" })`
- CLI: `npx zapier-sdk run-action gymmaster read new_membership`

##### New Service Booking
Triggers on a new service booking.

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

##### New Staff
Triggers on New Staff member.

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

##### New Prospect
Triggers on a new prospect.

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

##### New Visitor Entry
Triggers on a new visitor_entry.

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

#### Functions (3)

Functions change something in GymMaster.

##### Create Personal Booking for a Member
Creates Booking for a member.

- Type: write · Key: `booking`
- Requires: start, end, firstname, surname, companyid, serviceid, resource
- Optional: staff, email, phonecell, notes, price
- SDK: `runAction({ app: "gymmaster", actionType: "write", action: "booking" })`
- CLI: `npx zapier-sdk run-action gymmaster write booking`

##### Create Measurement for a Member
Creates a measurement for a member.

- Type: write · Key: `measurement`
- Requires: memberid
- Optional: measured_on_date, notes, measurement_type_name_1, measurement_value_1, measurement_type_name_2, measurement_value_2, measurement_type_name_3, measurement_value_3, measurement_type_name_4, measurement_value_4, measurement_type_name_5, measurement_value_5, measurement_type_name_6, measurement_value_6, measurement_type_name_7, measurement_value_7, measurement_type_name_8, measurement_value_8, measurement_type_name_9, measurement_value_9, measurement_type_name_10, measurement_value_10, measurement_type_name_11, measurement_value_11, measurement_type_name_12, measurement_value_12, measurement_type_name_13, measurement_value_13, measurement_type_name_14, measurement_value_14, measurement_type_name_15, measurement_value_15
- SDK: `runAction({ app: "gymmaster", actionType: "write", action: "measurement" })`
- CLI: `npx zapier-sdk run-action gymmaster write measurement`

##### Create Prospect Member
Creates a prospect member. Existing prospects will be reclassified as 'new' by task triggers.

- Type: write · Key: `prospect`
- Requires: firstname, surname, email, companyid
- Optional: phonecell, gender, addressstreet, addresssuburb, addresscity, addressareacode, addresscountry, dob, notes, goal, staffid, customdropdown1, emergencyfirstname, emergencysurname, memberphoto, promotion_id, prospectfunnelstageid, sms_marketing, sms_opt_in_non_marketing
- SDK: `runAction({ app: "gymmaster", actionType: "write", action: "prospect" })`
- CLI: `npx zapier-sdk run-action gymmaster write prospect`

## Marlie AI

### Identity
Marlie AI is a voice assistant that answers calls, qualifies leads, schedules appointments, and keeps your CRMs, sheets, and messaging apps up to date.

- App slug: marlie-ai
- Operations published here: 5 (3 events, 2 functions)

### Authentication
Zapier connects to Marlie AI 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 marlie-ai
```

### Capabilities

#### Events (3)

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

##### Live Call: Customer Lookup Requested (Advanced)
Triggers when Marlie needs to look up a caller in your custom data source during a live call. Requires Reply to Marlie within 30 seconds. Skip this when using a directly connected CRM.

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

##### Call Completed
Triggers when a call with your Marlie AI agent ends. Recommended for most workflows; includes formatted phone numbers, flattened collected data, and an optional transcript.

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

##### Live Call: Booking Requested (Advanced)
Triggers when Marlie confirms a booking during a live call and needs your custom system to save it. Requires Reply to Marlie within 30 seconds. Skip this when using a directly connected CRM.

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

#### Functions (2)

Functions change something in Marlie AI.

##### Reply to Booking Request (Advanced)
Sends the booking result for a live call. Use only with the “Live Call: Booking Requested” trigger and make this the final Zap step within 30 seconds.

- Type: write · Key: `reply_with_booking`
- Requires: request_id, success
- Optional: confirmation_message
- SDK: `runAction({ app: "marlie-ai", actionType: "write", action: "reply_with_booking" })`
- CLI: `npx zapier-sdk run-action marlie-ai write reply_with_booking`

##### Reply to Customer Lookup Request (Advanced)
Sends the customer lookup result for a live call. Use only with the “Live Call: Customer Lookup Requested” trigger and make this the final Zap step within 30 seconds.

- Type: write · Key: `reply_with_customer_lookup`
- Requires: request_id, success
- Optional: customer_name, customer_phone, customer_email, customer_address, customer_notes
- SDK: `runAction({ app: "marlie-ai", actionType: "write", action: "reply_with_customer_lookup" })`
- CLI: `npx zapier-sdk run-action marlie-ai write reply_with_customer_lookup`

## Frequently asked questions about automating with GymMaster and Marlie AI

### 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
- GymMaster integrations: zapier.com/apps/gymmaster/integrations.md
- Marlie AI integrations: zapier.com/apps/marlie-ai/integrations.md
- Full page: zapier.com/apps/gymmaster/integrations/marlie-ai
- SDK: npmjs.com/package/@zapier/zapier-sdk