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

# Conditional Steps

| Parameter               | Type                                                                               | Default                | Description                                                                                   |
| ----------------------- | ---------------------------------------------------------------------------------- | ---------------------- | --------------------------------------------------------------------------------------------- |
| `evaluator`             | `Union[Callable[[StepInput], bool], Callable[[StepInput], Awaitable[bool]], bool]` | `None`                 | Function or boolean to evaluate the condition (ignored when `requires_confirmation=True`)     |
| `steps`                 | `WorkflowSteps`                                                                    | Required               | Steps to execute if the condition is met (if branch)                                          |
| `else_steps`            | `WorkflowSteps`                                                                    | `None`                 | Steps to execute if the condition is not met (else branch)                                    |
| `name`                  | `Optional[str]`                                                                    | `None`                 | Name of the condition step                                                                    |
| `description`           | `Optional[str]`                                                                    | `None`                 | Description of the condition step                                                             |
| `human_review`          | `Optional[HumanReview]`                                                            | `None`                 | All HITL settings in a single config. See [HumanReview Config](/workflows/hitl/human-review). |
| `requires_confirmation` | `bool`                                                                             | `False`                | Pause for user to decide which branch to execute                                              |
| `confirmation_message`  | `Optional[str]`                                                                    | `None`                 | Message shown to user when requesting decision                                                |
| `on_reject`             | `OnReject`                                                                         | `OnReject.else_branch` | Action when rejected: `else_branch` (execute else\_steps), `skip`, `cancel`                   |
