Code Monkey home page Code Monkey logo

n8n-nodes-ticktick's Introduction

n8n-nodes-ticktick

n8n is a fair-code licensed workflow automation platform.

This is an n8n community node. It lets you use TickTick in your n8n workflows.

TickTick is a comprehensive productivity app designed to help individuals and teams manage tasks, deadlines, and projects more efficiently. With its intuitive interface, TickTick allows users to easily create, organize, and prioritize tasks, set reminders, and track progress through various views such as lists, kanban boards, and calendars.

Installation
Task Operations
Project Operations
Credentials
Compatibility
Known Issues
Resources
Version history

Installation

Follow the installation guide in the n8n community nodes documentation.

  1. Go to Settings > Community Nodes.

  2. Select Install.

  3. Find the node you want to install:

    a.) Select Browse. n8n takes you to an npm search results page, showing all npm packages tagged with the keyword n8n-community-node-package.

    b.) Browse the list of results. You can filter the results or add more keywords.

    c.) Once you find the package you want, make a note of the package name. If you want to install a specific version, make a note of the version number as well.

    d.) Return to n8n.

  4. Enter the npm package name, and version number if required.

  5. Agree to the risks of using community nodes: select I understand the risks of installing unverified code from a public source.

  6. Select Install. n8n installs the node, and returns to the Community Nodes list in Settings.

Task Operations

1. Create a Task

Parameters:

- Task Title (required)
- Task Content
- Description of Checklist
- All day
- Start date
- Due date

>> use Additional Fields or JSON Parameters
>> Subtasks will be part of the next release

2. Get Task By Project ID And Task ID

Parameters:

- Task identifier (required)
- Project identifier (required)

3. Update a Task

Parameters:

- Task identifier (required)
- Project identifier (required)
- Task Title
- Task Content
- Description of Checklist
- All day
- Start date
- Due date

>> use Additional Fields or JSON Parameters

4. Complete a Task

Parameters:

- Task identifier (required)
- Project identifier (required)

5. Delete a Task

Parameters:

- Task identifier (required)
- Project identifier (required)

Project Operations

1. Create a Project

Parameters:

- Name (required)
- Color
- View Mode (List, Kanban, Timeline)
- Kind (Task, Note)

>> use Additional Fields or JSON Parameters

2. Get User Project

Empty Parameters

3. Get Project by ID

Parameters:

- Project identifier (required)

4. Get Project with Data

Parameters:

- Project identifier (required)

5. Update a Project

Parameters:

- Project identifier (required)
- Name
- Color
- View Mode (List, Kanban, Timeline)
- Kind (Task, Note)

>> use Additional Fields or JSON Parameters

6. Delete a Project

Parameters:

- Project identifier (required)

Credentials

  1. Add credential in your n8n instance and select TickTick OAuth2 API
  2. Visit: TickTick Developer
  3. Manage Apps > New App
  4. Copy Client ID and Client Secret > Paste in n8n credential
  5. Allow connection
  6. Account connected

Compatibility

Tested successfully with:

  • n8n Version: 1.32.2
  • Node Version: 18.19.1
  • npm Version: 10.5.0
  • No extra packages required

Known Issues

Start date / Due date Parameter

Both parameters will be implemented correctly in the next release. Until then, please refer to the TickTick API documentation for the correct input:

startDate Parameter: Subtask start date time in "yyyy-MM-dd'T'HH:mm:ssZ" Example : "2019-11-13T03:00:00+0000"

dueDate Parameter: Task due date time in "yyyy-MM-dd'T'HH:mm:ssZ" Example : "2019-11-13T03:00:00+0000"

TickTick API Response for Certain Requests

As of the current version of this project, it's important for users to be aware that the TickTick API has specific behaviors regarding the responses for certain operations. Notably:

  • No Content Responses: For some operations, such as deleting a project or completing a task, the TickTick API returns an HTTP status code indicating success (e.g., 200 OK) but does not include any response body. This means that while these operations can be successfully executed, the API does not provide additional data or confirmation in the response body.

  • Handling of API Responses: This custom node has been designed to interpret HTTP status codes as indicators of the success or failure of an operation. Since no further details are provided by the API for certain requests, the node generates its own success messages for user feedback. Users should rely on these status codes and custom messages for confirmation of operation outcomes.

  • API Documentation Discrepancies: Users may also encounter instances where the behavior of the TickTick API does not fully align with its documentation, particularly regarding the response data for certain requests. We recommend users to proceed with caution and validate the functionality through testing, especially for critical workflows.

This project's implementation takes these API characteristics into account, aiming to provide clear and useful feedback to users whenever possible. However, users are encouraged to conduct their own testing and verification to ensure the node meets their specific needs.

Future updates to the TickTick API may address these issues, and subsequent versions of this project will aim to incorporate any changes to enhance functionality and user experience.

Resources

Version history

  • 1.0.0 Initial release

n8n-nodes-ticktick's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

n8n-nodes-ticktick's Issues

Cannot create credentials

Hey man, thanks for the plugin!

I'm encountering this issue: can't create the credentials for TickTick API as specified in your README

image

It just doesn't see the option to create TickTick credentials. Any chance you know a quick fix?

Integrated dida365 login

Hello, I am a user from China and I really like the plugin you made. But TickTick has an independent app in China called dida365. Here is the API document for dida365. It looks like same with TickTick. I would like to know if it is possible to add an option to log in using the dida365 service in the credentials.

Get completed tasks (from 'project with data')

Tested the integration in the last days, and works mostly fine as far as I can say.

But there is one issue:
When executing the 'get project with data' node, I only receive the tasks that are currently open (status: 0, no completedTime ).
So every task that is completed is not available. Seems they are filtered somewhere (not sure if the API or the integration is filtering)

I want to create a daily log with all tasks completed that day, and for this appliance, I need to have all tasks within the project.

It would be great to have an option to get all data or to always get every tasks, so that filtering can be done afterwards.

Thanks for your help. If any more information is needed feel free to ask.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.