Affinda · Arazzo Workflow

Affinda Create a Tag and Apply It to Documents

Version 1.0.0

Create a tag in a workspace and batch-apply it to a set of documents.

1 workflow 1 source API 1 provider
View Spec View on GitHub Artificial IntelligenceDocument ProcessingIntelligent Document ProcessingIDPOCRResume ParsingInvoice ParsingReceipt ParsingDocument ExtractionDocument ClassificationDocument SplittingRecruitmentBankingInsuranceLogisticsHealthcareGovernmentArazzoWorkflows

Provider

affinda

Workflows

create-tag-and-tag-documents
Create a tag and batch-apply it to documents.
Creates a tag in the supplied workspace and then adds it to the supplied list of document identifiers in a single batch call.
2 steps inputs: documentIdentifiers, tagName, workspace outputs: tagId
1
createTag
Create a tag in the workspace.
2
applyTag
Batch-apply the new tag to the supplied documents.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Affinda Create a Tag and Apply It to Documents
  summary: Create a tag in a workspace and batch-apply it to a set of documents.
  description: >-
    Organizes documents with tags. A tag is created in a workspace and then
    applied in bulk to a list of documents via the batch tagging endpoint, which
    makes the documents filterable by that tag. Every step spells out its request
    inline so the flow can be read and executed without opening the underlying
    OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: tagsApi
  url: ../openapi/affinda-tags-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-tag-and-tag-documents
  summary: Create a tag and batch-apply it to documents.
  description: >-
    Creates a tag in the supplied workspace and then adds it to the supplied list
    of document identifiers in a single batch call.
  inputs:
    type: object
    required:
    - workspace
    - tagName
    - documentIdentifiers
    properties:
      workspace:
        type: string
        description: The workspace identifier the tag belongs to.
      tagName:
        type: string
        description: The name of the tag to create.
      documentIdentifiers:
        type: array
        description: The document identifiers to apply the tag to.
        items:
          type: string
  steps:
  - stepId: createTag
    description: Create a tag in the workspace.
    operationId: createTag
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.tagName
        workspace: $inputs.workspace
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      tagId: $response.body#/id
  - stepId: applyTag
    description: Batch-apply the new tag to the supplied documents.
    operationId: batchAddTag
    requestBody:
      contentType: application/json
      payload:
        tag: $steps.createTag.outputs.tagId
        identifiers: $inputs.documentIdentifiers
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      tagId: $steps.createTag.outputs.tagId
  outputs:
    tagId: $steps.createTag.outputs.tagId

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/affinda-create-tag-and-tag-documents-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.