> 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 workflow publicado dentro de outro workflow, permitindo reutilizar workflows 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 o seu canvas
2. Selecione um workflow publicado na lista suspensa
3. Selecione a versão do workflow a utilizar
4. Mapeie as entradas obrigatórias do workflow selecionado
5. Configure o comportamento de tratamento de erros (Terminar ou Continuar)

<figure><img src="https://31915162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-1494b329cb45d3e64e9ce40fc65ec1522653e9d4%2Fworkflow-step-01-step-config.png?alt=media" alt="Workflow step running the Keyword SERP Researcher Workflow with its version and input mapping"><figcaption><p>Executar outro Workflow publicado como uma etapa.</p></figcaption></figure>

### Configuração de entradas

* A etapa apresentará automaticamente os campos de entrada necessários para o workflow selecionado
* Mapeie as entradas usando valores de etapas anteriores ou valores estáticos
* Use o seletor de variáveis (ícone roxo) para referenciar as saídas de etapas anteriores

### Tratamento de erros

* Escolha "Terminar workflow" para interromper o workflow pai se esta etapa falhar
* Escolha "Continuar" para prosseguir com as etapas subsequentes mesmo que este workflow falhe

### Notas

* O workflow que selecionar tem de ser publicado antes de aparecer na lista suspensa
* A saída da etapa de workflow 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.
