docs/integrations/block-integrations/todoist.md
A block that creates a new label in Todoist.
Creates a new label in Todoist with specified name, order, color and favorite status.
It takes label details as input, connects to Todoist API, creates the label and returns the created label's details.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Name | Name of the label |
| Order | Optional label order |
| Color | Optional color of the label icon |
| Is Favorite | Whether label is marked as favorite |
| Output | Description |
|---|---|
| ID | ID of the created label |
| Name | Name of the label |
| Color | Color of the label |
| Order | Label order |
| Is Favorite | Favorite status |
| Error | Error message if request failed |
Creating new labels to organize and categorize tasks in Todoist.
A block that retrieves all personal labels from Todoist.
Fetches all personal labels from the user's Todoist account.
Connects to Todoist API using provided credentials and retrieves all labels.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Output | Description |
|---|---|
| Labels | List of complete label data |
| Label IDs | List of label IDs |
| Label Names | List of label names |
| Error | Error message if request failed |
Getting an overview of all labels to organize tasks or find specific labels.
A block that retrieves a specific label by ID.
Fetches details of a specific label using its ID.
Uses the label ID to retrieve label details from Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Label ID | ID of label to retrieve |
| Output | Description |
|---|---|
| ID | Label ID |
| Name | Label name |
| Color | Label color |
| Order | Label order |
| Is Favorite | Favorite status |
| Error | Error message if request failed |
Looking up details of a specific label for editing or verification.
A block that creates a new task in Todoist.
Creates a new task with specified content, description, project assignment and other optional parameters.
Takes task details and creates a new task via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Content | Task content |
| Description | Optional task description |
| Project ID | Optional project to add task to |
| Section ID | Optional section to add task to |
| Parent ID | Optional parent task ID |
| Order | Optional task order |
| Labels | Optional task labels |
| Priority | Optional priority (1-4) |
| Due Date | Optional due date |
| Deadline Date | Optional deadline date |
| Assignee ID | Optional assignee |
| Duration Unit | Optional duration unit |
| Duration | Optional duration amount |
| Output | Description |
|---|---|
| ID | Created task ID |
| URL | Task URL |
| Complete Data | Complete task data |
| Error | Error message if request failed |
Creating new tasks with full customization of parameters.
A block that retrieves active tasks from Todoist.
Fetches tasks based on optional filters like project, section, label etc.
Queries Todoist API with provided filters to get matching tasks.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Project ID | Optional filter by project |
| Section ID | Optional filter by section |
| Label | Optional filter by label |
| Filter | Optional custom filter string |
| Lang | Optional filter language |
| IDs | Optional specific task IDs |
| Output | Description |
|---|---|
| IDs | List of task IDs |
| URLs | List of task URLs |
| Complete Data | Complete task data |
| Error | Error message if request failed |
Retrieving tasks matching specific criteria for review or processing.
A block that updates an existing task.
Updates specified fields of an existing task.
Takes task ID and updated fields, applies changes via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Task ID | ID of task to update |
| Content | New task content |
| Description | New description |
| Project ID | New project ID |
| Section ID | New section ID |
| Parent ID | New parent task ID |
| Order | New order |
| Labels | New labels |
| Priority | New priority |
| Due Date | New due date |
| Deadline Date | New deadline date |
| Assignee ID | New assignee |
| Duration Unit | New duration unit |
| Duration | New duration |
| Output | Description |
|---|---|
| Success | Whether update succeeded |
| Error | Error message if failed |
Modifying task details like due dates, priority etc.
A block that completes/closes a task.
Marks a task as complete in Todoist.
Uses task ID to mark it complete via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Task ID | ID of task to close |
| Output | Description |
|---|---|
| Success | Whether task was closed |
| Error | Error message if failed |
Marking tasks as done in automated workflows.
A block that reopens a completed task.
Marks a completed task as active again.
Uses task ID to reactivate via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Task ID | ID of task to reopen |
| Output | Description |
|---|---|
| Success | Whether task was reopened |
| Error | Error message if failed |
Reactivating tasks that were closed accidentally or need to be repeated.
A block that permanently deletes a task.
Removes a task completely from Todoist.
Uses task ID to delete via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Task ID | ID of task to delete |
| Output | Description |
|---|---|
| Success | Whether deletion succeeded |
| Error | Error message if failed |
Removing unwanted or obsolete tasks from the system.
A block that retrieves all projects from Todoist.
Fetches all projects and their details from a user's Todoist account.
Connects to Todoist API using provided credentials and retrieves all projects.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Output | Description |
|---|---|
| Names List | List of project names |
| IDs List | List of project IDs |
| URL List | List of project URLs |
| Complete Data | Complete project data |
| Error | Error message if request failed |
Getting an overview of all projects for organization or automation.
A block that creates a new project in Todoist.
Creates a new project with specified name, parent project, color and other settings.
Takes project details and creates via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Name | Name of the project |
| Parent ID | Optional parent project ID |
| Color | Optional color of project icon |
| Is Favorite | Whether project is favorite |
| View Style | Display style (list/board) |
| Output | Description |
|---|---|
| Success | Whether creation succeeded |
| Error | Error message if failed |
Creating new projects programmatically for workflow automation.
A block that retrieves details for a specific project.
Fetches complete details of a single project by ID.
Uses project ID to retrieve details via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Project ID | ID of project to get |
| Output | Description |
|---|---|
| Project ID | ID of the project |
| Project Name | Name of the project |
| Project URL | URL of the project |
| Complete Data | Complete project data |
| Error | Error message if failed |
Looking up project details for verification or editing.
A block that updates an existing project.
Updates specified fields of an existing project.
Takes project ID and updated fields, applies via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Project ID | ID of project to update |
| Name | New project name |
| Color | New color for icon |
| Is Favorite | New favorite status |
| View Style | New display style |
| Output | Description |
|---|---|
| Success | Whether update succeeded |
| Error | Error message if failed |
Modifying project settings or reorganizing projects.
A block that deletes a project and its contents.
Permanently removes a project including sections and tasks.
Uses project ID to delete via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Project ID | ID of project to delete |
| Output | Description |
|---|---|
| Success | Whether deletion succeeded |
| Error | Error message if failed |
Removing completed or obsolete projects.
A block that retrieves collaborators on a project.
Fetches all collaborators and their details for a specific project.
Uses project ID to get collaborator list via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Project ID | ID of project to check |
| Output | Description |
|---|---|
| Collaborator IDs | List of collaborator IDs |
| Collaborator Names | List of collaborator names |
| Collaborator Emails | List of collaborator emails |
| Complete Data | Complete collaborator data |
| Error | Error message if failed |
Managing project sharing and collaboration.
A block that retrieves sections from Todoist.
Fetches all sections, optionally filtered by project.
Connects to Todoist API to retrieve sections list.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Project ID | Optional project filter |
| Output | Description |
|---|---|
| Names List | List of section names |
| IDs List | List of section IDs |
| Complete Data | Complete section data |
| Error | Error message if failed |
Getting section information for task organization.
A block that retrieves details for a specific section.
Fetches complete details of a single section by ID.
Uses section ID to retrieve details via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Section ID | ID of section to get |
| Output | Description |
|---|---|
| ID | Section ID |
| Project ID | Parent project ID |
| Order | Section order |
| Name | Section name |
| Error | Error message if failed |
Looking up section details for task management.
A block that deletes a section and its tasks.
Permanently removes a section including all tasks.
Uses section ID to delete via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Section ID | ID of section to delete |
| Output | Description |
|---|---|
| Success | Whether deletion succeeded |
| Error | Error message if failed |
Removing unused sections or reorganizing projects.
A block that creates a new comment on a Todoist task or project.
Creates a comment with specified content on either a task or project.
Takes comment content and task/project ID, creates comment via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Content | Comment content |
| ID Type | Task ID or Project ID to comment on |
| Attachment | Optional file attachment |
| Output | Description |
|---|---|
| ID | ID of created comment |
| Content | Comment content |
| Posted At | Comment timestamp |
| Task ID | Associated task ID |
| Project ID | Associated project ID |
| Error | Error message if request failed |
Adding notes and comments to tasks or projects automatically.
A block that retrieves all comments for a task or project.
Fetches all comments associated with a specific task or project.
Uses task/project ID to get comments list via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| ID Type | Task ID or Project ID to get comments for |
| Output | Description |
|---|---|
| Comments | List of comments |
| Error | Error message if request failed |
Reviewing comment history on tasks or projects.
A block that retrieves a specific comment by ID.
Fetches details of a single comment using its ID.
Uses comment ID to retrieve details via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Comment ID | ID of comment to retrieve |
| Output | Description |
|---|---|
| Content | Comment content |
| ID | Comment ID |
| Posted At | Comment timestamp |
| Project ID | Associated project ID |
| Task ID | Associated task ID |
| Attachment | Optional file attachment |
| Error | Error message if request failed |
Looking up specific comment details for reference.
A block that updates an existing comment.
Updates the content of a specific comment.
Takes comment ID and new content, updates via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Comment ID | ID of comment to update |
| Content | New content for the comment |
| Output | Description |
|---|---|
| Success | Whether update succeeded |
| Error | Error message if request failed |
Modifying existing comments to fix errors or update information.
A block that deletes a comment.
Permanently removes a comment from a task or project.
Uses comment ID to delete via Todoist API.
| Input | Description |
|---|---|
| Credentials | Todoist API credentials |
| Comment ID | ID of comment to delete |
| Output | Description |
|---|---|
| Success | Whether deletion succeeded |
| Error | Error message if request failed |
Removing outdated or incorrect comments from tasks/projects.