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.

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(
        external_user_id="<your_external_user_id>",
        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.103
  • Connector version: 0.1.14
  • Generated with Connector SDK commit SHA: 64ac3a66e77864c942825e7f9491a0a46e704d21
  • 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.103.tar.gz (149.6 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.103-py3-none-any.whl (170.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for airbyte_agent_asana-0.19.103.tar.gz
Algorithm Hash digest
SHA256 5b3bb016c44e342e0cb7754ff694e4edd951f29e7958093af5c46f2f2bcf2c0e
MD5 85231cc2a82f6a9c35e207994b4932d7
BLAKE2b-256 96b3610444645dab8c8c84e489e9c32ae703ae29cdcedec858fc093430a3438c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for airbyte_agent_asana-0.19.103-py3-none-any.whl
Algorithm Hash digest
SHA256 34ea15c884a8a8cde9dec068e4bec7912cf10a9753d2907bcfb4fa2365a08c79
MD5 1ba6c0dee65c7ab2a08bb820bf23edef
BLAKE2b-256 3d3a1fa2f4d441fe8e0483ddf8fb80beb46c5e0af1d46a1142e9c15c30c3fec4

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