Skip to main content
Use a conditions branch node to create different branches in your agentic workflow. When conditions are evaluated, conditions branch nodes execute only the first matching path, providing sequential decision-making logic similar to if-else statements. To configure a conditions branch node, call the conditions() method to create a branch with conditional expressions. The example below demonstrates how to configure a branch node.
Python