Automation Editor
...
Building Automations
Action functionality
Conditional branches
2min
Conditional branches let automations choose different execution paths for actions based upon criteria:
![Document image Document image](https://images.archbee.com/Y2QGD8otsIOv4e0hQQnqa/-YInXzSOBF-wjn9JLXHf9_image.png?format=webp)
To add a conditional branch, click a "plus" icon and select the option:
![Document image Document image](https://images.archbee.com/Y2QGD8otsIOv4e0hQQnqa/5q37Cxan0fK3Q954y4m1L_image.png?format=webp)
Then configure the condition's criteria. Typically the condition will be based on a mapped output value from a previously executed action:
![Document image Document image](https://images.archbee.com/Y2QGD8otsIOv4e0hQQnqa/rfKWBcRtphQXcJq4mz8ko_image.png?format=webp)
The conditional can include AND and OR logic for sophisticated branching rules if needed.
Then add actions to the true and false branches of the condition as needed:
![Document image Document image](https://images.archbee.com/Y2QGD8otsIOv4e0hQQnqa/Jw5qHBWB-dxpCANPnuKt0_image.png?format=webp)
Conditions can be nested into the true/false branches as needed:
![Document image Document image](https://images.archbee.com/Y2QGD8otsIOv4e0hQQnqa/oFMo5CA4LAuw_t1QRiSlo_image.png?format=webp)
Updated 28 Nov 2023
Did this page help you?