Asana · Arazzo Workflow

Asana Provision a Tag and Label a Task

Version 1.0.0

Create a tag in a workspace and immediately apply it to an existing task.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CollaborationProductivityProject ManagementProjectTask ManagementTaskWorkflowsArazzoWorkflows

Provider

asana

Workflows

provision-tag-and-label-task
Create a workspace tag and apply it to a task.
Creates a tag in a workspace, then labels an existing task with it.
2 steps inputs: tagColor, tagName, taskGid, workspaceGid outputs: tagGid, taskGid
1
createTag
Create a new tag in the workspace.
2
labelTask
Apply the new tag to the existing task.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Asana Provision a Tag and Label a Task
  summary: Create a tag in a workspace and immediately apply it to an existing task.
  description: >-
    A categorization flow. The workflow creates a new tag within a workspace and
    then applies that freshly minted tag to an existing task. Because the
    tag-to-task association endpoint lives only in the full Asana description,
    both steps are addressed through that single source. Each request is written
    inline so the flow 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
- name: workspacesApi
  url: ../openapi/asana-workspaces-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-tag-and-label-task
  summary: Create a workspace tag and apply it to a task.
  description: >-
    Creates a tag in a workspace, then labels an existing task with it.
  inputs:
    type: object
    required:
    - workspaceGid
    - taskGid
    - tagName
    properties:
      workspaceGid:
        type: string
        description: Workspace gid the tag is created in.
      taskGid:
        type: string
        description: Task gid to label with the new tag.
      tagName:
        type: string
        description: Name of the tag to create.
      tagColor:
        type: string
        description: Optional color for the tag (e.g. dark-green).
  steps:
  - stepId: createTag
    description: Create a new tag in the workspace.
    operationId: $sourceDescriptions.workspacesApi.createTagForWorkspace
    parameters:
    - name: workspace_gid
      in: path
      value: $inputs.workspaceGid
    requestBody:
      contentType: application/json
      payload:
        data:
          name: $inputs.tagName
          color: $inputs.tagColor
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      tagGid: $response.body#/data/gid
  - stepId: labelTask
    description: Apply the new tag to the existing task.
    operationId: $sourceDescriptions.tasksApi.addTagForTask
    parameters:
    - name: task_gid
      in: path
      value: $inputs.taskGid
    requestBody:
      contentType: application/json
      payload:
        data:
          tag: $steps.createTag.outputs.tagGid
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      tagResult: $response.body#/data
  outputs:
    tagGid: $steps.createTag.outputs.tagGid
    taskGid: $inputs.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-provision-tag-and-label-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.