# Build workflows

> Design visual workflows with decision paths, approvals, waits, and AI steps.

A workflow makes your team’s process visible, from the request that starts the work to the result it produces. The blocks show where information is processed, where a decision changes the path, and where work waits for a person or an event. Teammates can review those choices together before publishing.

## Start with a decision and its outcomes

In the refund example, a routine request leads to a recommendation. A request outside the policy goes to a reviewer. A request missing its purchase date needs more information. [Map those paths](https://outwin.ai/docs/build/map-the-workflow/) first so you can agree on what should happen in each case.

Then give each AI block a specific job. A Route block decides which path to take. A Think block writes the recommendation after that decision. [Write instructions](https://outwin.ai/docs/build/write-ai-step-instructions/) that tell each block what to do with the information it receives.

## Make each handoff explicit

The reviewer needs the order details that caused the request to be escalated. The recommendation block needs enough information to explain its result. [Follow the data between blocks](https://outwin.ai/docs/build/pass-information-between-steps/) as you connect them, and configure policy guidance on each AI block that needs it.

Add an [approval](https://outwin.ai/docs/build/add-human-approval/) at the point where a person must authorize the next action. Use a [wait](https://outwin.ai/docs/build/wait-for-an-event/) when the next action depends on time passing or an external response. Each pause should make clear what lets the work continue.

When the workflow has to act in another system, such as sending the refund email or opening a ticket, an **HTTP request** block calls that system’s API through a [saved connection](https://outwin.ai/docs/build/connect-an-api/).

## Choose a model for the job

Each AI block makes a separate model call with its own context. That lets you choose a model for the reasoning each job requires. A routine recommendation may work well with a lower-cost model, while an unusual policy decision may benefit from a more capable one. [Compare the results on the same cases](https://outwin.ai/docs/build/choose-a-model/) before deciding.

When the flow is ready, [test its paths in a practice workflow](https://outwin.ai/docs/run/test-before-publishing/) before putting it into production.

## Common tasks

### [Send a policy exception for approval](https://outwin.ai/docs/build/add-human-approval/send-an-exception-for-approval/)

Send a policy exception to a reviewer with enough context to decide.

### [Compare two models on a routine step](https://outwin.ai/docs/build/choose-a-model/compare-two-models/)

Compare two models on the same routine workflow step.

## Chapters

- [Map the workflow](https://outwin.ai/docs/build/map-the-workflow/)
- [Write instructions for an AI step](https://outwin.ai/docs/build/write-ai-step-instructions/)
- [Pass information between steps](https://outwin.ai/docs/build/pass-information-between-steps/)
- [Branch on a decision](https://outwin.ai/docs/build/branch-on-a-decision/)
- [Add a human approval](https://outwin.ai/docs/build/add-human-approval/)
- [Wait for an event](https://outwin.ai/docs/build/wait-for-an-event/)
- [Connect an API](https://outwin.ai/docs/build/connect-an-api/)
- [Choose a model for each AI step](https://outwin.ai/docs/build/choose-a-model/)
