> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Conditional Branching

> Router and conditional workflow examples for dynamic branch selection.

| Example | Description |
| - | - |
| [Loop In Choices](https://agno-v2.mintlify.site/examples/workflows/conditional-branching/loop-in-choices.md) | Demonstrates using a `Loop` component as one of the router choices. |
| [Nested Choices](https://agno-v2.mintlify.site/examples/workflows/conditional-branching/nested-choices.md) | Demonstrates nested lists in router choices, which are converted into sequential `Steps` containers. |
| [Router Basic](https://agno-v2.mintlify.site/examples/workflows/conditional-branching/router-basic.md) | Demonstrates topic-based routing between specialized research steps before content publishing. |
| [Router With Loop](https://agno-v2.mintlify.site/examples/workflows/conditional-branching/router-with-loop.md) | Demonstrates router-based selection between simple web research and iterative loop-based deep tech research. |
| [Selector Media Pipeline](https://agno-v2.mintlify.site/examples/workflows/conditional-branching/selector-media-pipeline.md) | Route media requests to OpenAI image generation or Gemini video generation. |
| [Selector Types](https://agno-v2.mintlify.site/examples/workflows/conditional-branching/selector-types.md) | Demonstrates router selector flexibility across string, step object, list, and nested-choice return patterns. |
| [Step Choices Parameter](https://agno-v2.mintlify.site/examples/workflows/conditional-branching/step-choices-parameter.md) | Demonstrates using `step_choices` in a router selector for dynamic step selection. |
| [String Selector](https://agno-v2.mintlify.site/examples/workflows/conditional-branching/string-selector.md) | Demonstrates returning a step name string from a router selector. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.