Back to Autogpt

Todoist Sections

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

0.6.442.3 KB
Original Source

Todoist Sections

<!-- MANUAL: file_description -->

Blocks for managing sections within Todoist projects.

<!-- END MANUAL -->

Todoist Delete Section

What it is

Deletes a section and all its tasks from Todoist

How it works

<!-- MANUAL: how_it_works -->

Uses section ID to delete via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
section_idID of section to deletestrYes

Outputs

OutputDescriptionType
errorError message if the operation failedstr
successWhether section was successfully deletedbool

Possible use case

<!-- MANUAL: use_case -->

Removing unused sections or reorganizing projects.

<!-- END MANUAL -->

Todoist Get Section

What it is

Gets a single section by ID from Todoist

How it works

<!-- MANUAL: how_it_works -->

Uses section ID to retrieve details via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
section_idID of section to fetchstrYes

Outputs

OutputDescriptionType
errorError message if the operation failedstr
idID of sectionstr
project_idProject ID the section belongs tostr
orderOrder of the sectionint
nameName of the sectionstr

Possible use case

<!-- MANUAL: use_case -->

Looking up section details for task management.

<!-- END MANUAL -->

Todoist List Sections

What it is

Gets all sections and their details from Todoist

How it works

<!-- MANUAL: how_it_works -->

Connects to Todoist API to retrieve sections list.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
project_idOptional project ID to filter sectionsstrYes

Outputs

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

Possible use case

<!-- MANUAL: use_case -->

Getting section information for task organization.

<!-- END MANUAL -->