Skip to main content
The router selects a branch, then asks the user to confirm that selection before execution.
router_confirmation.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Run the example

Save the code above as router_confirmation.py, then run:
Full source: cookbook/04_workflows/08_human_in_the_loop/router/04_router_confirmation.py