Connectors
Asana
Enabling Agentforce agents to interact with Asana for project management, task creation, and workflow automation.
The Asana Connector for ACP empowers Agentforce agents to manage projects, create and assign tasks, track progress, and automate workflow processes within your Asana workspace.
Purpose and Capabilities
This Connector provides tools to interact with Asana’s API for comprehensive project and task management:
Tool Name | Description | Example Inputs |
---|---|---|
asana_create_task | Creates a new task in a project or workspace. | name , notes , assignee_gid , project_gid , due_date , priority |
asana_get_task | Retrieves details of a specific task. | task_gid , fields_to_include |
asana_update_task | Updates an existing task’s properties. | task_gid , name , notes , assignee_gid , completed , due_date |
asana_delete_task | Deletes a task from the workspace. | task_gid |
asana_list_tasks | Lists tasks based on filter criteria. | project_gid , assignee_gid , completed_since , modified_since , limit |
asana_create_project | Creates a new project in a workspace or team. | name , notes , team_gid , workspace_gid , layout , privacy_setting |
asana_get_project | Retrieves details of a specific project. | project_gid , fields_to_include |
asana_list_projects | Lists projects in a workspace or team. | workspace_gid , team_gid , archived , limit |
asana_add_task_to_project | Adds an existing task to a project. | task_gid , project_gid , insert_after , insert_before |
asana_create_subtask | Creates a subtask under a parent task. | parent_task_gid , name , notes , assignee_gid , due_date |
asana_get_user | Retrieves user information by user GID. | user_gid , fields_to_include |
asana_list_users | Lists users in a workspace or team. | workspace_gid , team_gid , limit |
asana_create_attachment | Attaches a file to a task. | task_gid , file_url , file_name , file_content_base64 |
asana_add_comment | Adds a comment to a task or project. | task_gid , text , is_pinned |
asana_get_workspace | Retrieves workspace information. | workspace_gid , fields_to_include |
Prerequisites
- Asana Account: An active Asana workspace where the integration will be used.
- Asana App:
- A Personal Access Token (PAT) or OAuth 2.0 app must be configured in Asana.
- For production use, OAuth 2.0 is recommended for better security and user management.
- The app needs appropriate permissions to access projects, tasks, and users.
- API Access: Asana API access with the necessary scopes for the operations you plan to perform.
- Understanding of Asana Concepts: Familiarity with Asana terms like Workspaces, Teams, Projects, Tasks, Subtasks, Assignees, and GIDs (Global Identifiers).
Setup Instructions
-
Create Asana App (OAuth 2.0 - Recommended):
- Go to
https://app.asana.com/0/developer-console
and click “Create New App”. - Name your app (e.g., “ACP Connector”) and provide a description.
- Configure OAuth settings with appropriate redirect URIs.
- Note down your
Client ID
andClient Secret
.
- Go to
-
Or Generate Personal Access Token (Development/Testing):
- Go to
https://app.asana.com/0/my-apps
and click “Personal Access Token”. - Generate a new token and securely store it.
- Note: PATs have full access to your account and should only be used for development.
- Go to
-
Configure Permissions:
- Ensure your app has access to the workspaces and teams where you’ll be managing tasks.
- For OAuth apps, configure the appropriate scopes during the authorization flow.
-
Test API Access:
- Use the Asana API to test basic operations like listing workspaces or creating a test task.
- Verify that your authentication is working correctly.
Authentication
The Asana Connector supports two authentication methods:
Personal Access Token (PAT)
OAuth 2.0 (Recommended for Production)
Common Use Cases
- Task Management: Create and assign tasks based on customer interactions or system events.
- Project Tracking: Monitor project progress and update stakeholders automatically.
- Workflow Automation: Trigger task creation when specific conditions are met in other systems.
- Reporting Integration: Sync task completion data with other business systems.
- Content Review Workflows: Create review tasks for marketing content, social media posts, or documentation.
Rate Limits and Best Practices
- Rate Limits: Asana enforces rate limits (typically 1500 requests per minute per app).
- Batch Operations: Use batch endpoints when available to reduce API calls.
- Webhook Integration: Consider using Asana webhooks for real-time updates instead of polling.
- Error Handling: Implement proper retry logic for transient errors.
- Data Validation: Validate GIDs and required fields before making API calls.
Security Considerations
- Token Security: Store access tokens securely and rotate them regularly.
- Scope Limitation: Request only the minimum required permissions for your use case.
- Data Privacy: Be mindful of sensitive information in task descriptions and comments.
- Audit Logging: Maintain logs of API operations for security and compliance purposes.