# Zapier — Leantime Integrations
> zapier.com/apps/leantime/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

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

## Identity
Leantime is a goal driven project management system for non project managers and people with ADHD, Autism and Dyslexia.

- App slug: leantime
- Operations published here: 17 (13 events, 4 functions)

## Authentication
Zapier connects to Leantime 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 leantime
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/leantime/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Leantime through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · create_milestone`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action leantime write create_milestone \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Leantime's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "leantime" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions leantime --page-size 50 --max-items 200 --json
```

### Events (13)

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

#### New Todo
Triggers when a new todo is created.

- Type: read · Key: `check_for_new_tickets`
- Requires: nothing
- Optional: projectId, userId
- SDK: `runAction({ app: "leantime", actionType: "read", action: "check_for_new_tickets" })`
- CLI: `npx zapier-sdk run-action leantime read check_for_new_tickets`

#### New Comment
Triggers when a new comment is created.

- Type: read · Key: `new_comment`
- Requires: nothing
- Optional: projectId, ticketId, goalId, ideaId
- SDK: `runAction({ app: "leantime", actionType: "read", action: "new_comment" })`
- CLI: `npx zapier-sdk run-action leantime read new_comment`

#### New Goal
Triggers when a new goal is created.

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

#### New Idea
Triggers when a new idea is created.

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

#### New Milestone
Triggers when a new milestone is created.

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

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

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

#### New Timesheet
Triggers when a new time sheet is created.

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

#### Updated Goal
Triggers when a goal is updated.

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

#### Updated Todo
Triggers when a todo is updated.

- Type: read · Key: `updated_todo`
- Requires: nothing
- Optional: projectId, userId
- SDK: `runAction({ app: "leantime", actionType: "read", action: "updated_todo" })`
- CLI: `npx zapier-sdk run-action leantime read updated_todo`

#### Updated Idea
Triggers when an idea is updated.

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

#### Updated Milestone
Triggers when a miletone is updated.

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

#### Updated Project
Triggers when a project is updated.

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

#### Updated Timesheet
Triggers when a time sheet is updated.

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

### Functions (4)

Functions change something in Leantime.

#### Create Milestone
Creates a Milestone in the system

- Type: write · Key: `create_milestone`
- Requires: projectId, headline
- Optional: description, editorId, editFrom, editTo, tags, priority
- SDK: `runAction({ app: "leantime", actionType: "write", action: "create_milestone" })`
- CLI: `npx zapier-sdk run-action leantime write create_milestone`

#### Create Timesheet
Creates a timesheet in the system

- Type: write · Key: `create_timesheet`
- Requires: projectId, ticketId, kind, date, hours
- Optional: userId, description, rate, paid
- SDK: `runAction({ app: "leantime", actionType: "write", action: "create_timesheet" })`
- CLI: `npx zapier-sdk run-action leantime write create_timesheet`

#### Create Todo
Creates a Todo in the system

- Type: write · Key: `create_todo`
- Requires: projectId, headline
- Optional: description, type, editorId, dateToFinish, status, storypoints, priority, milestoneid, tags, editFrom, editTo, planHours, hoursRemaining, sprint, dependingTicketId
- SDK: `runAction({ app: "leantime", actionType: "write", action: "create_todo" })`
- CLI: `npx zapier-sdk run-action leantime write create_todo`

#### Update Todo
Update a Todo in the system.

- Type: write · Key: `update_todo`
- Requires: projectId, id
- Optional: headline, editorId, status, milestoneId
- SDK: `runAction({ app: "leantime", actionType: "write", action: "update_todo" })`
- CLI: `npx zapier-sdk run-action leantime write update_todo`

## Popular integrations
- [Leantime + Google Tasks](zapier.com/apps/leantime/integrations/google-tasks.md)
- [Leantime + Google Forms](zapier.com/apps/leantime/integrations/google-forms.md)
- [Leantime + GitHub](zapier.com/apps/leantime/integrations/github.md)
- [Leantime + Slack](zapier.com/apps/leantime/integrations/slack.md)
- [Leantime + Dubsado](zapier.com/apps/leantime/integrations/dubsado.md)
- [Leantime + Gmail](zapier.com/apps/leantime/integrations/gmail.md)
- [Leantime + Google Calendar](zapier.com/apps/leantime/integrations/google-calendar.md)
- [Leantime + Google Chat](zapier.com/apps/leantime/integrations/google-chat.md)
- [Leantime + Clockify](zapier.com/apps/leantime/integrations/clockify.md)
- [Leantime + Google Sheets](zapier.com/apps/leantime/integrations/google-sheets.md)
- [Leantime + Google Drive](zapier.com/apps/leantime/integrations/google-drive.md)
- [Leantime + Airtable](zapier.com/apps/leantime/integrations/airtable.md)
- [Leantime + ActiveCampaign](zapier.com/apps/leantime/integrations/activecampaign.md)
- [Leantime + Microsoft Excel](zapier.com/apps/leantime/integrations/excel.md)
- [Leantime + WhatsApp Notifications](zapier.com/apps/leantime/integrations/whatsapp-notifications.md)
- [Leantime + TickTick](zapier.com/apps/leantime/integrations/ticktick.md)
- [Leantime + Zapier Chatbots](zapier.com/apps/leantime/integrations/zapier-chatbots.md)
- [Leantime + Jira Service Management](zapier.com/apps/leantime/integrations/jira-service-management.md)
- [Leantime + Streamtime](zapier.com/apps/leantime/integrations/streamtime.md)
- [Leantime + Canva](zapier.com/apps/leantime/integrations/canva.md)
- [Leantime + Akiflow](zapier.com/apps/leantime/integrations/akiflow.md)
- [Leantime + Invoice Ninja](zapier.com/apps/leantime/integrations/invoice-ninja.md)
- [Leantime + Zulip](zapier.com/apps/leantime/integrations/zulip.md)

## Links
- Full app page: zapier.com/apps/leantime/integrations
- MCP: zapier.com/mcp/leantime
- SDK: npmjs.com/package/@zapier/zapier-sdk