Todoist

Todoist logo

Todoist

Connect your Todoist data to Airweave

Overview

The Todoist connector allows you to sync data from Todoist into Airweave, making it available for search and retrieval by your agents.

Configuration

TodoistSource

Todoist source implementation.

This connector retrieves hierarchical data from the Todoist REST API:

  • Projects
  • Sections (within each project)
  • Tasks (within each project, optionally nested under a section)
  • Comments (within each task)

The Todoist entity schemas are defined in entities/todoist.py.

Authentication

This connector uses OAuth 2.0 authentication flow.

You can connect through the Airweave UI, which will guide you through the OAuth flow.

Entities

The following data models are available for this connector:

Schema for Todoist project entities.

FieldTypeDescription
namestrThe name of the project
colorOptional[str]Color of the project (e.g., ‘grey’, ‘blue’)
comment_countintNumber of comments in the project
orderintProject order in the project list
is_sharedboolWhether the project is shared with others
is_favoriteboolWhether the project is marked as a favorite
is_inbox_projectboolWhether this is the Inbox project
is_team_inboxboolWhether this is the team Inbox project
view_styleOptional[str]Project view style (‘list’ or ‘board’)
urlOptional[str]URL to access the project
parent_idOptional[str]ID of the parent project if nested

Schema for Todoist section entities.

FieldTypeDescription
namestrThe name of the section
project_idstrID of the project this section belongs to
orderintSection order in the project

Schema for Todoist task entities.

FieldTypeDescription
contentstrThe task content/title
descriptionOptional[str]Optional detailed description of the task
comment_countintNumber of comments on the task
is_completedboolWhether the task is completed
labelsList[str]List of label names attached to the task
orderintTask order in the project or section
priorityintTask priority (1-4, 4 is highest)
project_idOptional[str]ID of the project this task belongs to
section_idOptional[str]ID of the section this task belongs to
parent_idOptional[str]ID of the parent task if subtask
creator_idOptional[str]ID of the user who created the task
created_atOptional[datetime]When the task was created
due_dateOptional[str]Due date in YYYY-MM-DD format
due_datetimeOptional[datetime]Due date and time
due_stringOptional[str]Original due date string (e.g., ‘tomorrow’)
due_is_recurringboolWhether the task is recurring
due_timezoneOptional[str]Timezone for the due date
urlOptional[str]URL to access the task

Schema for Todoist comment entities.

FieldTypeDescription
task_idstrID of the task this comment belongs to
contentOptional[str]The comment content
posted_atdatetimeWhen the comment was posted