Skip to content

Route and transform data in a workflow

Build condition branches and loops, connect each output, and reuse variables from earlier steps.

Reviewed

Control which path a workflow takes, and shape the data moving through it.

Only continue if a condition is met

Add Only continue if…, then choose All conditions match or Any condition matches, and set your rules. The step has Yes and No outputs — if No isn't connected to anything, a workflow that takes that path just stops there.

Branch on a value

  1. Add Branch on a value.
  2. Click Add branch to create your first branch, and name it.
  3. Choose Match all rules or Match any rule, then set the field, operator and value. Use Add rule for more conditions on that branch.
  4. Repeat Add branch for each path you need, and connect the "+" after each branch — including after Otherwise — to what should happen next.

Loop over a list

Use a loop step to run the same steps for each item in a list. Connect Each item to what should happen per item, and After all to what happens once the loop finishes.

Working with variables

Values from earlier steps are available as template variables further down the workflow. Use Test this step to see what values you're working with — this only works if the trigger is a webhook that already has a received sample.

Related: Choose a workflow trigger, Use variables, Build a workflow.