Affinda · Arazzo Workflow

Affinda Create Mapping Data Source and Add a Value

Version 1.0.0

Create a mapping data source, add a value to it, then list its values.

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-data-source-and-add-value
Create a mapping data source, add a value, then list its values.
Creates a mapping data source scoped to an organization, adds a single value to it, and lists the values to confirm.
3 steps inputs: displayProperty, identifier, keyProperty, organization, value outputs: count, dataSourceIdentifier
1
createDataSource
Create a mapping data source with the supplied key and display properties.
2
addValue
Add a single value to the new mapping data source.
3
listValues
List the data source's values to confirm the value was added.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Affinda Create Mapping Data Source and Add a Value
  summary: Create a mapping data source, add a value to it, then list its values.
  description: >-
    Builds a lookup table that maps raw extracted text to records in your own
    database. A mapping data source is created with a key and display property, a
    value is added to it, and the data source's values are listed to confirm the
    addition. 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: dataSourcesApi
  url: ../openapi/affinda-data-sources-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-data-source-and-add-value
  summary: Create a mapping data source, add a value, then list its values.
  description: >-
    Creates a mapping data source scoped to an organization, adds a single value
    to it, and lists the values to confirm.
  inputs:
    type: object
    required:
    - identifier
    - keyProperty
    - displayProperty
    - value
    properties:
      identifier:
        type: string
        description: The identifier to assign to the new mapping data source.
      organization:
        type: string
        description: Optional organization identifier the data source belongs to.
      keyProperty:
        type: string
        description: The schema attribute that uniquely identifies each value.
      displayProperty:
        type: string
        description: The schema attribute used to display each value.
      value:
        type: object
        description: The value object to add to the data source.
  steps:
  - stepId: createDataSource
    description: Create a mapping data source with the supplied key and display properties.
    operationId: createMappingDataSource
    requestBody:
      contentType: application/json
      payload:
        identifier: $inputs.identifier
        organization: $inputs.organization
        keyProperty: $inputs.keyProperty
        displayProperty: $inputs.displayProperty
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      dataSourceIdentifier: $response.body#/identifier
  - stepId: addValue
    description: Add a single value to the new mapping data source.
    operationId: addMappingDataSourceValue
    parameters:
    - name: identifier
      in: path
      value: $steps.createDataSource.outputs.dataSourceIdentifier
    requestBody:
      contentType: application/json
      payload: $inputs.value
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      addedValue: $response.body
  - stepId: listValues
    description: List the data source's values to confirm the value was added.
    operationId: listMappingDataSourceValues
    parameters:
    - name: identifier
      in: path
      value: $steps.createDataSource.outputs.dataSourceIdentifier
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      count: $response.body#/count
  outputs:
    dataSourceIdentifier: $steps.createDataSource.outputs.dataSourceIdentifier
    count: $steps.listValues.outputs.count

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-data-source-and-add-value-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.