Skip to main content

Asana

Connects to the Asana REST API for managing workspaces, projects, and tasks. An agent can list workspaces and projects, and create, read, update, and search tasks.

Add to an agent node's tools array with _node_type: "tool-asana". See Connector Reference — How connectors are used.

Authentication

FieldRequiredDescription
access_tokenYesAsana Personal Access Token (or OAuth access token), sent as Authorization: Bearer <token>. Can come from a stored secret or an oauth_connection_id.
{
"name": "asana",
"_node_type": "tool-asana",
"access_token": "{{ secret.ASANA_ACCESS_TOKEN }}"
}

Tools

asana_list_workspaces

List all Asana workspaces. Use this to find workspace IDs.

No parameters.

Returns: A newline-separated list of - **<name>** gid: <gid> lines, or "No workspaces found.".

asana_list_projects

List projects in an Asana workspace.

Parameters

ParameterTypeRequiredDescription
workspace_gidstringYesWorkspace GID (use asana_list_workspaces to find)
limitnumberNoMax projects (default 20)

Returns: A newline-separated list of - **<name>** gid: <gid> lines, or "No projects found.".

asana_list_tasks

List tasks in an Asana project.

Parameters

ParameterTypeRequiredDescription
project_gidstringYesProject GID to list tasks from
limitnumberNoMax tasks (default 20)

Returns: A newline-separated list of [ ]/[x] checkbox-prefixed lines with the task name, due date, and gid, or "No tasks found.".

asana_get_task

Get full details of an Asana task.

Parameters

ParameterTypeRequiredDescription
task_gidstringYesAsana task GID

Returns: A formatted string with the task name, completed status, due date, and notes/description.

asana_create_task

Create a new task in an Asana project.

Parameters

ParameterTypeRequiredDescription
namestringYesTask name
project_gidstringYesProject GID to add task to
notesstringNoTask description/notes
due_onstringNoDue date (YYYY-MM-DD)
assignee_gidstringNoAssignee GID or me

Returns: A confirmation message with the new task's name and gid.

asana_update_task

Update an existing Asana task.

Parameters

ParameterTypeRequiredDescription
task_gidstringYesTask GID to update
namestringNoNew task name
notesstringNoNew notes
due_onstringNoNew due date (YYYY-MM-DD)
completedbooleanNoMark task as completed

Returns: A confirmation message with the updated task's name.

asana_search_tasks

Search for tasks across an Asana workspace.

Parameters

ParameterTypeRequiredDescription
workspace_gidstringYesWorkspace GID to search in
textstringYesSearch text

Returns: A newline-separated list of [ ]/[x] checkbox-prefixed lines with the task name and gid, or "No tasks found.".

Next