Router

Runnable workflow examples under: cookbook/04_workflows/07_cel_expressions/router.

ExampleDescription
CEL Additional Data RouteUses additional_data.route to let the caller specify which step.
CEL Previous Step RouteUse previous_step_outputs to read a named classifier result and route to the matching handler.
CEL Session State RouteRoute using session_state.preferred_handler and change the default for subsequent runs.
CEL TernaryUse a CEL ternary expression to choose between two steps based on the input content.
CEL Using Step ChoicesUse step_choices indexes to reference route targets without hardcoding step names.