If/Else

The If/Else Step creates logic branches in your flow based on conditions.

When to Use

  • Take different actions based on data
  • Implement “if this, then that” logic
  • Handle errors differently than successes
  • Filter/process only items meeting criteria

Settings

Basic Settings

  • Description: Name your condition
  • Editor preview: Toggle output preview

Condition Configuration

  • Combine expressions with AND/OR logic
  • Each condition:
    • Left Expression (e.g., $.customer.status)
    • Operator: =, <>, <, <=, >, >=
    • Right Expression: Value or variable
    • Optional parentheses for grouping

Input Preview

  • View usable data
  • “Play” button to test your condition

True/False Branches

  • True: Steps here run if condition is true
  • False: Steps here run if false
  • Add steps with the “+” button

Tips

Use “True”/”False” constants for booleans

Keep conditions simple and readable

Use several If/Else steps for complex logic

Test with different data

Reference prior data using JSONPath