# BTWB + GymFlow Integrations: Connect with Zapier MCP
> zapier.com/apps/btwb/integrations/gymflow
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate BTWB and GymFlow 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_lead`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action gymflow write add_lead \
  --inputs '{}'
```

## BTWB

### Identity
BTWB is a gym billing and fitness platform that helps gyms manage memberships, track workouts, and support athlete progress.

- App slug: btwb
- Operations published here: 15 (15 events)

### Authentication
Zapier connects to BTWB 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 btwb
```

### Capabilities

#### Events (15)

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

##### Client Added
Triggers when client has been added to your gym.

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

##### Client Details Updated
Triggers when any client details have been updated.

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

##### Membership Subscription Canceled
Triggers when a membership plan subscription has been canceled.

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

##### Membership Subscription Expired
Triggers when a membership plan subscription has expired, e.g. a punchcard expired.

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

##### Membership Subscription Is Past Due
Triggers when a membership plan subscription has become past due.

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

##### Membership Subscription Pause Ended
Triggers when a paused membership plan subscription has been unpaused.

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

##### Membership Subscription Pause Started
Triggers when a membership plan subscription has been paused.

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

##### Membership Subscription Scheduled
Triggers when a membership plan subscription has been scheduled to start in the future.

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

##### Membership Subscription Started
Triggers when a client starts a new membership plan subscription.

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

##### New Class Check-In
Triggers when a client checks in to a class.

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

##### Class Client Early Cancelation
Triggers when a client early cancels their spot in class

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

##### Class Client Late Cancelation
Triggers when a client late cancels their spot in a class

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

##### Class No-Show
Triggers when a client no-shows a class

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

##### Class Reservation
Triggers when a client makes a reservation to a class

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

##### Class Uncheck-In
Triggers when a unchecks in from a class

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

## GymFlow

### Identity
Gymflow is an intuitive all-in-one business management platform for gyms and studios.

- App slug: gymflow
- Operations published here: 16 (14 events, 2 functions)

### Authentication
Zapier connects to GymFlow 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 gymflow
```

### Capabilities

#### Events (14)

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

##### Appointment Booked
Triggers when any new appointment is booked. 

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

##### Appointment Cancelled
Triggers when any appointment is either cancelled or late cancelled. 

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

##### Appointment Rescheduled
Triggers when an appointments date or time is updated. 

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

##### Cancelled Membership
Triggers when a users membership changes to a cancelled status.

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

##### Class Booking Status
Triggers when a user either books, cancel's, attend's or join's the waitlist of any class.

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

##### Expired Membership
Triggers when a users membership expires. Expirations are only possible with pre-paid memberships.

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

##### Lead Status Changed
Triggers when a leads status changes e.g "New Lead" status changes to "Contacted" status.

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

##### Membership Cancellation Submitted
Triggers when member or staff submitted membership cancellation request

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

##### Membership Purchased
Triggers when a user purchases a membership for either the first time or any subsequent time.

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

##### New Lead Created
Triggers when a new lead is created in Gymflow.

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

##### New Transaction
Triggers when new credit or refund transaction is created.

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

##### Product Order Created
Triggers when any new product order is created. 

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

##### Credit Pack Purchased
Triggers when a user purchases a Credit Pack for the first time and any subsequent times.

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

##### Subscription History
Triggers when membership subscription status changes.

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

#### Functions (2)

Functions change something in GymFlow.

##### Add New Lead
Adds a lead in GymFlow with a lead status of "New Lead".

- Type: write · Key: `add_lead`
- Requires: firstName, lastName, email, sourceId, emailCommunication, smsCommunication
- Optional: mobileNumber
- SDK: `runAction({ app: "gymflow", actionType: "write", action: "add_lead" })`
- CLI: `npx zapier-sdk run-action gymflow write add_lead`

##### Add New User
Adds a new user in Gymflow and sends them an email to create a password for their account.

- Type: write · Key: `add_user`
- Requires: firstName, lastName, email
- Optional: mobileNumber
- SDK: `runAction({ app: "gymflow", actionType: "write", action: "add_user" })`
- CLI: `npx zapier-sdk run-action gymflow write add_user`

## Frequently asked questions about automating with BTWB and GymFlow

### 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
- BTWB integrations: zapier.com/apps/btwb/integrations.md
- GymFlow integrations: zapier.com/apps/gymflow/integrations.md
- Full page: zapier.com/apps/btwb/integrations/gymflow
- SDK: npmjs.com/package/@zapier/zapier-sdk