Random boolean
Random
Pure
Random boolean
Value
Description
Pure function returning a uniformly random true/false value.
When to use
Use Random boolean when you need a fair coin-flip decision in a pipeline — for example, A/B testing two branches, randomizing which of two paths executes, or generating test data with random flags. Wire the output directly into a Branch condition input to route execution randomly at runtime.
Pins
Output pins
| Pin | Type | Notes |
|---|---|---|
| Value | boolean | A randomly generated boolean with equal probability of true and false. |
Example
Randomly route users to one of two onboarding flows for an A/B test. Wire the Value output of Random boolean into the Condition input of Branch. Each pipeline execution independently takes the True or False execution output with equal probability, sending users to one of two Send email nodes.