---
related_nodes: ["gmail", "google_calendar"]
---

# TickTick

Integrate with TickTick task management to create, update, and manage tasks and projects programmatically.

## When to Use

- Creating tasks from emails or calendar events
- Automating task management workflows
- Managing projects and task lists programmatically
- Building daily planning automation
- Syncing tasks between TickTick and other systems

## How It Works

The TickTick node uses the TickTick API to interact with your TickTick account. It supports:

**Project Operations:**
- **ListProjects**: List all projects in your account
- **GetProject**: Get details for a specific project
- **CreateProject**: Create a new project
- **UpdateProject**: Update an existing project
- **DeleteProject**: Delete a project

**Task Operations:**
- **ListTasks**: List tasks in a project or inbox
- **GetTask**: Get details for a specific task
- **CreateTask**: Create a new task
- **UpdateTask**: Update an existing task
- **DeleteTask**: Delete a task
- **CompleteTask**: Mark a task as completed
- **UncompleteTask**: Mark a completed task as incomplete

All operations use OAuth 2.0 authentication via a TickTick connection. Human-facing string fields support template interpolation with workflow input (for example `{{ input.task_id }}`), and the node supports compound inputs so arrays can be processed item-by-item.

## Configuration

**connection** - TickTick connection to use
- Select from Settings → Connections
- Must be a "ticktick" connection type with appropriate scopes
- Required

**operation** - Operation to perform
- `ListProjects`: List all projects
- `GetProject`: Get project details
- `CreateProject`: Create a new project
- `UpdateProject`: Update an existing project
- `DeleteProject`: Delete a project
- `ListTasks`: List tasks in a project
- `GetTask`: Get task details
- `CreateTask`: Create a new task
- `UpdateTask`: Update an existing task
- `DeleteTask`: Delete a task
- `CompleteTask`: Mark task as completed
- `UncompleteTask`: Mark task as incomplete

