← Todoist

Create Task with Todoist API

Pipedream makes it easy to connect APIs for Todoist and 1200+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Create Task with the Todoist API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to Create Task with the Todoist API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Create Task action
    1. Connect your Todoist account
    2. Configure Content
    3. Optional- Configure Description
    4. Optional- Select a Project
    5. Optional- Select a Section
    6. Optional- Select a Parent
    7. Optional- Configure Order
    8. Optional- Select one or more Labels
    9. Optional- Configure Priority
    10. Optional- Configure Due String
    11. Optional- Configure Due Date
    12. Optional- Configure Due Datetime
    13. Optional- Configure Due Language
    14. Optional- Select a Assignee
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Create Task with Todoist API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Todoist
 
Try it
Create Task with Todoist API on New Item in Feed from RSS API
RSS + Todoist
 
Try it
Create Task with Todoist API on New Message from Discord API
Discord + Todoist
 
Try it
Create Task with Todoist API on New Message In Channels from Slack API
Slack + Todoist
 
Try it
Create Task with Todoist API on New Message in Channel from Discord Bot API
Discord Bot + Todoist
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Create Task on Todoist
Description:Creates a task. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-task)
Version:0.0.3
Key:todoist-create-task

Code

import todoist from "../../todoist.app.mjs";

export default {
  key: "todoist-create-task",
  name: "Create Task",
  description: "Creates a task. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-task)",
  version: "0.0.3",
  type: "action",
  props: {
    todoist,
    content: {
      propDefinition: [
        todoist,
        "content",
      ],
      description: "Task Content",
      optional: false,
    },
    description: {
      propDefinition: [
        todoist,
        "description",
      ],
    },
    project: {
      propDefinition: [
        todoist,
        "project",
      ],
      description: "Task project. If not set, task is put to user's Inbox.",
      optional: true,
    },
    section: {
      propDefinition: [
        todoist,
        "section",
        (c) => ({
          project: c.project,
        }),
      ],
      description: "The section to put task into",
      optional: true,
    },
    parent: {
      propDefinition: [
        todoist,
        "task",
        (c) => ({
          project: c.project,
          section: c.section,
        }),
      ],
      label: "Parent",
      description: "Parent task",
      optional: true,
    },
    order: {
      propDefinition: [
        todoist,
        "order",
      ],
    },
    labels: {
      propDefinition: [
        todoist,
        "labelString",
      ],
    },
    priority: {
      propDefinition: [
        todoist,
        "priority",
      ],
    },
    dueString: {
      propDefinition: [
        todoist,
        "dueString",
      ],
    },
    dueDate: {
      propDefinition: [
        todoist,
        "dueDate",
      ],
    },
    dueDatetime: {
      propDefinition: [
        todoist,
        "dueDatetime",
      ],
    },
    dueLang: {
      propDefinition: [
        todoist,
        "dueLang",
      ],
    },
    assignee: {
      propDefinition: [
        todoist,
        "assignee",
        (c) => ({
          project: c.project,
        }),
      ],
    },
  },
  async run ({ $ }) {
    const {
      content,
      description,
      project,
      section,
      parent,
      order,
      labels,
      priority,
      dueString,
      dueDate,
      dueDatetime,
      dueLang,
      assignee,
    } = this;
    const data = {
      content,
      description,
      project_id: project,
      section_id: section,
      parent_id: parent,
      order,
      labels,
      priority,
      due_string: dueString,
      due_date: dueDate,
      due_datetime: dueDatetime,
      due_lang: dueLang,
      assignee,
    };
    const resp = await this.todoist.createTask({
      $,
      data,
    });
    $.export("$summary", "Successfully created task");
    return resp;
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
TodoisttodoistappThis component uses the Todoist app.
Contentcontentstring

Task Content

Descriptiondescriptionstring

Task description

ProjectprojectstringSelect a value from the drop down menu.
SectionsectionstringSelect a value from the drop down menu.
ParentparentstringSelect a value from the drop down menu.
Orderorderinteger

Order in a list

Labelslabelsstring[]Select a value from the drop down menu.
Prioritypriorityinteger

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

Due StringdueStringstring

Human defined task due date (ex.: "next Monday", "Tomorrow"). Value is set using local (not UTC) time.

Due DatedueDatestring

Specific date in YYYY-MM-DD format relative to user’s timezone

Due DatetimedueDatetimestring

Specific date and time in RFC3339 format in UTC.

Due LanguagedueLangstring

2-letter code specifying language in case due_string is not written in English

AssigneeassigneestringSelect a value from the drop down menu.

Authentication

Todoist uses OAuth authentication. When you connect your Todoist account, Pipedream will open a popup window where you can sign into Todoist and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Todoist API.

Pipedream requests the following authorization scopes when you connect your account:

task:adddata:read_writedata:deleteproject:delete

About Todoist

The to do list to organize work & life

More Ways to Use Todoist

Triggers

New or Modified Task from the Todoist API

Emit new event for each new or modified task. See the docs here

 
Try it
New Completed Task from the Todoist API

Emit new event for each completed task. See the docs here

 
Try it
New Incomplete Task from the Todoist API

Emit new event for each new incomplete task. See the docs here

 
Try it
New or Modified Project from the Todoist API

Emit new event for each new or modified project. See the docs here

 
Try it
New Project from the Todoist API

Emit new event for each new project. See the docs here

 
Try it

Actions

Create Filter with the Todoist API

Creates a filter. See the docs here

 
Try it
Create Label with the Todoist API

Creates a label. See the docs here

 
Try it
Create Project with the Todoist API

Creates a project. See the docs here

 
Try it
Create Project Comment with the Todoist API

Adds a comment to a project. See the docs here

 
Try it
Create Section with the Todoist API

Creates a section. See the docs here

 
Try it

Explore Other Apps

1
-
12
of
1200+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.