Affinda · Arazzo Workflow

Affinda Find a Document and Move It to Another Collection

Version 1.0.0

Locate a document by its custom identifier, then move it into a different collection.

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

find-and-move-document
Find a document by custom identifier then move it to another collection.
Searches the documents list by custom identifier and patches the first matching document to set a new collection.
2 steps inputs: collection, customIdentifier outputs: documentIdentifier
1
findDocument
Filter the documents list by custom identifier to locate the target document.
2
moveDocument
Patch the matched document to move it into the target collection.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Affinda Find a Document and Move It to Another Collection
  summary: Locate a document by its custom identifier, then move it into a different collection.
  description: >-
    Re-routes a previously uploaded document. The documents list is filtered by a
    custom identifier to locate the target document, and that document is then
    patched to move it into a different collection, which re-classifies how it is
    treated. 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: documentsApi
  url: ../openapi/affinda-documents-api-openapi.yml
  type: openapi
workflows:
- workflowId: find-and-move-document
  summary: Find a document by custom identifier then move it to another collection.
  description: >-
    Searches the documents list by custom identifier and patches the first matching
    document to set a new collection.
  inputs:
    type: object
    required:
    - customIdentifier
    - collection
    properties:
      customIdentifier:
        type: string
        description: The custom identifier used to locate the target document.
      collection:
        type: string
        description: The collection identifier to move the document into.
  steps:
  - stepId: findDocument
    description: >-
      Filter the documents list by custom identifier to locate the target
      document.
    operationId: getAllDocuments
    parameters:
    - name: custom_identifier
      in: query
      value: $inputs.customIdentifier
    - name: limit
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      identifier: $response.body#/results/0/meta/identifier
  - stepId: moveDocument
    description: Patch the matched document to move it into the target collection.
    operationId: updateDocument
    parameters:
    - name: identifier
      in: path
      value: $steps.findDocument.outputs.identifier
    requestBody:
      contentType: application/json
      payload:
        collection: $inputs.collection
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      identifier: $response.body#/meta/identifier
  outputs:
    documentIdentifier: $steps.moveDocument.outputs.identifier

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-find-and-move-document-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.