**retry** - whether each TickTick request is sent again after a failure that passes: a rate limit, a busy server, a dropped connection. Off by default; see [Retries](http_get.md#retries). `ListProjects`, `GetProject`, `DeleteProject`, `ListTasks`, `GetTask` and `DeleteTask` are sent again freely; `CreateProject`, `UpdateProject`, `CreateTask`, `UpdateTask`, `CompleteTask` and `UncompleteTask` are writes, sent again only when TickTick refused them before acting: the connection never opened, or TickTick answered 425 or 429. With an array input, each item's request retries on its own.

### Operation: ListProjects

No configuration fields required. Lists all projects in your TickTick account.

### Operation: GetProject

**project_id** - Project ID
- The ID of the project to retrieve
- Supports interpolation (example: `{{ input.project_id }}`)

### Operation: CreateProject

**name** - Project name
- The display name of the new project
- Required
- Supports interpolation (example: `{{ input.name }}`)

**color** - Project color
- Hex color code (e.g., "#FF5733")
- Optional: Defaults to TickTick's default color

**view_mode** - Default view mode
- `"list"`: List view
- `"kanban"`: Kanban/board view
- `"timeline"`: Timeline/Gantt view
- Optional: Defaults to "list"

### Operation: UpdateProject

**project_id** - Project ID
- The ID of the project to update
- Supports interpolation (example: `{{ input.project_id }}`)

`name` and `color` are interpolatable text fields. `view_mode` remains an enum (`list`, `kanban`, `timeline`).

### Operation: DeleteProject

**project_id** - Project ID
- The ID of the project to delete
- Optional: If not provided, can be passed via input

### Operation: ListTasks

**project_id** - Project ID
- Filter tasks by project (use "inbox" for inbox tasks)
- Supports interpolation (example: `{{ input.project_id }}`)

**include_completed** - Include completed tasks
- `true`: Include completed tasks in results
- `false`: Only show incomplete tasks (default)

### Operation: GetTask

**task_id** - Task ID
- The ID of the task to retrieve
- Supports interpolation (example: `{{ input.task_id }}`)

`GetTask` now only requires `task_id`. It no longer exposes `project_id` because the TickTick endpoint is `/task/{task_id}`.

### Operation: CreateTask

**project_id** - Project ID
- The project to add the task to (omit for inbox)
- Supports interpolation (example: `{{ input.project_id }}`)

**title** - Task title
- The display title of the task
- Required
- Supports interpolation (example: `{{ input.title }}`)

**content** - Task description
- Detailed description or notes for the task
- Optional
- Supports interpolation

**priority** - Task priority
- `0`: No priority
- `1`: Low priority
- `3`: Medium priority
- `5`: High priority
- Optional: Defaults to 0

**due_date** - Due date
- ISO 8601 format (e.g., "2024-03-15T14:30:00+00:00")
- Optional
- Supports interpolation

**tags** - Task tags
- Array of tag names
- Example: `["work", "urgent"]`
- Optional

### Operation: UpdateTask

**project_id** - Project ID
- The project containing the task
- Supports interpolation

**task_id** - Task ID
- The ID of the task to update
- Supports interpolation

`title`, `content`, and `due_date` are interpolatable text fields. `priority` and `tags` remain typed fields.

### Operation: DeleteTask

**project_id** - Project ID
- The project containing the task
- Supports interpolation

**task_id** - Task ID
- The ID of the task to delete
- Supports interpolation

### Operation: CompleteTask

**project_id** - Project ID
- The project containing the task
- Supports interpolation

**task_id** - Task ID
- The ID of the task to mark as completed
- Supports interpolation

### Operation: UncompleteTask

**project_id** - Project ID
- The project containing the task
- Supports interpolation

**task_id** - Task ID
- The ID of the task to mark as incomplete
- Supports interpolation

## Inputs

**input** - Any input
- Used to trigger the node
- Data is available to interpolatable fields via `{{ input... }}`
- Supports compound inputs: pass an array to process multiple items

## Outputs

**output** - TickTick API response

For ListProjects:
```json
{
  "projects": [
    {
      "id": "65a1b2c3d4e5f67890123456",
      "name": "Work Tasks",
      "color": "#2196F3",
      "viewMode": "list",
      "kind": "TASK"
    },
    {
      "id": "inbox1234567890",
      "name": "Inbox",
      "color": "#9E9E9E",
      "viewMode": "list",
      "kind": "TASK"
    }
  ]
}
```

For ListTasks:
```json
{
  "tasks": [
    {
      "id": "65a1b2c3d4e5f67890123457",
      "projectId": "65a1b2c3d4e5f67890123456",
      "title": "Review quarterly report",
      "content": "Check financial projections and prepare summary",
      "priority": 5,
      "dueDate": "2024-03-20T17:00:00+00:00",
      "status": 0,
      "tags": ["work", "urgent"],
      "createdTime": "2024-03-15T10:00:00+00:00"
    },
    {
      "id": "65a1b2c3d4e5f67890123458",
      "projectId": "65a1b2c3d4e5f67890123456",
      "title": "Email team update",
      "priority": 1,
      "dueDate": null,
      "status": 0,
      "tags": ["work"]
    }
  ]
}
```

For CreateTask:
```json
{
  "id": "65a1b2c3d4e5f67890123459",
  "projectId": "65a1b2c3d4e5f67890123456",
  "title": "Schedule dentist appointment",
  "content": "Call Dr. Smith's office",
  "priority": 3,
  "dueDate": "2024-03-25T10:00:00+00:00",
  "status": 0,
  "tags": ["personal", "health"],
  "createdTime": "2024-03-15T14:30:00+00:00"
}
```

## Examples

### Email to Task

Automatically create tasks from important emails:

```
[Gmail: ListEmails]
  Config: query = "from:boss@company.com is:unread"
  → List of unread emails from boss

[Branch: For each email]
  → email

[TickTick: CreateTask]
  Config:
    project_id: "65a1b2c3d4e5f67890123456"
    title: "{{email.payload.headers[?name=='Subject'].value}}"
    content: "From: {{email.payload.headers[?name=='From'].value}}\n\n{{email.snippet}}"
    priority: 5
    tags: ["from-email", "urgent"]
```

### Meeting Action Items

Create tasks from calendar events:

```
[Google Calendar: ListEvents]
  Config: calendar_id = "primary"
  → List of today's events

[Branch: For each event]
  → event

[AI: Completion]
  Prompt: "Extract action items from this meeting: {{event.description}}"
  → action_items array

[TickTick: CreateTask]
  Input:
    project_id: "65a1b2c3d4e5f67890123456"
    title: "{{item.title}}"
    due_date: "{{event.start.dateTime}}"
    priority: "{{item.priority}}"
  (Using compound input to create multiple tasks)
```

### Daily Planning

Create a daily task list:

```
[Trigger: Cron - Daily at 6:00 AM]
  → Trigger signal

[TickTick: ListTasks]
  Config:
    project_id: "inbox"
    include_completed: false
  → Incomplete inbox tasks

[Branch: If tasks exist]
  → tasks

[TickTick: CreateTask]
  Config:
    project_id: "65a1b2c3d4e5f67890123456"
    title: "Review {{tasks.tasks | length}} inbox items"
    content: "Pending tasks:\n{% for task in tasks.tasks %}- {{task.title}}\n{% endfor %}"
    priority: 3
    due_date: "{{now() | format_date('ISO8601')}}"
    tags: ["daily-review", "planning"]
```

## Runtime Errors

| Error | Cause | Remediation |
|-------|-------|-------------|
| "TickTick connection not found" | Connection not selected | Select a TickTick connection in node config |
| "Authentication failed" | Token expired/invalid | Re-authenticate the TickTick connection |
| "Project not found" | Invalid project ID | Verify project ID from ListProjects output |
| "Task not found" | Invalid task ID | Verify task ID from ListTasks output |
| "Rate limit exceeded" | Too many API calls | Add delays between operations, batch requests |

## Common Mistakes

- **Mistake**: Using wrong priority values
  - Error: "Invalid priority value"
  - Fix: Use only 0, 1, 3, or 5 (0=none, 1=low, 3=medium, 5=high)

- **Mistake**: Not providing project_id for inbox tasks
  - Error: Task created in wrong project
  - Fix: Omit project_id entirely or use "inbox" to place tasks in inbox

- **Mistake**: Using wrong date format
  - Error: "Invalid date format"
  - Fix: Use ISO 8601 format like "2024-03-15T14:30:00+00:00"

## Tips

- **Priority levels**: 0 (none), 1 (low), 3 (medium), 5 (high)
- **Task status**: 0 (normal), 1 (completed)
- **Date format**: Use ISO 8601 with timezone (e.g., "2024-03-15T14:30:00+00:00")
- **Inbox project ID**: Format is "inbox{user_id}" - you can get it from ListProjects
- **Compound inputs**: Pass an array of task objects to CreateTask to create multiple tasks at once
- **Project colors**: Use hex codes like "#FF5733" - TickTick accepts standard CSS colors
- **Tags**: Tag names are case-sensitive and must already exist in your TickTick account
