Skip to main content
Use a branch node to create different branches in your agentic workflow. To configure a branch node, call the branch() method and define an evaluator or expression that determines which path to follow. The example below demonstrates how to configure a branch node.
Python