ListTasks
List tasks from Todoist
Retrieves a list of tasks from Todoist with optional project filter
type: "io.kestra.plugin.todoist.ListTasks"Examples
List all active tasks
id: todoist_list_tasks
namespace: company.team
tasks:
- id: list_tasks
type: io.kestra.plugin.todoist.ListTasks
apiToken: "{{ secret('TODOIST_API_TOKEN') }}"
List tasks for a specific project
id: todoist_list_project_tasks
namespace: company.team
tasks:
- id: list_project_tasks
type: io.kestra.plugin.todoist.ListTasks
apiToken: "{{ secret('TODOIST_API_TOKEN') }}"
projectId: "2203306141"
fetchType: FETCH
Store tasks in internal storage for large datasets
id: todoist_store_tasks
namespace: company.team
tasks:
- id: store_tasks
type: io.kestra.plugin.todoist.ListTasks
apiToken: "{{ secret('TODOIST_API_TOKEN') }}"
fetchType: STORE
Properties
apiToken *Requiredstring
Todoist API token
Your Todoist API token for authentication. Get it from https://todoist.com/app/settings/integrations/developer
fetchType string
FETCHSTOREFETCHFETCH_ONENONEFetch Type
The way to fetch data: FETCH_ONE (first task only), FETCH (all tasks in memory), or STORE (store in internal storage for large datasets)
projectId string
Project ID
Filter tasks by project ID
Outputs
row object
Row
Single task when fetchType is FETCH_ONE
rows array
Rows
List of tasks when fetchType is FETCH
size integer
Size
Number of tasks retrieved
uri string
uriURI
URI of the stored file when fetchType is STORE