Conditional Branches
The Conditional Branch instruction evaluates a condition and follows one of two paths:- TRUE path — Instructions to execute when the condition is met
- FALSE path — Instructions to execute when the condition is not met
- Whether an element exists on the page
- The value of a variable
- The current URL
- The result of a JavaScript expression
States
States are named checkpoints within an agent workflow. Each state has:
States allow the agent to:
- Resume from a known point — If an execution is interrupted, it can restart from the last reached state
- Branch based on current state — Different instructions can execute depending on which state the agent is in