# TickTick

> Create and complete tasks in your TickTick lists directly from Lodol.

App · To-Do Lists · 2 actions. Web page: https://docs.lodol.com/docs/integrations/ticktick

## Actions

### Add task

Create a new task in TickTick.

**Inputs**

- Title (`title`, text, required): The task's title.
- Project ID (`project_id`, text): The ID of the list/project to add the task to. Leave blank to add it to your Inbox.
- Notes (`content`, text): Optional notes or description for the task.
- Priority (`priority`, text): The task's priority. One of: `0` (None), `1` (Low), `3` (Medium), `5` (High).
- Due date (`due_date`, date and time): An optional due date and time for the task.

**Outputs**

- `id` (text): The created task's ID.
- `projectId` (text): The ID of the project the task was added to.
- `title` (text): The task title.

**Example output**

```json
{
  "id": "6247ee29630c800f064fd145",
  "projectId": "inbox123456",
  "title": "Buy groceries"
}
```

### Complete task

Mark a TickTick task as completed.

**Inputs**

- Project ID (`project_id`, text, required): The ID of the project the task belongs to (from the task's details or 'Add task' result).
- Task ID (`task_id`, text, required): The ID of the task to complete.

**Outputs**

- `completed` (true/false): Whether the task was completed.
- `project_id` (text): The project's ID.
- `task_id` (text): The task's ID.

**Example output**

```json
{
  "completed": true,
  "project_id": "inbox123456",
  "task_id": "6247ee29630c800f064fd145"
}
```
