Skip to main content
Asana is a powerful project management platform designed to organize work, track tasks, and streamline team collaboration. Through the Asana API, developers can programmatically manage workspaces, users, projects, tasks, dependencies, and portfolios. The AsanaHandler provides a clean, asynchronous interface for integrating Asana capabilities into agentic and automation-driven workflows.

Example

To create the AsanaHandler object, initialize it with your Asana Personal Access Token (PAT). The handler authenticates using the Asana API client and exposes core operations as tools.
Get Workspaces:
Retrieves all Asana workspaces accessible to the authenticated user.
Tasks:
Create Task:
Creates a new task in a specified workspace with optional project, assignee, and due date.
Update Task:
Updates task details such as name, completion status, assignee, or due date.
Delete Task:
Deletes a task permanently from Asana.
Users:
Get Users:
Retrieves all users across all accessible workspaces.
Projects:
Get Projects:
Fetches all projects across accessible workspaces.
Task Dependencies:
Get Task Dependencies:
Retrieves tasks that must be completed before a given task.
Get Task Dependents:
Retrieves tasks that depend on the given task.
Portfolios:
Get Portfolios:
Retrieves all portfolios across accessible workspaces and users.