Logic and flow
Logic and flow nodes decide which path a workflow takes, run paths side by side, repeat steps and handle errors.
Screenshot placeholder
The nodes in this group
| Node | What it does |
|---|---|
| Condition | Checks one true/false expression and sends the workflow down a True or False path |
| Router | Sends the workflow down one or more of several routes, each with its own condition |
| Switch | Compares one value against a list of cases and takes the matching path, with an optional default |
| Parallel | Fans out into two or more branches that run at the same time |
| Join | Waits for parallel branches and merges their results into one |
| Loop | Repeats the steps inside it for each item in a list, while a condition is true, or a set number of times |
| Try / Catch | Wraps 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.