CreateTask
Create a new task in Todoist
Creates a new task in Todoist with the specified content and optional parameters
type: "io.kestra.plugin.todoist.CreateTask"Examples
Create a simple task
id: todoist_create_task
namespace: company.team
tasks:
- id: create_task
type: io.kestra.plugin.todoist.CreateTask
apiToken: "{{ secret('TODOIST_API_TOKEN') }}"
content: "Review pull requests"
Create a task with description and priority
id: todoist_create_urgent_task
namespace: company.team
tasks:
- id: create_urgent_task
type: io.kestra.plugin.todoist.CreateTask
apiToken: "{{ secret('TODOIST_API_TOKEN') }}"
content: "Deploy to production"
taskDescription: "Deploy version 2.0 after testing"
priority: 4
dueString: "tomorrow"
Properties
apiToken *Requiredstring
Todoist API token
Your Todoist API token for authentication. Get it from https://todoist.com/app/settings/integrations/developer
content *Requiredstring
Task content
The content/title of the task
dueString string
Due string
Human-defined task due date (e.g., 'tomorrow', 'next Monday', '2025-12-31')
priority integerstring
Priority
Task priority from 1 (normal) to 4 (urgent)
projectId string
Project ID
The ID of the project to add the task to
taskDescription string
Task description
A description for the task
Outputs
taskId string
Task ID
The ID of the created task
url string
Task URL
The URL to view the task in Todoist