Asana · Arazzo Workflow

Asana Search and Reassign a Task

Version 1.0.0

Search a workspace for a task by text, then reassign the first match to a new owner.

1 workflow 1 source API 1 provider
View Spec View on GitHub CollaborationProductivityProject ManagementProjectTask ManagementTaskWorkflowsArazzoWorkflows

Provider

asana

Workflows

search-and-reassign-task
Search for a task by text and reassign the first match.
Searches a workspace for a task, then reassigns the first match to a new owner.
2 steps inputs: newAssigneeGid, searchText, workspaceGid outputs: matchedTaskGid, reassignedTaskGid
1
searchTasks
Search the workspace for tasks matching the text query.
2
reassignTask
Reassign the first matched task to the new owner.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Asana Search and Reassign a Task
  summary: Search a workspace for a task by text, then reassign the first match to a new owner.
  description: >-
    A find-and-fix flow. The workflow searches a workspace for tasks matching a
    text query, branches on whether any match was found, and reassigns the first
    matching task to a new owner. When no task matches, the flow ends without
    making changes. Each request is written inline so the search-and-update can
    be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-900.30
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-900.30
      capability_name: Project Management
      spec: asana-tasks-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: tasksApi
  url: ../openapi/asana-tasks-api-openapi.yml
  type: openapi
workflows:
- workflowId: search-and-reassign-task
  summary: Search for a task by text and reassign the first match.
  description: >-
    Searches a workspace for a task, then reassigns the first match to a new
    owner.
  inputs:
    type: object
    required:
    - workspaceGid
    - searchText
    - newAssigneeGid
    properties:
      workspaceGid:
        type: string
        description: Workspace gid to search within.
      searchText:
        type: string
        description: Free-text query to match tasks on.
      newAssigneeGid:
        type: string
        description: User gid to reassign the matched task to.
  steps:
  - stepId: searchTasks
    description: Search the workspace for tasks matching the text query.
    operationId: searchTasksForWorkspace
    parameters:
    - name: workspace_gid
      in: path
      value: $inputs.workspaceGid
    - name: text
      in: query
      value: $inputs.searchText
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      matchedTaskGid: $response.body#/data/0/gid
    onSuccess:
    - name: foundMatch
      type: goto
      stepId: reassignTask
      criteria:
      - context: $response.body
        condition: $.data.length > 0
        type: jsonpath
    - name: noMatch
      type: end
      criteria:
      - context: $response.body
        condition: $.data.length == 0
        type: jsonpath
  - stepId: reassignTask
    description: Reassign the first matched task to the new owner.
    operationId: updateTask
    parameters:
    - name: task_gid
      in: path
      value: $steps.searchTasks.outputs.matchedTaskGid
    requestBody:
      contentType: application/json
      payload:
        data:
          assignee: $inputs.newAssigneeGid
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      taskGid: $response.body#/data/gid
      assigneeGid: $response.body#/data/assignee/gid
  outputs:
    matchedTaskGid: $steps.searchTasks.outputs.matchedTaskGid
    reassignedTaskGid: $steps.reassignTask.outputs.taskGid

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/asana-search-and-reassign-task-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.