Back to Autogpt

Todoist Comments

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

0.6.444.0 KB
Original Source

Todoist Comments

<!-- MANUAL: file_description -->

Blocks for creating and managing comments on Todoist tasks and projects.

<!-- END MANUAL -->

Todoist Create Comment

What it is

Creates a new comment on a Todoist task or project

How it works

<!-- MANUAL: how_it_works -->

Takes comment content and task/project ID, creates comment via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
contentComment contentstrYes
id_typeSpecify either task_id or project_id to comment onId TypeNo
attachmentOptional file attachmentDict[str, Any]No

Outputs

OutputDescriptionType
errorError message if the operation failedstr
idID of created commentstr
contentComment contentstr
posted_atComment timestampstr
task_idAssociated task IDstr
project_idAssociated project IDstr

Possible use case

<!-- MANUAL: use_case -->

Adding notes and comments to tasks or projects automatically.

<!-- END MANUAL -->

Todoist Delete Comment

What it is

Deletes a Todoist comment

How it works

<!-- MANUAL: how_it_works -->

Uses comment ID to delete via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
comment_idComment ID to deletestrYes

Outputs

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

Possible use case

<!-- MANUAL: use_case -->

Removing outdated or incorrect comments from tasks/projects.

<!-- END MANUAL -->

Todoist Get Comment

What it is

Get a single comment from Todoist

How it works

<!-- MANUAL: how_it_works -->

Uses comment ID to retrieve details via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
comment_idComment ID to retrievestrYes

Outputs

OutputDescriptionType
errorError message if the operation failedstr
contentComment contentstr
idComment IDstr
posted_atComment timestampstr
project_idAssociated project IDstr
task_idAssociated task IDstr
attachmentOptional file attachmentDict[str, Any]

Possible use case

<!-- MANUAL: use_case -->

Looking up specific comment details for reference.

<!-- END MANUAL -->

Todoist Get Comments

What it is

Get all comments for a Todoist task or project

How it works

<!-- MANUAL: how_it_works -->

Uses task/project ID to get comments list via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
id_typeSpecify either task_id or project_id to get comments forId TypeNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
commentsList of commentsList[Any]

Possible use case

<!-- MANUAL: use_case -->

Reviewing comment history on tasks or projects.

<!-- END MANUAL -->

Todoist Update Comment

What it is

Updates a Todoist comment

How it works

<!-- MANUAL: how_it_works -->

Takes comment ID and new content, updates via Todoist API.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
comment_idComment ID to updatestrYes
contentNew content for the commentstrYes

Outputs

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

Possible use case

<!-- MANUAL: use_case -->

Modifying existing comments to fix errors or update information.

<!-- END MANUAL -->