CreateTask​Create​Task

Create a new task in Todoist

Creates a new task in Todoist with the specified content and optional parameters

yaml
type: "io.kestra.plugin.todoist.CreateTask"

Create a simple task

yaml
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

yaml
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

Todoist API token

Your Todoist API token for authentication. Get it from https://todoist.com/app/settings/integrations/developer

Task content

The content/title of the task

Due string

Human-defined task due date (e.g., 'tomorrow', 'next Monday', '2025-12-31')

Priority

Task priority from 1 (normal) to 4 (urgent)

Project ID

The ID of the project to add the task to

Task description

A description for the task

Task ID

The ID of the created task

Task URL

The URL to view the task in Todoist