# Workflow

## AirOps Workflow Step

The Workflow Step allows you to run a published workflow within another workflow, allowing you to reuse existing workflows rather than rebuilding the same functionality.

{% @arcade/embed url="<https://app.arcade.software/share/8MrnejvX1e1nap4jJDmC>" flowId="8MrnejvX1e1nap4jJDmC" %}

### Setup Instructions

1. Drag the Workflow Step from the side panel into your canvas
2. Select a published workflow from the dropdown list
3. Select the version of the workflow to use
4. Map the required inputs for the selected workflow
5. Configure error handling behavior (Terminate or Continue)

### Input Configuration

* The step will automatically display the input fields required by the selected workflow
* Map inputs using values from previous steps or static values
* Use the variable selector (purple icon) to reference outputs from previous steps

### Error Handling

* Choose "Terminate Workflow" to stop the parent workflow if this step fails
* Choose "Continue" to proceed with subsequent steps even if this workflow fails

### Notes

* The workflow you select must be published before it will appear in the dropdown
* Output from the workflow step can be referenced in subsequent steps using: `{{ step_X.output }}`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.airops.com/actions/workflow-concepts/workflow-steps/utility-steps/app.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
