Human in the Loop
Add approval, route selection, user input, and output review to workflows.
Pause a workflow at a defined review point, collect the required decision, then continue the same run. These examples cover review at workflow components and inside agent tools.
| Example | What it demonstrates |
|---|---|
| Step confirmation | Ask for approval before executing an agent step. |
| Route selection | Let a person choose a registered branch. |
| Loop confirmation | Approve the start of an entire loop. |
| Decision tree | Choose conditional paths through a workflow. |
| Workflow and tool review | Resolve review requirements at both levels. |
| Retry or skip | Handle a failed step through a human decision. |
| Review timeouts | Apply an expired review’s policy when the caller continues the run. |
For the API contract and configuration options, see workflow human review.