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

Integrate GymFlow and Todoist 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 · invite_project`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action todoist write invite_project \
  --inputs '{}'
```

## 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`

## Todoist

### Identity
Managing millions of tasks, Todoist is an online task management app and todo list. It has Web, iPhone, Android, Chrome, Firefox, Outlook flavors (and more!).

- App slug: todoist
- Operations published here: 17 (3 events, 9 functions, 3 queries, 2 search-or-write actions)

### Authentication
Zapier connects to Todoist 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 todoist
```

### Capabilities

#### Events (3)

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

##### New Completed Task
Triggers when you complete a task (including recurring tasks) on a project.

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

##### New Incomplete Task
Triggers when you add an incomplete task to a project.

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

##### New Project
Triggers when a new project is created.

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

#### Functions (9)

Functions change something in Todoist.

##### Invite User to Project
Sends an e-mail to a person, inviting them to use one of your projects.

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

##### Mark Task as Completed
Marks a task as being completed.

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

##### Move Task to Section
Move a Task to a different Section. 

- Type: write · Key: `move_task_section`
- Requires: id, section_id
- SDK: `runAction({ app: "todoist", actionType: "write", action: "move_task_section" })`
- CLI: `npx zapier-sdk run-action todoist write move_task_section`

##### Add Comment to Task
Adds a comment to a task (only available for Todoist Premium users).

- Type: write · Key: `new_comment`
- Requires: item_id, content
- SDK: `runAction({ app: "todoist", actionType: "write", action: "new_comment" })`
- CLI: `npx zapier-sdk run-action todoist write new_comment`

##### Add Comment to Project
Adds a new comment to a project (only available for Todoist Premium users).

- Type: write · Key: `new_comment_project`
- Requires: project_id, content
- SDK: `runAction({ app: "todoist", actionType: "write", action: "new_comment_project" })`
- CLI: `npx zapier-sdk run-action todoist write new_comment_project`

##### Create Project
Creates a new project.

- Type: write · Key: `new_project`
- Requires: name
- Optional: color, parent_id, is_favorite, view_style
- SDK: `runAction({ app: "todoist", actionType: "write", action: "new_project" })`
- CLI: `npx zapier-sdk run-action todoist write new_project`

##### Create Task
Creates a new task.

- Type: write · Key: `new_task`
- Requires: content
- Optional: project_id, note, section_id, responsible_uid, date_string, date_string_raw, deadline_raw, priority, labels, parent_id
- SDK: `runAction({ app: "todoist", actionType: "write", action: "new_task" })`
- CLI: `npx zapier-sdk run-action todoist write new_task`

##### Update Task
Updates an existing task.

- Type: write · Key: `update_task`
- Requires: id, content
- Optional: responsible_uid, date_string, date_string_raw, deadline_raw, priority, labels
- SDK: `runAction({ app: "todoist", actionType: "write", action: "update_task" })`
- CLI: `npx zapier-sdk run-action todoist write update_task`

##### Get Project Collaborators
Get all collaborators for a specific project

- Type: write · Key: `ae:36632`
- Requires: nothing
- SDK: `runAction({ app: "todoist", actionType: "write", action: "ae:36632" })`
- CLI: `npx zapier-sdk run-action todoist write ae:36632`

#### Queries (3)

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

##### Find Project
Finds a project (by name/title).

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

##### Find Task
Finds a task.

- Type: search · Key: `find_task`
- Requires: name
- Optional: project_id
- SDK: `runAction({ app: "todoist", actionType: "search", action: "find_task" })`
- CLI: `npx zapier-sdk run-action todoist search find_task`

##### Find User
Searches for a user who is connected/shared with your account.

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

#### Search or Write Actions (2)

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

##### Find or Create project.
Find or Create project.

- Type: search_or_write · Key: `find_project`
- Requires: name
- Optional: color, parent_id, is_favorite, view_style
- SDK: `runAction({ app: "todoist", actionType: "search_or_write", action: "find_project" })`
- CLI: `npx zapier-sdk run-action todoist search_or_write find_project`

##### Find or Create Item
Find or Create Item

- Type: search_or_write · Key: `find_task`
- Requires: name, content
- Optional: project_id, note, section_id, responsible_uid, date_string, date_string_raw, deadline_raw, priority, labels, parent_id
- SDK: `runAction({ app: "todoist", actionType: "search_or_write", action: "find_task" })`
- CLI: `npx zapier-sdk run-action todoist search_or_write find_task`

## Frequently asked questions about automating with GymFlow and Todoist

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