Add Task to Project

asana.add_task_to_project
ActionBusiness appsconnection required

Calls the Asana API with the connection's credentials.

Add an existing task to a project, optionally at a chosen position.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
Asana
Secret shape
the Asana personal access token, or {"token": "…"}
Resolved by
config.connection_id, else node.connection_id

Configuration

5 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
task_gid
The task's gid.
stringYes———
project
The project gid to add the task to.
stringYes———
section
Section gid within that project to drop the task into.
stringNo———
insert_after
Place the task after this task gid, or '' for the end of the list.
stringNo———
insert_before
Place the task before this task gid, or '' for the start of the list.
stringNo———

Output

One shape.

result

FieldTypeExample
ok
True when Asana accepted the change.
boolean—
task_gid
The task that was added.
string—
project
The project it was added to.
string—
{
  "ok": false,
  "project": "",
  "task_gid": ""
}

See Add Task to Project 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.