Create Task
asana.create_task
ActionBusiness appsconnection required
Calls the Asana API POST /tasks.
Create a task in Asana.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Asana
- Secret shape
- the Asana personal access token
- Resolved by
- config.connection_id, else node.connection_id
Configuration
8 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
name Task name. Supports {{ }} expressions. | string | Yes | — | — | — |
project Project id to add the task to. | string | No | — | — | — |
notes Task notes/description. | string | No | — | — | — |
workspace Workspace gid to create the task in. Asana needs a workspace when no project or parent is given. | string | No | — | — | — |
assignee User gid, email address, or 'me' to assign the task to. | string | No | — | — | — |
due_on Due date as YYYY-MM-DD. | string | No | — | matches ^\d{4}-\d{2}-\d{2}$ | — |
parent Task gid to create this task underneath, making it a subtask. | string | No | — | — | — |
extra Any other documented task field as JSON, e.g. {"html_notes": "<body>Hi</body>", "followers": ["12345"], "custom_fields": {"67890": "value"}}. | object | No | — | — | — |
Output
One shape.
task
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
task_id | string | — |
url | string | — |
{
"ok": false,
"task_id": "",
"url": ""
}Notes
- Asana refuses a task with no home: give a project, a workspace, or a parent.
See Create Task run in a workflow.
In a technical demo we add the Asana connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.