Back to Autogpt

Todoist Projects

docs/integrations/block-integrations/todoist/projects.md

0.6.445.4 KB
Original Source

Todoist Projects

<!-- MANUAL: file_description -->

Blocks for creating and managing projects in Todoist.

<!-- END MANUAL -->

Todoist Create Project

What it is

Creates a new project in Todoist

How it works

<!-- MANUAL: how_it_works -->

Takes project details and creates via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
nameName of the projectstrYes
parent_idParent project IDstrNo
colorColor of the project icon"berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe"No
is_favoriteWhether the project is a favoriteboolNo
view_styleDisplay style (list or board)strNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
successWhether the creation was successfulbool

Possible use case

<!-- MANUAL: use_case -->

Creating new projects programmatically for workflow automation.

<!-- END MANUAL -->

Todoist Delete Project

What it is

Deletes a Todoist project and all its contents

How it works

<!-- MANUAL: how_it_works -->

Uses project ID to delete via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
project_idID of project to deletestrYes

Outputs

OutputDescriptionType
errorError message if the operation failedstr
successWhether the deletion was successfulbool

Possible use case

<!-- MANUAL: use_case -->

Removing completed or obsolete projects.

<!-- END MANUAL -->

Todoist Get Project

What it is

Gets details for a specific Todoist project

How it works

<!-- MANUAL: how_it_works -->

Uses project ID to retrieve details via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
project_idID of the project to get details forstrYes

Outputs

OutputDescriptionType
errorError message if the operation failedstr
project_idID of projectstr
project_nameName of projectstr
project_urlURL of projectstr
complete_dataComplete project data including all fieldsDict[str, Any]

Possible use case

<!-- MANUAL: use_case -->

Looking up project details for verification or editing.

<!-- END MANUAL -->

Todoist List Collaborators

What it is

Gets all collaborators for a specific Todoist project

How it works

<!-- MANUAL: how_it_works -->

Uses project ID to get collaborator list via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
project_idID of the project to get collaborators forstrYes

Outputs

OutputDescriptionType
errorError message if the operation failedstr
collaborator_idsList of collaborator IDsList[str]
collaborator_namesList of collaborator namesList[str]
collaborator_emailsList of collaborator email addressesList[str]
complete_dataComplete collaborator data including all fieldsList[Dict[str, Any]]

Possible use case

<!-- MANUAL: use_case -->

Managing project sharing and collaboration.

<!-- END MANUAL -->

Todoist List Projects

What it is

Gets all projects and their details from Todoist

How it works

<!-- MANUAL: how_it_works -->

Connects to Todoist API using provided credentials and retrieves all projects.

<!-- END MANUAL -->

Outputs

OutputDescriptionType
errorError message if the operation failedstr
names_listList of project namesList[str]
ids_listList of project IDsList[str]
url_listList of project URLsList[str]
complete_dataComplete project data including all fieldsList[Dict[str, Any]]

Possible use case

<!-- MANUAL: use_case -->

Getting an overview of all projects for organization or automation.

<!-- END MANUAL -->

Todoist Update Project

What it is

Updates an existing project in Todoist

How it works

<!-- MANUAL: how_it_works -->

Takes project ID and updated fields, applies via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
project_idID of project to updatestrYes
nameNew name for the projectstrNo
colorNew color for the project icon"berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe"No
is_favoriteWhether the project should be a favoriteboolNo
view_styleDisplay style (list or board)strNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
successWhether the update was successfulbool

Possible use case

<!-- MANUAL: use_case -->

Modifying project settings or reorganizing projects.

<!-- END MANUAL -->