Skip to main content

Asana agent connector

Asana is a work management platform that helps teams organize, track, and manage projects and tasks. This connector provides access to tasks, projects, workspaces, teams, and users for project tracking, workload analysis, and productivity insights.

Example questions

The Asana connector is optimized to handle prompts like these.

  • What tasks are assigned to me this week?
  • List all projects in my workspace
  • Summarize my team's workload and task completion rates
  • Show me the tasks for the {project_name} project
  • Who are the team members in my {team_name} team?
  • Find all tasks related to {client_name} across my workspaces
  • Analyze the most active projects in my workspace last month
  • Compare task completion rates between my different teams
  • Identify overdue tasks across all my projects
  • Show me details of my current workspace and its users

Unsupported questions

The Asana connector isn't currently able to handle prompts like these.

  • Create a new task for [TeamMember]
  • Update the priority of this task
  • Delete the project [ProjectName]
  • Schedule a new team meeting
  • Add a new team member to [Workspace]
  • Move this task to another project

Installation

uv pip install airbyte-agent-asana

Usage

Connectors can run in open source or hosted mode.

Open source

In open source mode, you provide API credentials directly to the connector.

from airbyte_agent_asana import AsanaConnector
from airbyte_agent_asana.models import AsanaPersonalAccessTokenAuthConfig

connector = AsanaConnector(
auth_config=AsanaPersonalAccessTokenAuthConfig(
token="<Your Asana Personal Access Token. Generate one at https://app.asana.com/0/my-apps>"
)
)

@agent.tool_plain # assumes you're using Pydantic AI
@AsanaConnector.tool_utils
async def asana_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})

Hosted

In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.

This example assumes you've already authenticated your connector with Airbyte. See Authentication to learn more about authenticating. If you need a step-by-step guide, see the hosted execution tutorial.

from airbyte_agent_asana import AsanaConnector

connector = AsanaConnector(
external_user_id="<your-scoped-token>",
airbyte_client_id="<your-client-id>",
airbyte_client_secret="<your-client-secret>"
)

@agent.tool_plain # assumes you're using Pydantic AI
@AsanaConnector.tool_utils
async def asana_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})

Full documentation

This connector supports the following entities and actions.

EntityActions
TasksList, Get
Project TasksList
Workspace Task SearchList
ProjectsList, Get
Task ProjectsList
Team ProjectsList
Workspace ProjectsList
WorkspacesList, Get
UsersList, Get
Workspace UsersList
Team UsersList
TeamsGet
Workspace TeamsList
User TeamsList
AttachmentsList, Get, Download
Workspace TagsList
TagsGet
Project SectionsList
SectionsGet
Task SubtasksList
Task DependenciesList
Task DependentsList

For all authentication options, see the connector's authentication documentation.

For detailed documentation on available actions and parameters, see this connector's full reference documentation.

For the service's official API docs, see the Asana API reference.

Version information

  • Package version: 0.19.61
  • Connector version: 0.1.8
  • Generated with Connector SDK commit SHA: 609c1d86c76b36ff699b57123a5a8c2050d958c3