Skip to content
Projects

hansdoebel/n8n-nodes-ticktick

View on GitHub

About

TickTick module for custom n8n node

Productivity

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original


n8n-nodes-ticktick

NPM Version GitHub License NPM Downloads NPM Last Update Static Badge

Greptile: The War on Bugs

Installation | Credentials | Resources | Troubleshooting | Development | Version history | Contributors | License


An n8n community node for integrating TickTick with your workflows to manage tasks, projects, tags, habits, focus time, and more.

Installation

  1. Create a new workflow or open an existing one
  2. Open the nodes panel by selecting + or pressing N
  3. Search for TickTick
  4. Select Install to install the node for your instance

Credentials

This node supports three authentication methods:

  1. TickTick Session API (V2) -- Enter your TickTick email and password in n8n. Provides access to all features including V2 API operations. A successful sign-on is cached in memory for about 23 hours and is keyed by the email and password, so changing the password signs on again. Failed sign-ons are cached too: rejected credentials for 10 minutes, and network or server errors for 30 seconds. That backoff avoids repeated attempts that can lock the TickTick account. Sign-on errors keep TickTick's error code and the HTTP status, and they do not include the email or the password.
  2. TickTick API Token (V1) -- Go to TickTick Account Settings, then API Token, then Manage. Copy the token and paste it into a new TickTick API Token credential in n8n.
  3. TickTick OAuth2 (V1) -- Visit developer.ticktick.com, go to Manage Apps, create a new app, copy the Client ID and Client Secret, and paste them into a new TickTick OAuth2 API credential in n8n. New credentials request the tasks:read and tasks:write scopes.

Troubleshooting

Sign-in fails with need_upgrade_client

TickTick rejects an outdated V2 web client during session sign-on. The response is HTTP 500 with error code need_upgrade_client. This node sends device version 8240 in the X-Device header, matching the current TickTick web client. If TickTick still returns that error, the node reports: "TickTick requires a newer client version…"

Wrong email or password

TickTick often answers username_password_not_match and puts the account email in errorMessage. The node reports the error code and HTTP status without the email or the password. A rejected sign-on is not retried for 10 minutes. TickTick itself can lock the account after repeated wrong passwords, including attempts made outside n8n.

TickTick Trigger

The trigger polls for newly created tasks. It is not offered as an AI tool. The TickTick action node still is.

Resources

Task
Operation Description
Create Create a new task with optional subtasks
Get Get a specific task by ID
Update Update task properties
Complete Mark a task as complete
Delete Delete a task
Assign Assign task to a user (shared projects only)
List All List all tasks across projects with filtering
List Completed Get completed tasks in date range
List Deleted Get deleted/trashed tasks
Move Move task to different project
Search Search tasks by keyword across all projects (V2 API only)
Set Parent Set a parent task (create subtask relationship)
Project
Operation Description
Create Create a new project
Get Get all projects, a specific project, or project with tasks and columns
Update Update project properties
Delete Delete a project
Get Users Get users in a shared/collaborative project
List Closed Get all closed projects
Tag
Operation Description
Create Create a new tag
Update Update existing tag
Delete Delete a tag
List List all tags
Rename Rename a tag
Merge Merge tag into another
Habit
Operation Description
Create Create a new habit
Get Get a specific habit
Update Update existing habit
Archive Archive a habit
Unarchive Unarchive a habit
Delete Delete a habit
List List all habits
Checkin Record habit check-in
Focus
Operation Description
Get Heatmap Get focus heatmap data for date range
Get Distribution Get focus time distribution for date range
Project Group
Operation Description
Create Create a project group
Update Update existing group
Delete Delete a project group
List List all project groups
User
Operation Description
Get Profile Get user profile information
Get Status Get user status
Get Preferences Get user preferences
Sync
Operation Description
Sync All Get all data (tasks, projects, tags, habits, etc.)

Development

git clone https://github.com/hansdoebel/n8n-nodes-ticktick.git
cd n8n-nodes-ticktick
bun install --frozen-lockfile
bun run build
bun run lint
bun test tests/unit

Use Bun 1.4 or newer. The lockfile is version 2.

Version history

2.3.0

  • V2 session sign-on no longer puts the account email or the password in errors or in the credential test result. TickTick's error code and the HTTP status are kept. username_password_not_match often sends the email back as errorMessage; that value is removed.
  • V2 sessions are cached in memory by email and password. Rejected credentials are not retried for 10 minutes. Network and server errors are not retried for 30 seconds. Concurrent calls share one in-flight sign-on.
  • OAuth2 credentials request tasks:read tasks:write.
  • The TickTick Trigger node is no longer available as an AI tool.
  • Publish workflow uses pinned GitHub Actions, including checkout 7.0.1 and setup-node 7.1.0, and publishes with npm trusted publishing.

2.2.3

  • V2 sign-on X-Device version bumped to 8240 to fix need_upgrade_client sign-in failures (#25, PR #26 by @eps90)
  • Clearer error message when TickTick requires a newer client version, including when sign-on fails with HTTP 500
  • Integration tests share the production device version

Contributors

Contributions are welcome! Please open an issue or pull request.

mrozekadamkazhuravleveps90

License

MIT

GitHub | Issues | TickTick API Docs

Explore related projects

Loading…