Automate Asana tasks via Rube MCP (Composio): tasks, projects, sections, teams, workspaces. Always search tools first for current schemas.
Add this skill
npx mdskills install sickn33/asana-automationComprehensive Asana automation guide with clear workflows, tool sequences, and common pitfalls
1---2name: asana-automation3description: "Automate Asana tasks via Rube MCP (Composio): tasks, projects, sections, teams, workspaces. Always search tools first for current schemas."4requires:5 mcp: [rube]6---78# Asana Automation via Rube MCP910Automate Asana operations through Composio's Asana toolkit via Rube MCP.1112## Prerequisites1314- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)15- Active Asana connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `asana`16- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas1718## Setup1920**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.2122231. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds242. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `asana`253. If connection is not ACTIVE, follow the returned auth link to complete Asana OAuth264. Confirm connection status shows ACTIVE before running any workflows2728## Core Workflows2930### 1. Manage Tasks3132**When to use**: User wants to create, search, list, or organize tasks3334**Tool sequence**:351. `ASANA_GET_MULTIPLE_WORKSPACES` - Get workspace ID [Prerequisite]362. `ASANA_SEARCH_TASKS_IN_WORKSPACE` - Search tasks [Optional]373. `ASANA_GET_TASKS_FROM_A_PROJECT` - List project tasks [Optional]384. `ASANA_CREATE_A_TASK` - Create a new task [Optional]395. `ASANA_GET_A_TASK` - Get task details [Optional]406. `ASANA_CREATE_SUBTASK` - Create a subtask [Optional]417. `ASANA_GET_TASK_SUBTASKS` - List subtasks [Optional]4243**Key parameters**:44- `workspace`: Workspace GID (required for search/creation)45- `projects`: Array of project GIDs to add task to46- `name`: Task name47- `notes`: Task description48- `assignee`: Assignee (user GID or email)49- `due_on`: Due date (YYYY-MM-DD)5051**Pitfalls**:52- Workspace GID is required for most operations; get it first53- Task GIDs are returned as strings, not integers54- Search is workspace-scoped, not project-scoped5556### 2. Manage Projects and Sections5758**When to use**: User wants to create projects, manage sections, or organize tasks5960**Tool sequence**:611. `ASANA_GET_WORKSPACE_PROJECTS` - List workspace projects [Optional]622. `ASANA_GET_A_PROJECT` - Get project details [Optional]633. `ASANA_CREATE_A_PROJECT` - Create a new project [Optional]644. `ASANA_GET_SECTIONS_IN_PROJECT` - List sections [Optional]655. `ASANA_CREATE_SECTION_IN_PROJECT` - Create a new section [Optional]666. `ASANA_ADD_TASK_TO_SECTION` - Move task to section [Optional]677. `ASANA_GET_TASKS_FROM_A_SECTION` - List tasks in section [Optional]6869**Key parameters**:70- `project_gid`: Project GID71- `name`: Project or section name72- `workspace`: Workspace GID for creation73- `task`: Task GID for section assignment74- `section`: Section GID7576**Pitfalls**:77- Projects belong to workspaces; workspace GID is needed for creation78- Sections are ordered within a project79- DUPLICATE_PROJECT creates a copy with optional task inclusion8081### 3. Manage Teams and Users8283**When to use**: User wants to list teams, team members, or workspace users8485**Tool sequence**:861. `ASANA_GET_TEAMS_IN_WORKSPACE` - List workspace teams [Optional]872. `ASANA_GET_USERS_FOR_TEAM` - List team members [Optional]883. `ASANA_GET_USERS_FOR_WORKSPACE` - List all workspace users [Optional]894. `ASANA_GET_CURRENT_USER` - Get authenticated user [Optional]905. `ASANA_GET_MULTIPLE_USERS` - Get multiple user details [Optional]9192**Key parameters**:93- `workspace_gid`: Workspace GID94- `team_gid`: Team GID9596**Pitfalls**:97- Users are workspace-scoped98- Team membership requires the team GID99100### 4. Parallel Operations101102**When to use**: User needs to perform bulk operations efficiently103104**Tool sequence**:1051. `ASANA_SUBMIT_PARALLEL_REQUESTS` - Execute multiple API calls in parallel [Required]106107**Key parameters**:108- `actions`: Array of action objects with method, path, and data109110**Pitfalls**:111- Each action must be a valid Asana API call112- Failed individual requests do not roll back successful ones113114## Common Patterns115116### ID Resolution117118**Workspace name -> GID**:119```1201. Call ASANA_GET_MULTIPLE_WORKSPACES1212. Find workspace by name1223. Extract gid field123```124125**Project name -> GID**:126```1271. Call ASANA_GET_WORKSPACE_PROJECTS with workspace GID1282. Find project by name1293. Extract gid field130```131132### Pagination133134- Asana uses cursor-based pagination with `offset` parameter135- Check for `next_page` in response136- Pass `offset` from `next_page.offset` for next request137138## Known Pitfalls139140**GID Format**:141- All Asana IDs are strings (GIDs), not integers142- GIDs are globally unique identifiers143144**Workspace Scoping**:145- Most operations require a workspace context146- Tasks, projects, and users are workspace-scoped147148## Quick Reference149150| Task | Tool Slug | Key Params |151|------|-----------|------------|152| List workspaces | ASANA_GET_MULTIPLE_WORKSPACES | (none) |153| Search tasks | ASANA_SEARCH_TASKS_IN_WORKSPACE | workspace, text |154| Create task | ASANA_CREATE_A_TASK | workspace, name, projects |155| Get task | ASANA_GET_A_TASK | task_gid |156| Create subtask | ASANA_CREATE_SUBTASK | parent, name |157| List subtasks | ASANA_GET_TASK_SUBTASKS | task_gid |158| Project tasks | ASANA_GET_TASKS_FROM_A_PROJECT | project_gid |159| List projects | ASANA_GET_WORKSPACE_PROJECTS | workspace |160| Create project | ASANA_CREATE_A_PROJECT | workspace, name |161| Get project | ASANA_GET_A_PROJECT | project_gid |162| Duplicate project | ASANA_DUPLICATE_PROJECT | project_gid |163| List sections | ASANA_GET_SECTIONS_IN_PROJECT | project_gid |164| Create section | ASANA_CREATE_SECTION_IN_PROJECT | project_gid, name |165| Add to section | ASANA_ADD_TASK_TO_SECTION | section, task |166| Section tasks | ASANA_GET_TASKS_FROM_A_SECTION | section_gid |167| List teams | ASANA_GET_TEAMS_IN_WORKSPACE | workspace_gid |168| Team members | ASANA_GET_USERS_FOR_TEAM | team_gid |169| Workspace users | ASANA_GET_USERS_FOR_WORKSPACE | workspace_gid |170| Current user | ASANA_GET_CURRENT_USER | (none) |171| Parallel requests | ASANA_SUBMIT_PARALLEL_REQUESTS | actions |172
Full transparency — inspect the skill content before installing.