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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Endpoint address | String | No | https://app.asana.com/api/1.0 | API address. Keep the default unless your company routes Asana through a proxy. |
| Token | Credential | Yes | Personal 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. | |
| Name | String | Yes | Task name. | |
| Project ID | String | No | Project to add the task to. Give this or workspace_id. | |
| Section ID | String | No | Section of the project to place the task in: its name or id. | |
| Workspace ID | String | No | Workspace, when the task belongs to no project. | |
| Notes | String | No | Task description. | |
| Assignee | String | No | User id, an email address, or me for the token's own user. | |
| Due on | String | No | Due date as YYYY-MM-DD. | |
| Tag IDs | List | No | Tag ids to add. | |
| Follower IDs | List | No | Users to follow the task: ids, emails or me. | |
| Custom fields | Dictionary | No | Custom field id to value, e.g. {"1201234567890": "High"}. For drop-downs use the option id. | |
| Parent task ID | String | No | Create the task as a subtask of this task; then project_id and workspace_id may stay empty. | |
| Completed | Boolean | No | false | Create the task already marked complete, e.g. to record work that is done. |
Outputs
| Output | Type | What it is |
|---|---|---|
| task_id | String | Id of the new task. |
| url | String | Web address of the task. |