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.

FieldTypeRequiredDefaultConstraintsExample
name
Task name. Supports {{ }} expressions.
stringYes———
project
Project id to add the task to.
stringNo———
notes
Task notes/description.
stringNo———
workspace
Workspace gid to create the task in. Asana needs a workspace when no project or parent is given.
stringNo———
assignee
User gid, email address, or 'me' to assign the task to.
stringNo———
due_on
Due date as YYYY-MM-DD.
stringNo—matches ^\d{4}-\d{2}-\d{2}$—
parent
Task gid to create this task underneath, making it a subtask.
stringNo———
extra
Any other documented task field as JSON, e.g. {"html_notes": "<body>Hi</body>", "followers": ["12345"], "custom_fields": {"67890": "value"}}.
objectNo———

Output

One shape.

task

FieldTypeExample
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.