> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/docs/pt/acoes/workflow-concepts/workflow-steps/utility-steps/app.md).

# Workflow

## Etapa de Workflow do AirOps

A Etapa de Workflow permite executar um fluxo de trabalho publicado dentro de outro fluxo de trabalho, permitindo reutilizar fluxos de trabalho existentes em vez de reconstruir a mesma funcionalidade.

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

### Instruções de Configuração

1. Arraste a Etapa de Workflow do painel lateral para a sua área de trabalho
2. Selecione um fluxo de trabalho publicado na lista suspensa
3. Selecione a versão do fluxo de trabalho a usar
4. Associe as entradas necessárias ao fluxo de trabalho selecionado
5. Configure o comportamento de tratamento de erros (Terminar ou Continuar)

### Configuração de Entrada

* A etapa exibirá automaticamente os campos de entrada exigidos pelo fluxo de trabalho selecionado
* Associe as entradas usando valores de etapas anteriores ou valores estáticos
* Use o seletor de variáveis (ícone roxo) para referenciar saídas de etapas anteriores

### Tratamento de erros

* Escolha "Terminar Fluxo de Trabalho" para interromper o fluxo de trabalho pai se esta etapa falhar
* Escolha "Continuar" para prosseguir com as etapas subsequentes mesmo que este fluxo de trabalho falhe

### Notas

* O fluxo de trabalho que você selecionar precisa ser publicado antes de aparecer na lista suspensa
* A saída da etapa de fluxo de trabalho pode ser referenciada nas etapas subsequentes usando: `{{ step_X.output }}`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.airops.com/docs/pt/acoes/workflow-concepts/workflow-steps/utility-steps/app.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
