> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/project-management/asana.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Asana

Asana is a work management platform. Manage tasks, projects, portfolios, goals, followers, members, dependencies and custom fields.

![Asana logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-9461c134e9192469dc2fa8edc484201d22aa59ee%2Fasana.png?alt=media)

|                    |                                                                                      |
| ------------------ | ------------------------------------------------------------------------------------ |
| **Category**       | [Project management](https://docs.fastn.ai/connectors/catalog/project-management.md) |
| **Website**        | [asana.com](https://asana.com)                                                       |
| **Authentication** | Access token, OAuth 2.0                                                              |
| **Slug**           | `asana`                                                                              |
| **On fastn.ai**    | [Embed Asana in your product](https://fastn.ai/integrations/asana)                   |

## Setup

Your customers sign in to Asana through Fastn's own OAuth app, so nothing needs setting up first. To show your own app on the consent screen instead, add your OAuth app on the connector's **Auth** tab under **Manage providers**.

## Connect in Fastn

Your customers connect Asana from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Asana**.
2. Select **Connect** on the Asana card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Asana offers more than one sign-in method. Choose one in **Auth Method**, then:
   * For a key or credential method, fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

     <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
   * For OAuth 2.0, keep the **Default** auth provider, or choose your own OAuth app if you added one. Pick the **Scopes** you need, select **Authorize**, then sign in to Asana and approve access in the window that opens.

     <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-0e2bbdd7109cec207402cf6883484b8525b7fbf5%2Fconnect-oauth.png?alt=media" alt="The Connect Salesforce dialog for OAuth 2.0 with the Default auth provider, an optional account name, the Scopes selector and an Authorize button"><figcaption><p>A connect form for OAuth 2.0. Salesforce is shown here.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Asana's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Custom Field Setting to Portfolio</td><td><code>addCustomFieldSettingForPortfolio</code></td><td>Add a custom field to a portfolio. Returns the created custom field setting.</td></tr><tr><td>Add Custom Field Setting to Project</td><td><code>addCustomFieldSettingForProject</code></td><td>Add a custom field to a project. Returns the created custom field setting.</td></tr><tr><td>Add Dependencies</td><td><code>addDependenciesForTask</code></td><td>Mark a set of tasks as dependencies of the given task. Returns an empty data object.</td></tr><tr><td>Add Dependents</td><td><code>addDependentsForTask</code></td><td>Mark a set of tasks as dependents of the given task. Returns an empty data object.</td></tr><tr><td>Add Followers to Goal</td><td><code>addFollowersForGoal</code></td><td>Add followers to a goal. Returns the full goal.</td></tr><tr><td>Add Followers to Project</td><td><code>addFollowersForProject</code></td><td>Add followers to a project. Returns the full project.</td></tr><tr><td>Add Followers to Task</td><td><code>addFollowersForTask</code></td><td>Add followers to a task. Returns the full updated task.</td></tr><tr><td>Add Item to Portfolio</td><td><code>addItemForPortfolio</code></td><td>Add a project or portfolio item to a portfolio. Returns an empty data object.</td></tr><tr><td>Add Members to Portfolio</td><td><code>addMembersForPortfolio</code></td><td>Add members to a portfolio. Returns the full portfolio.</td></tr><tr><td>Add Members to Project</td><td><code>addMembersForProject</code></td><td>Add members to a project. Returns the full project.</td></tr></tbody></table>

<details>

<summary>View 149 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Project to Task</td><td><code>addProjectForTask</code></td><td>Add the task to a project, optionally at a specific position or section. Returns an empty data object.</td></tr><tr><td>Add Supporting Relationship to Goal</td><td><code>addSupportingRelationship</code></td><td>Add a supporting resource (goal, project, task, or portfolio) to a goal. A goal gid yields a subgoal relationship; others yield supporting_work. Returns the goal relationship.</td></tr><tr><td>Add Tag to Task</td><td><code>addTagForTask</code></td><td>Add a tag to a task. Returns an empty data object.</td></tr><tr><td>Add Task to Section</td><td><code>addTaskForSection</code></td><td>Move a task into a section, optionally positioned relative to another task. Returns an empty data object.</td></tr><tr><td>Add User to Team</td><td><code>addUserForTeam</code></td><td>Add a user to a team. Returns the team membership record.</td></tr><tr><td>Add User to Workspace</td><td><code>addUserForWorkspace</code></td><td>Add a user to a workspace or organization. Returns the user's compact record.</td></tr><tr><td>Create a Membership</td><td><code>createMembership</code></td><td>Create a membership granting a user/team access to a goal, project, or portfolio. Returns the membership.</td></tr><tr><td>Create a Team</td><td><code>createTeam</code></td><td>Create a new team within an organization. Returns the team.</td></tr><tr><td>Create an Organization Export</td><td><code>createOrganizationExport</code></td><td>Start an export of a complete organization. Requires Super Admin. Returns the org export object; poll Get Organization Export for the download_url.</td></tr><tr><td>Create Comment on a Task</td><td><code>createStoryForTask</code></td><td>Add a comment (story) to a task. Provide text OR html_text, not both. Returns the created story.</td></tr><tr><td>Create Custom Field</td><td><code>createCustomField</code></td><td>Create a new custom field in a workspace. Returns the custom field.</td></tr><tr><td>Create Enum Option</td><td><code>createEnumOptionForCustomField</code></td><td>Create a new enum option for an enum/multi_enum custom field. Returns the enum option.</td></tr><tr><td>Create Goal</td><td><code>createGoal</code></td><td>Create a new goal in a workspace. For organizations a team is required. Returns the goal.</td></tr><tr><td>Create Portfolio</td><td><code>createPortfolio</code></td><td>Create a new portfolio in a workspace. Returns the portfolio.</td></tr><tr><td>Create Project</td><td><code>createProject</code></td><td>Create a new project in a workspace. For organizations a team is required. Returns the full project.</td></tr><tr><td>Create Project Brief</td><td><code>createProjectBrief</code></td><td>Create a project brief for a project. Provide html_text OR text. Returns the brief.</td></tr><tr><td>Create Project in Team</td><td><code>createProjectForTeam</code></td><td>Create a new project within a team (team taken from path). Returns the project.</td></tr><tr><td>Create Project in Workspace</td><td><code>createProjectForWorkspace</code></td><td>Create a new project within a workspace (workspace taken from path). Returns the project.</td></tr><tr><td>Create Section in Project</td><td><code>createSectionForProject</code></td><td>Create a new section in a project, optionally positioned relative to another section. Returns the section.</td></tr><tr><td>Create Status Update</td><td><code>createStatusUpdate</code></td><td>Create a status update on a project, portfolio, or goal. Returns the status update.</td></tr><tr><td>Create Subtask</td><td><code>createSubtaskForTask</code></td><td>Create a new subtask under the given parent task. Returns the full subtask record.</td></tr><tr><td>Create Tag</td><td><code>createTag</code></td><td>Create a new tag in a workspace. Returns the tag.</td></tr><tr><td>Create Tag in Workspace</td><td><code>createTagForWorkspace</code></td><td>Create a new tag within a specific workspace (workspace taken from the path). Returns the tag.</td></tr><tr><td>Create Task</td><td><code>createTask</code></td><td>Create a new task in a workspace, project, or as a subtask. A task must resolve a workspace via workspace, projects, or parent. Returns the full task object.</td></tr><tr><td>Delete a Membership</td><td><code>deleteMembership</code></td><td>Delete a membership. Returns an empty data object.</td></tr><tr><td>Delete a Status Update</td><td><code>deleteStatusUpdate</code></td><td>Delete a status update. Returns an empty data object.</td></tr><tr><td>Delete a Story</td><td><code>deleteStory</code></td><td>Delete a comment story. Only comment-type stories you authored can be deleted. Returns an empty data object.</td></tr><tr><td>Delete a Webhook</td><td><code>deleteWebhook</code></td><td>Delete (unregister) a webhook. Returns an empty data object.</td></tr><tr><td>Delete an Attachment</td><td><code>deleteAttachment</code></td><td>Delete an attachment. Returns an empty data object.</td></tr><tr><td>Delete Custom Field</td><td><code>deleteCustomField</code></td><td>Delete a custom field. Returns an empty data object.</td></tr><tr><td>Delete Goal</td><td><code>deleteGoal</code></td><td>Delete a goal. Returns an empty data object.</td></tr><tr><td>Delete Portfolio</td><td><code>deletePortfolio</code></td><td>Delete a portfolio. Returns an empty data object.</td></tr><tr><td>Delete Project</td><td><code>deleteProject</code></td><td>Delete a project. Returns an empty data object.</td></tr><tr><td>Delete Project Brief</td><td><code>deleteProjectBrief</code></td><td>Delete a project brief. Returns an empty data object.</td></tr><tr><td>Delete Project Template</td><td><code>deleteProjectTemplate</code></td><td>Delete a project template. Returns an empty data object.</td></tr><tr><td>Delete Section</td><td><code>deleteSection</code></td><td>Delete a section. The section must be empty, and the last section in a project cannot be deleted. Returns an empty data object.</td></tr><tr><td>Delete Tag</td><td><code>deleteTag</code></td><td>Delete a tag. Returns an empty data object.</td></tr><tr><td>Delete Task</td><td><code>deleteTask</code></td><td>Delete a task. The task is moved to the trash and is recoverable for 30 days. Returns an empty data object.</td></tr><tr><td>Duplicate Project</td><td><code>duplicateProject</code></td><td>Create a copy of a project. Returns a Job object whose new_project references the created project.</td></tr><tr><td>Duplicate Task</td><td><code>duplicateTask</code></td><td>Create a copy of a task. Returns a Job object whose new_task references the created task once the job completes.</td></tr><tr><td>Establish a Webhook</td><td><code>createWebhook</code></td><td>Register a webhook on a resource. Asana performs an X-Hook-Secret handshake against the target before returning the webhook. Returns the webhook.</td></tr><tr><td>Get a Goal Relationship</td><td><code>getGoalRelationship</code></td><td>Get the full record for a single goal relationship.</td></tr><tr><td>Get a Job by ID</td><td><code>getJob</code></td><td>Get the status of an asynchronous job (e.g. task/project duplication or template instantiation).</td></tr><tr><td>Get a Membership</td><td><code>getMembership</code></td><td>Get the full record for a single membership.</td></tr><tr><td>Get a Status Update</td><td><code>getStatusUpdate</code></td><td>Get the full record for a single status update.</td></tr><tr><td>Get a Story</td><td><code>getStory</code></td><td>Get the full record for a single story.</td></tr><tr><td>Get a Team</td><td><code>getTeam</code></td><td>Get the full record for a single team.</td></tr><tr><td>Get a Team Membership</td><td><code>getTeamMembership</code></td><td>Get the full record for a single team membership.</td></tr><tr><td>Get a Team's Projects</td><td><code>getProjectsForTeam</code></td><td>Get the compact project records for all projects in a team.</td></tr><tr><td>Get a User</td><td><code>getUser</code></td><td>Get the full record for a single user. The user_gid accepts 'me', an email, or a gid.</td></tr><tr><td>Get a User's Favorites</td><td><code>getFavoritesForUser</code></td><td>Get the user's favorites of a given resource type in a workspace. Both resource_type and workspace are required. Only returns favorites for the authenticated user.</td></tr><tr><td>Get a Webhook</td><td><code>getWebhook</code></td><td>Get the full record for a single webhook.</td></tr><tr><td>Get a Workspace</td><td><code>getWorkspace</code></td><td>Get the full record for a single workspace.</td></tr><tr><td>Get a Workspace Membership</td><td><code>getWorkspaceMembership</code></td><td>Get the full record for a single workspace membership.</td></tr><tr><td>Get an Attachment</td><td><code>getAttachment</code></td><td>Get the full record for a single attachment, including download/view URLs.</td></tr><tr><td>Get an Organization Export</td><td><code>getOrganizationExport</code></td><td>Get the details and state of an organization export. The download_url is populated once state is finished.</td></tr><tr><td>Get Attachments from an Object</td><td><code>getAttachmentsForObject</code></td><td>Get the compact records for all attachments on an object (task, project, or project_brief). The parent gid is required.</td></tr><tr><td>Get Current User</td><td><code>getCurrentUser</code></td><td>Get the full record for the currently authenticated user.</td></tr><tr><td>Get Custom Field</td><td><code>getCustomField</code></td><td>Get the full record for a single custom field.</td></tr><tr><td>Get Custom Fields in Workspace</td><td><code>getCustomFieldsForWorkspace</code></td><td>Get the compact custom field records in a workspace.</td></tr><tr><td>Get Dependencies</td><td><code>getDependenciesForTask</code></td><td>Get the compact representations of all tasks that the given task depends on. Requires a paid (premium) Asana plan; free workspaces get 402.</td></tr><tr><td>Get Dependents</td><td><code>getDependentsForTask</code></td><td>Get the compact representations of all tasks that depend on the given task. Requires a paid (premium) Asana plan; free workspaces get 402.</td></tr><tr><td>Get Events on a Resource</td><td><code>getEvents</code></td><td>Poll for events on a task or project. Omit sync on the first call (the API</td></tr><tr><td>Get Goal</td><td><code>getGoal</code></td><td>Get the full record for a single goal.</td></tr><tr><td>Get Goal Relationships</td><td><code>getGoalRelationships</code></td><td>Get the compact goal relationship records for a supported goal.</td></tr><tr><td>Get Items in a Portfolio</td><td><code>getItemsForPortfolio</code></td><td>Get the compact records for all items (projects/portfolios) in a portfolio.</td></tr><tr><td>Get Memberships from a Project</td><td><code>getProjectMembershipsForProject</code></td><td>Get the compact project membership records for a project, optionally filtered by user.</td></tr><tr><td>Get Memberships from a Team</td><td><code>getTeamMembershipsForTeam</code></td><td>Get the compact team membership records for a team.</td></tr><tr><td>Get Memberships from a User</td><td><code>getTeamMembershipsForUser</code></td><td>Get the compact team membership records for a user in a workspace. The workspace param is required.</td></tr><tr><td>Get Multiple Goals</td><td><code>getGoals</code></td><td>Get the compact goal records, optionally filtered by workspace, team, project, task, or portfolio. Requires a paid (premium) Asana plan; free workspaces get 402.</td></tr><tr><td>Get Multiple Memberships</td><td><code>getMemberships</code></td><td>Get the compact membership records for a parent (goal/project/portfolio), optionally filtered by member.</td></tr><tr><td>Get Multiple Portfolios</td><td><code>getPortfolios</code></td><td>Get the compact portfolio records in a workspace. The workspace param is required.</td></tr><tr><td>Get Multiple Project Templates</td><td><code>getProjectTemplates</code></td><td>Get the compact project template records, optionally filtered by workspace or team.</td></tr><tr><td>Get Multiple Projects</td><td><code>getProjects</code></td><td>Get the compact project records, optionally filtered by workspace, team, or archived status.</td></tr><tr><td>Get Multiple Tags</td><td><code>getTags</code></td><td>Get the compact records for all tags, optionally filtered by workspace.</td></tr><tr><td>Get Multiple Tasks</td><td><code>getTasks</code></td><td>Get a list of tasks. You must filter by project, section, or (assignee + workspace). Returns compact task objects with pagination.</td></tr><tr><td>Get Multiple Users</td><td><code>getUsers</code></td><td>Get the compact user records, optionally filtered by workspace or team.</td></tr><tr><td>Get Multiple Webhooks</td><td><code>getWebhooks</code></td><td>Get the compact webhook records in a workspace. The workspace param is required. Optionally filter by resource.</td></tr><tr><td>Get Multiple Workspaces</td><td><code>getWorkspaces</code></td><td>Get the compact records for all workspaces visible to the authenticated user.</td></tr><tr><td>Get Parent Goals</td><td><code>getParentGoalsForGoal</code></td><td>Get the compact records for all parent goals of the given goal.</td></tr><tr><td>Get Portfolio</td><td><code>getPortfolio</code></td><td>Get the full record for a single portfolio.</td></tr><tr><td>Get Portfolio Custom Field Settings</td><td><code>getCustomFieldSettingsForPortfolio</code></td><td>Get the compact custom field settings for a portfolio.</td></tr><tr><td>Get Portfolio Memberships</td><td><code>getPortfolioMembershipsForPortfolio</code></td><td>Get the compact portfolio membership records for a portfolio.</td></tr><tr><td>Get Project</td><td><code>getProject</code></td><td>Get the complete record for a single project.</td></tr><tr><td>Get Project Brief</td><td><code>getProjectBrief</code></td><td>Get the full record for a single project brief.</td></tr><tr><td>Get Project Custom Field Settings</td><td><code>getCustomFieldSettingsForProject</code></td><td>Get the compact custom field settings for a project. Requires a paid (premium) Asana plan; free workspaces get 402.</td></tr><tr><td>Get Project Template</td><td><code>getProjectTemplate</code></td><td>Get the full record for a single project template.</td></tr><tr><td>Get Project Templates in Team</td><td><code>getProjectTemplatesForTeam</code></td><td>Get the compact project template records for a team.</td></tr><tr><td>Get Projects a Task Is In</td><td><code>getProjectsForTask</code></td><td>Get the compact project records for all projects the given task belongs to.</td></tr><tr><td>Get Projects in Workspace</td><td><code>getProjectsForWorkspace</code></td><td>Get the compact project records for all projects in a workspace.</td></tr><tr><td>Get Section</td><td><code>getSection</code></td><td>Get the complete record for a single section.</td></tr><tr><td>Get Sections in Project</td><td><code>getSectionsForProject</code></td><td>Get the compact records for all sections in the given project.</td></tr><tr><td>Get Status Updates</td><td><code>getStatusUpdates</code></td><td>Get the status updates for a parent object (project, portfolio, or goal). The parent gid is required.</td></tr><tr><td>Get Stories on a Task</td><td><code>getStoriesForTask</code></td><td>Get the compact records for all stories (comments and system updates) on a task.</td></tr><tr><td>Get Subtasks</td><td><code>getSubtasksForTask</code></td><td>Get the compact representation of all subtasks of a task.</td></tr><tr><td>Get Tag</td><td><code>getTag</code></td><td>Get the complete record for a single tag.</td></tr><tr><td>Get Tags in Workspace</td><td><code>getTagsForWorkspace</code></td><td>Get the compact records for all tags in a specific workspace.</td></tr><tr><td>Get Task</td><td><code>getTask</code></td><td>Get the complete record for a single task by its gid. Use opt_fields to expand related objects.</td></tr><tr><td>Get Task Count of a Project</td><td><code>getTaskCountsForProject</code></td><td>Get task counts for a project. You MUST request the count fields via opt_fields (e.g. num_tasks,num_incomplete_tasks,num_completed_tasks,num_milestones) - nothing is returned by default.</td></tr><tr><td>Get Tasks from a Project</td><td><code>getTasksForProject</code></td><td>Get the compact task records for all tasks within the given project.</td></tr><tr><td>Get Tasks from a Section</td><td><code>getTasksForSection</code></td><td>Get the compact task records for all tasks within the given section.</td></tr><tr><td>Get Tasks from a Tag</td><td><code>getTasksForTag</code></td><td>Get the compact task records for all tasks with the given tag.</td></tr><tr><td>Get Tasks from a User Task List</td><td><code>getTasksForUserTaskList</code></td><td>Get the compact list of tasks in a user's My Tasks list, identified by the user task list gid.</td></tr><tr><td>Get Team Memberships</td><td><code>getTeamMemberships</code></td><td>Get the compact team membership records. Filter by team alone, or by user + workspace.</td></tr><tr><td>Get Teams for a User</td><td><code>getTeamsForUser</code></td><td>Get the compact records for all teams a user is a member of within an organization. The organization param is required.</td></tr><tr><td>Get Teams in a Workspace</td><td><code>getTeamsForWorkspace</code></td><td>Get the compact records for all teams in a workspace visible to the authenticated user.</td></tr><tr><td>Get Users in a Team</td><td><code>getUsersForTeam</code></td><td>Get the compact user records for all members of a team.</td></tr><tr><td>Get Users in a Workspace</td><td><code>getUsersForWorkspace</code></td><td>Get the compact user records for all users in a workspace.</td></tr><tr><td>Get Workspace Memberships for a User</td><td><code>getWorkspaceMembershipsForUser</code></td><td>Get the compact workspace membership records for a user.</td></tr><tr><td>Get Workspace Memberships for a Workspace</td><td><code>getWorkspaceMembershipsForWorkspace</code></td><td>Get the compact workspace membership records for a workspace, optionally filtered by user.</td></tr><tr><td>Instantiate Project from Template</td><td><code>instantiateProject</code></td><td>Create a new project from a project template. Returns a Job whose new_project references the created project.</td></tr><tr><td>Move or Reorder Section</td><td><code>insertSectionForProject</code></td><td>Reorder a section within its project, positioning it before or after another section (exactly one of before_section/after_section). Returns an empty data object.</td></tr><tr><td>Remove Custom Field Setting from Portfolio</td><td><code>removeCustomFieldSettingForPortfolio</code></td><td>Remove a custom field from a portfolio. Returns an empty data object.</td></tr><tr><td>Remove Custom Field Setting from Project</td><td><code>removeCustomFieldSettingForProject</code></td><td>Remove a custom field from a project. Returns an empty data object.</td></tr><tr><td>Remove Dependencies</td><td><code>removeDependenciesForTask</code></td><td>Unlink a set of tasks as dependencies of the given task. Returns an empty data object.</td></tr><tr><td>Remove Dependents</td><td><code>removeDependentsForTask</code></td><td>Unlink a set of tasks as dependents of the given task. Returns an empty data object.</td></tr><tr><td>Remove Followers from Goal</td><td><code>removeFollowersForGoal</code></td><td>Remove followers from a goal. Returns the full goal.</td></tr><tr><td>Remove Followers from Project</td><td><code>removeFollowersForProject</code></td><td>Remove followers from a project. Returns the full project.</td></tr><tr><td>Remove Followers from Task</td><td><code>removeFollowersForTask</code></td><td>Remove followers from a task. Returns the full updated task.</td></tr><tr><td>Remove Item from Portfolio</td><td><code>removeItemForPortfolio</code></td><td>Remove an item from a portfolio. Returns an empty data object.</td></tr><tr><td>Remove Members from Portfolio</td><td><code>removeMembersForPortfolio</code></td><td>Remove members from a portfolio. Returns the full portfolio.</td></tr><tr><td>Remove Members from Project</td><td><code>removeMembersForProject</code></td><td>Remove members from a project. Returns the full project.</td></tr><tr><td>Remove Project from Task</td><td><code>removeProjectForTask</code></td><td>Remove the task from a project. Returns an empty data object.</td></tr><tr><td>Remove Supporting Relationship from Goal</td><td><code>removeSupportingRelationship</code></td><td>Remove a supporting resource from a goal. Returns an empty data object.</td></tr><tr><td>Remove Tag from Task</td><td><code>removeTagForTask</code></td><td>Remove a tag from a task. Returns an empty data object.</td></tr><tr><td>Remove User from Team</td><td><code>removeUserForTeam</code></td><td>Remove a user from a team. Returns an empty data object.</td></tr><tr><td>Remove User from Workspace</td><td><code>removeUserForWorkspace</code></td><td>Remove a user from a workspace or organization. Returns an empty data object.</td></tr><tr><td>Reorder Enum Option</td><td><code>insertEnumOptionForCustomField</code></td><td>Reorder an enum option within a custom field, positioned before or after another option. Returns the enum option.</td></tr><tr><td>Search Tasks in a Workspace</td><td><code>searchTasksForWorkspace</code></td><td>Full-text and filtered search for tasks in a workspace. Results are not stably ordered and do not support offset pagination (single page, max 100). Requires a paid (premium) Asana plan; free workspaces get 402.</td></tr><tr><td>Set Goal Metric</td><td><code>createGoalMetric</code></td><td>Create/set the metric on a goal. Returns the full goal with its metric.</td></tr><tr><td>Set Parent of a Task</td><td><code>setParentForTask</code></td><td>Change the parent of a task, making it a subtask of the given parent (or a top-level task when parent is null). Returns the full task.</td></tr><tr><td>Typeahead Search</td><td><code>typeaheadForWorkspace</code></td><td>Typeahead search for objects of a given resource_type in a workspace. Returns compact matching objects.</td></tr><tr><td>Update a Goal Relationship</td><td><code>updateGoalRelationship</code></td><td>Update a goal relationship's contribution weight. Returns the goal relationship.</td></tr><tr><td>Update a Membership</td><td><code>updateMembership</code></td><td>Update a membership's access level. Returns the membership.</td></tr><tr><td>Update a Story</td><td><code>updateStory</code></td><td>Update a comment story (text/html_text/is_pinned). Only comment-type stories you authored can be edited.</td></tr><tr><td>Update a Team</td><td><code>updateTeam</code></td><td>Update an existing team. Only provided fields are changed.</td></tr><tr><td>Update a Webhook</td><td><code>updateWebhook</code></td><td>Update a webhook's filters (the new filter set replaces the existing one). Returns the webhook.</td></tr><tr><td>Update a Workspace</td><td><code>updateWorkspace</code></td><td>Update a workspace (only the name is editable in practice).</td></tr><tr><td>Update Custom Field</td><td><code>updateCustomField</code></td><td>Update an existing custom field. Only provided fields are changed.</td></tr><tr><td>Update Enum Option</td><td><code>updateEnumOption</code></td><td>Update an enum option's name, color, or enabled state. Returns the enum option.</td></tr><tr><td>Update Goal</td><td><code>updateGoal</code></td><td>Update an existing goal, including its status. Only provided fields are changed.</td></tr><tr><td>Update Goal Metric Current Value</td><td><code>updateGoalMetric</code></td><td>Update the current value of a goal's metric. Returns the full goal with the updated metric (400 if no metric exists).</td></tr><tr><td>Update Portfolio</td><td><code>updatePortfolio</code></td><td>Update an existing portfolio. Only provided fields are changed.</td></tr><tr><td>Update Project</td><td><code>updateProject</code></td><td>Update an existing project. Only provided fields are changed.</td></tr><tr><td>Update Project Brief</td><td><code>updateProjectBrief</code></td><td>Update a project brief. Provide html_text OR text. Returns the brief.</td></tr><tr><td>Update Section</td><td><code>updateSection</code></td><td>Update the name of a section.</td></tr><tr><td>Update Tag</td><td><code>updateTag</code></td><td>Update an existing tag's name, color, or notes.</td></tr><tr><td>Update Task</td><td><code>updateTask</code></td><td>Update an existing task. Only provided fields are changed (sparse update). Set nullable fields to clear them.</td></tr><tr><td>Upload External Attachment</td><td><code>createAttachmentForObject</code></td><td>Attach an external file (by URL) to a task, project, or project_brief. Uses multipart/form-data with resource_subtype=external. For binary file uploads, use the Asana file-upload flow directly. Returns the attachment.</td></tr></tbody></table>

</details>

## Events

Start a workflow when one of these happens, with an [app event trigger](https://docs.fastn.ai/build/integrations/triggers.md).

<table><thead><tr><th width="240">Event</th><th width="260">Id</th><th>When it fires</th></tr></thead><tbody><tr><td>Resource Added</td><td><code>added</code></td><td>A resource (task, project, story, etc.) was created/added within the watched resource. Asana sends an events[] batch; each event has action='added'.</td></tr><tr><td>Resource Changed</td><td><code>changed</code></td><td>A field on the watched resource (or a child) changed. Each event has action='changed' and a change object describing the field and old/new values.</td></tr><tr><td>Resource Deleted</td><td><code>deleted</code></td><td>A resource was deleted (moved to trash). Each event has action='deleted'.</td></tr><tr><td>Resource Removed</td><td><code>removed</code></td><td>A resource was removed from the watched resource (e.g. a task removed from a project). Each event has action='removed'.</td></tr><tr><td>Resource Undeleted</td><td><code>undeleted</code></td><td>A previously deleted resource was restored from the trash. Each event has action='undeleted'.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/project-management/asana.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
