Skip to main content
Branch workflow execution based on a condition function that evaluates step context.

How It Works

  1. draft and review steps execute sequentially.
  2. The condition function receives the step context.
  3. If it returns True, the true_steps branch executes.
  4. If it returns False, the false_steps branch executes.

Multiple True/False Steps

Both branches accept a single step or a list:

Async Conditions