Workato · Arazzo Workflow

Workato Inspect and Roll Back a Recipe Version

Version 1.0.0

Review a recipe's version history and restore an earlier version's code.

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

Provider

workato

Workflows

recipe-version-rollback
List recipe versions, fetch one, and restore its code to the recipe.
Reads the version history of a recipe, retrieves a specific version, and updates the recipe with that version's code to perform a rollback.
3 steps inputs: recipeId, restoredCode, versionId outputs: recipeId, restoredFromVersion, updatedAt
1
listVersions
List the version history of the recipe to confirm prior versions exist.
2
getVersion
Read the chosen version's details to capture its snapshot metadata.
3
restoreVersion
Update the recipe with the restored code, rolling it back to the chosen version's state.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Workato Inspect and Roll Back a Recipe Version
  summary: Review a recipe's version history and restore an earlier version's code.
  description: >-
    Supports change management for recipes. The workflow lists a recipe's
    version history, reads the details of a chosen prior version to extract its
    code, and updates the recipe to restore that code — effectively rolling the
    recipe back to a known-good state. 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: recipesApi
  url: ../openapi/workato-recipes-api-openapi.yml
  type: openapi
workflows:
- workflowId: recipe-version-rollback
  summary: List recipe versions, fetch one, and restore its code to the recipe.
  description: >-
    Reads the version history of a recipe, retrieves a specific version, and
    updates the recipe with that version's code to perform a rollback.
  inputs:
    type: object
    required:
    - recipeId
    - versionId
    - restoredCode
    properties:
      recipeId:
        type: integer
        description: The unique identifier of the recipe to roll back.
      versionId:
        type: integer
        description: The version number or ID to inspect and restore.
      restoredCode:
        type: string
        description: >-
          The JSON-encoded recipe code to write back, typically taken from the
          inspected version's code.
  steps:
  - stepId: listVersions
    description: List the version history of the recipe to confirm prior versions exist.
    operationId: listRecipeVersions
    parameters:
    - name: recipe_id
      in: path
      value: $inputs.recipeId
    - name: per_page
      in: query
      value: 100
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.items.length > 0
      type: jsonpath
    outputs:
      latestVersionNo: $response.body#/items/0/version_no
  - stepId: getVersion
    description: Read the chosen version's details to capture its snapshot metadata.
    operationId: getRecipeVersion
    parameters:
    - name: recipe_id
      in: path
      value: $inputs.recipeId
    - name: id
      in: path
      value: $inputs.versionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      versionNo: $response.body#/version_no
      comment: $response.body#/comment
  - stepId: restoreVersion
    description: >-
      Update the recipe with the restored code, rolling it back to the chosen
      version's state.
    operationId: updateRecipe
    parameters:
    - name: id
      in: path
      value: $inputs.recipeId
    requestBody:
      contentType: application/json
      payload:
        recipe:
          code: $inputs.restoredCode
          description: Rolled back via Arazzo recipe-version-rollback workflow.
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      recipeId: $response.body#/id
      updatedAt: $response.body#/updated_at
  outputs:
    restoredFromVersion: $steps.getVersion.outputs.versionNo
    recipeId: $steps.restoreVersion.outputs.recipeId
    updatedAt: $steps.restoreVersion.outputs.updatedAt

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-recipe-version-rollback-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.