Docs
Sign in

Logic and flow

Logic and flow nodes decide which path a workflow takes, run paths side by side, repeat steps and handle errors.

Screenshot to add: The Builder palette showing the Condition, Router, Switch, Parallel, Join, Loop and Try / Catch nodes.

The nodes in this group

NodeWhat it does
ConditionChecks one true/false expression and sends the workflow down a True or False path
RouterSends the workflow down one or more of several routes, each with its own condition
SwitchCompares one value against a list of cases and takes the matching path, with an optional default
ParallelFans out into two or more branches that run at the same time
JoinWaits for parallel branches and merges their results into one
LoopRepeats the steps inside it for each item in a list, while a condition is true, or a set number of times
Try / CatchWraps steps so that an error goes to a separate path instead of stopping the workflow

Which one should I use?

  • Two outcomes (yes or no)? Use Condition.
  • Several outcomes, each with its own rule? Use Router. Its mode decides whether only the first match, or every match, is followed.
  • Several outcomes based on one value, such as a status? Use Switch. It is simpler than a Router when you are only comparing one value.
  • Several things that can happen at the same time? Use Parallel, then bring the results back together with Join.
  • The same steps for every item in a list? Use Loop.
  • A step might fail and you want to recover? Use Try / Catch.

In this section