Asana
App · Project Management · 7 actions
Create, update, and manage tasks, subtasks, comments, and followers in Asana.
Actions
| Action | What it does |
|---|---|
| Add a comment | Add a comment (story) to an Asana task. |
| Add followers | Add one or more followers to an Asana task. |
| Create a subtask | Create a subtask under an existing Asana task. |
| Create a task | Create a new Asana task in a workspace, and optionally in one or more of its projects. |
| Delete a task | Delete an Asana task by its task ID. |
| Get a task | Get the full details of an Asana task by its task ID. |
| Update a task | Update fields on an existing Asana task, such as its name, description, assignee, due date, or completion status. |
Add a comment
Add a comment (story) to an Asana task.
Inputs
- Task ID
task_gidtextRequired - The ID (gid) of the task to comment on.
- Comment
texttextRequired - The plain-text comment to add.
Outputs
Asana story (comment) object.
created_attextcreated_byobjectgidtext- The comment's unique ID.
resource_subtypetexttexttexttypetext
Example output
{
"created_by": {
"gid": "1200000000001",
"name": "Alex Kim"
},
"gid": "1300000000001",
"resource_subtype": "comment_added",
"text": "Looks good, approved to proceed."
}Add followers
Add one or more followers to an Asana task. Followers get notified about changes to the task.
Inputs
- Task ID
task_gidtextRequired - The ID (gid) of the task to add followers to.
- Followers
followerstextRequired - Comma-separated list of users to add as followers. Each can be a user ID, an email, or the word 'me'.
Outputs
Asana task object.
assigneeobjectcompletedtrue/falsecompleted_attextcreated_attextdue_attextdue_ontextfollowerslistgidtext- The task's unique ID.
modified_attextnametextnotestextnum_subtasksnumberparentobjectpermalink_urltextprojectslistresource_subtypetextstart_ontextworkspaceobject
Example output
{
"followers": [
{
"gid": "1200000000001",
"name": "Alex Kim"
},
{
"gid": "1200000000002",
"name": "Jordan Lee"
}
],
"gid": "1201234567890",
"name": "Review Q3 budget"
}Create a subtask
Create a subtask under an existing Asana task.
Inputs
- Parent task ID
parent_task_gidtextRequired - The ID (gid) of the task the subtask belongs to.
- Subtask name
nametextRequired - The title of the subtask.
- Description
notestext - The subtask description / notes.
- Assignee
assigneetext - The user to assign the subtask to: a user ID, an email, or the word 'me'.
- Due date
due_ondate - The day the subtask is due, in YYYY-MM-DD format.
Outputs
Asana task object.
assigneeobjectcompletedtrue/falsecompleted_attextcreated_attextdue_attextdue_ontextgidtext- The task's unique ID.
modified_attextnametextnotestextnum_subtasksnumberparentobjectpermalink_urltextprojectslistresource_subtypetextstart_ontextworkspaceobject
Example output
{
"completed": false,
"gid": "1209876543210",
"name": "Collect stakeholder feedback",
"parent": {
"gid": "1201234567890",
"name": "Review Q3 budget"
},
"permalink_url": "https://app.asana.com/0/0/1209876543210"
}Create a task
Create a new Asana task in a workspace, and optionally in one or more of its projects.
Inputs
- Task name
nametextRequired - The title of the task, for example, Review Q3 budget.
- Workspace
workspacetextRequired - The workspace to create the task in.
- Projects
projectslist - Projects to add the task to. Pick a workspace first to load its projects.
- Description
notestext - The task description / notes.
- Assignee
assigneetext - The workspace member to assign the task to. Pick a workspace first to load its members.
- Due date
due_ondate - The day the task is due, in YYYY-MM-DD format.
Outputs
Asana task object.
assigneeobjectcompletedtrue/falsecompleted_attextcreated_attextdue_attextdue_ontextgidtext- The task's unique ID.
modified_attextnametextnotestextnum_subtasksnumberparentobjectpermalink_urltextprojectslistresource_subtypetextstart_ontextworkspaceobject
Example output
{
"completed": false,
"due_on": "2024-06-15",
"gid": "1201234567890",
"name": "Review Q3 budget",
"permalink_url": "https://app.asana.com/0/0/1201234567890"
}Delete a task
Delete an Asana task by its task ID.
Inputs
- Task ID
task_gidtextRequired - The ID (gid) of the task to delete.
Outputs
deletedtrue/falsegidtext
Example output
{
"deleted": true,
"gid": "1201234567890"
}Get a task
Get the full details of an Asana task by its task ID.
Inputs
- Task ID
task_gidtextRequired - The ID (gid) of the task to fetch.
Outputs
Asana task object.
assigneeobjectcompletedtrue/falsecompleted_attextcreated_attextdue_attextdue_ontextgidtext- The task's unique ID.
modified_attextnametextnotestextnum_subtasksnumberparentobjectpermalink_urltextprojectslistresource_subtypetextstart_ontextworkspaceobject
Example output
{
"assignee": {
"gid": "1200000000001",
"name": "Alex Kim"
},
"completed": false,
"due_on": "2024-06-01",
"gid": "1201234567890",
"name": "Draft launch plan",
"notes": "Outline the Q3 launch steps.",
"permalink_url": "https://app.asana.com/0/0/1201234567890"
}Update a task
Update fields on an existing Asana task, such as its name, description, assignee, due date, or completion status.
Inputs
- Task ID
task_gidtextRequired - The ID (gid) of the task to update.
- Task name
nametext - A new title for the task.
- Description
notestext - A new description / notes for the task.
- Assignee
assigneetext - Reassign the task to a user ID, an email, or the word 'me'.
- Due date
due_ondate - A new due date, in YYYY-MM-DD format.
- Completed
completedtrue/false - Set to true to mark the task complete, false to reopen it.
Outputs
Asana task object.
assigneeobjectcompletedtrue/falsecompleted_attextcreated_attextdue_attextdue_ontextgidtext- The task's unique ID.
modified_attextnametextnotestextnum_subtasksnumberparentobjectpermalink_urltextprojectslistresource_subtypetextstart_ontextworkspaceobject
Example output
{
"completed": true,
"due_on": "2024-06-20",
"gid": "1201234567890",
"name": "Review Q3 budget (revised)",
"permalink_url": "https://app.asana.com/0/0/1201234567890"
}