Workato · Arazzo Workflow

Workato Stop the First Running Recipe in a Folder

Version 1.0.0

Find running recipes in a folder and stop the first match.

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

Provider

workato

Workflows

stop-running-recipe-in-folder
List running recipes in a folder and stop the first one found.
Lists running recipes scoped to a folder, branches when at least one is returned, stops the first running recipe, and confirms it is stopped.
3 steps inputs: folderId outputs: running, stoppedRecipeId
1
listRunningRecipes
List recipes in the folder that are currently running, including subfolders, returning the most recently updated first.
2
stopRecipe
Stop the first running recipe returned by the listing.
3
confirmStopped
Re-read the recipe and confirm it is no longer running.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Workato Stop the First Running Recipe in a Folder
  summary: Find running recipes in a folder and stop the first match.
  description: >-
    An operational safety pattern for pausing automation in a project folder.
    The workflow lists the recipes in a folder that are currently running,
    branches on whether any matched, stops the first running recipe, and
    re-reads it to confirm it stopped. 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: stop-running-recipe-in-folder
  summary: List running recipes in a folder and stop the first one found.
  description: >-
    Lists running recipes scoped to a folder, branches when at least one is
    returned, stops the first running recipe, and confirms it is stopped.
  inputs:
    type: object
    required:
    - folderId
    properties:
      folderId:
        type: integer
        description: The folder ID to scope the running-recipe search to.
  steps:
  - stepId: listRunningRecipes
    description: >-
      List recipes in the folder that are currently running, including
      subfolders, returning the most recently updated first.
    operationId: listRecipes
    parameters:
    - name: folder_id
      in: query
      value: $inputs.folderId
    - name: with_subfolders
      in: query
      value: true
    - name: running
      in: query
      value: true
    - name: order
      in: query
      value: desc
    - name: per_page
      in: query
      value: 100
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstRecipeId: $response.body#/items/0/id
    onSuccess:
    - name: foundRunning
      type: goto
      stepId: stopRecipe
      criteria:
      - context: $response.body
        condition: $.items.length > 0
        type: jsonpath
    - name: noneRunning
      type: end
      criteria:
      - context: $response.body
        condition: $.items.length == 0
        type: jsonpath
  - stepId: stopRecipe
    description: Stop the first running recipe returned by the listing.
    operationId: stopRecipe
    parameters:
    - name: id
      in: path
      value: $steps.listRunningRecipes.outputs.firstRecipeId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      stopped: $response.body#/success
  - stepId: confirmStopped
    description: Re-read the recipe and confirm it is no longer running.
    operationId: getRecipe
    parameters:
    - name: id
      in: path
      value: $steps.listRunningRecipes.outputs.firstRecipeId
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.running == false
      type: jsonpath
    outputs:
      running: $response.body#/running
  outputs:
    stoppedRecipeId: $steps.listRunningRecipes.outputs.firstRecipeId
    running: $steps.confirmStopped.outputs.running

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-bulk-stop-recipes-in-folder-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.