Workato · Arazzo Workflow

Workato Decommission an AI Agent

Version 1.0.0

Stop a genie if running, then permanently delete it.

1 workflow 1 source API 1 provider
View Spec View on GitHub AgenticAPI ManagementAutomationB2BEmbedded iPaaSEnterpriseIntegrationiPaaSOrchestrationWorkflowsArazzoWorkflows

Provider

workato

Workflows

decommission-genie
Stop a running genie if needed, then delete it.
Reads a genie, stops it only when its state is running, confirms it is stopped, and deletes it.
4 steps inputs: genieId outputs: deleted, genieName
1
getGenie
Read the genie to confirm it exists and determine its current state.
2
stopGenie
Deactivate the genie so it stops handling new requests.
3
confirmStopped
Re-read the genie and confirm its state is now stopped.
4
deleteGenie
Permanently delete the genie from the workspace.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Workato Decommission an AI Agent
  summary: Stop a genie if running, then permanently delete it.
  description: >-
    Safely retires an AI agent. The workflow reads the genie, branches on its
    state to stop it only when it is running, confirms it has stopped, and then
    permanently deletes it from the workspace. 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
  x-realizes-capability-ids:
  - BC-610.60
  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-610.60
      capability_name: Artificial Intelligence Management
      spec: workato-genies-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: geniesApi
  url: ../openapi/workato-genies-api-openapi.yml
  type: openapi
workflows:
- workflowId: decommission-genie
  summary: Stop a running genie if needed, then delete it.
  description: >-
    Reads a genie, stops it only when its state is running, confirms it is
    stopped, and deletes it.
  inputs:
    type: object
    required:
    - genieId
    properties:
      genieId:
        type: integer
        description: The unique identifier of the genie to decommission.
  steps:
  - stepId: getGenie
    description: Read the genie to confirm it exists and determine its current state.
    operationId: getGenie
    parameters:
    - name: id
      in: path
      value: $inputs.genieId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      genieName: $response.body#/name
      state: $response.body#/state
    onSuccess:
    - name: stopFirst
      type: goto
      stepId: stopGenie
      criteria:
      - context: $response.body
        condition: $.state == "running"
        type: jsonpath
    - name: alreadyStopped
      type: goto
      stepId: deleteGenie
      criteria:
      - context: $response.body
        condition: $.state == "stopped"
        type: jsonpath
  - stepId: stopGenie
    description: Deactivate the genie so it stops handling new requests.
    operationId: stopGenie
    parameters:
    - name: id
      in: path
      value: $inputs.genieId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      stopped: $response.body#/success
  - stepId: confirmStopped
    description: Re-read the genie and confirm its state is now stopped.
    operationId: getGenie
    parameters:
    - name: id
      in: path
      value: $inputs.genieId
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.state == "stopped"
      type: jsonpath
    outputs:
      state: $response.body#/state
  - stepId: deleteGenie
    description: Permanently delete the genie from the workspace.
    operationId: deleteGenie
    parameters:
    - name: id
      in: path
      value: $inputs.genieId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      deleted: $response.body#/success
  outputs:
    genieName: $steps.getGenie.outputs.genieName
    deleted: $steps.deleteGenie.outputs.deleted

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/workato-decommission-genie-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.