Skip to main content

Create task

Create a task in a project (optionally in one of its sections), in a workspace, or as a subtask of another task.

Command in the Asana toolkit · id ooa.asana/create_task · 14 inputs (2 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNohttps://app.asana.com/api/1.0API address. Keep the default unless your company routes Asana through a proxy.
TokenCredentialYesPersonal access token or OAuth token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
NameStringYesTask name.
Project IDStringNoProject to add the task to. Give this or workspace_id.
Section IDStringNoSection of the project to place the task in: its name or id.
Workspace IDStringNoWorkspace, when the task belongs to no project.
NotesStringNoTask description.
AssigneeStringNoUser id, an email address, or me for the token's own user.
Due onStringNoDue date as YYYY-MM-DD.
Tag IDsListNoTag ids to add.
Follower IDsListNoUsers to follow the task: ids, emails or me.
Custom fieldsDictionaryNoCustom field id to value, e.g. {"1201234567890": "High"}. For drop-downs use the option id.
Parent task IDStringNoCreate the task as a subtask of this task; then project_id and workspace_id may stay empty.
CompletedBooleanNofalseCreate the task already marked complete, e.g. to record work that is done.

Outputs​

OutputTypeWhat it is
task_idStringId of the new task.
urlStringWeb address of the task.