Skip to main content

Airbyte Asana Connector for AI platforms

Project description

Asana

The Asana agent connector is a Python package that equips AI agents to interact with Asana through strongly typed, well-documented tools. It's ready to use directly in your Python app, in an agent framework, or exposed through an MCP.

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
  • Show me the tasks for a recent project
  • Who are the team members in one of my teams?
  • Show me details of my current workspace and its users
  • Summarize my team's workload and task completion rates
  • 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

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. If your Airbyte client can access multiple organizations, also set organization_id.

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, AirbyteAuthConfig

connector = AsanaConnector(
    auth_config=AirbyteAuthConfig(
        customer_name="<your_customer_name>",
        organization_id="<your_organization_id>",  # Optional for multi-org clients
        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

Entities and actions

This connector supports the following entities and actions. For more details, see this connector's full reference documentation.

Entity Actions
Tasks List, Get, Search
Project Tasks List
Workspace Task Search List
Projects List, Get, Search
Task Projects List
Team Projects List
Workspace Projects List
Workspaces List, Get, Search
Users List, Get, Search
Workspace Users List
Team Users List
Teams Get, Search
Workspace Teams List
User Teams List
Attachments List, Get, Download, Search
Workspace Tags List
Tags Get, Search
Project Sections List
Sections Get, Search
Task Subtasks List
Task Dependencies List
Task Dependents List

Authentication

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

Asana API docs

See the official Asana API reference.

Version information

  • Package version: 0.19.124
  • Connector version: 0.1.16
  • Generated with Connector SDK commit SHA: 20f00dda69661bd8f1fe16371d553e41a819e109
  • Changelog: View changelog

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airbyte_agent_asana-0.19.124.tar.gz (167.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airbyte_agent_asana-0.19.124-py3-none-any.whl (190.3 kB view details)

Uploaded Python 3

File details

Details for the file airbyte_agent_asana-0.19.124.tar.gz.

File metadata

  • Download URL: airbyte_agent_asana-0.19.124.tar.gz
  • Upload date:
  • Size: 167.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for airbyte_agent_asana-0.19.124.tar.gz
Algorithm Hash digest
SHA256 7f296ec1a6800d52f8143f5389c944dbe3f67c20961515f0eac8f52d25602abd
MD5 6cc626bcc9b2eea8e589cfa76de19193
BLAKE2b-256 6398768daa11b6e2c9b27c088749ecbfa2fa0564de63223f529c55b72ec1606f

See more details on using hashes here.

File details

Details for the file airbyte_agent_asana-0.19.124-py3-none-any.whl.

File metadata

File hashes

Hashes for airbyte_agent_asana-0.19.124-py3-none-any.whl
Algorithm Hash digest
SHA256 7eb3ad115d5eb56ab722714982be9ce1c06ed3b13c204b09593d05390fd182aa
MD5 18e2673f99c7aff5330fc0bf1cb8ad72
BLAKE2b-256 edf686e18a05724d0af12463d00ce31109ac83b40fadbaf675b53d633eabe768

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page