Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.oration.ai/llms.txt

Use this file to discover all available pages before exploring further.

The Condition node evaluates one or more conditions against variables and branches the flow into True or False paths.

Behavior

  • Evaluates a list of conditions using the selected logic operator (AND / OR)
  • Routes to True if the combined result is truthy, False otherwise
  • Supports 13 comparison operators including regex matching

Configuration

ParameterTypeDefaultDescription
logicOperatorenum"and"How to combine multiple conditions: and (all must match) or or (any must match)
conditionsarrayList of condition rules (see below)

Condition rule

Each condition in the conditions array has:
FieldTypeDefaultDescription
variablestring""Variable name to evaluate
operatorenum"equals"Comparison operator (see table below)
valuestring""Value to compare against
caseSensitivebooleanfalseEnable case-sensitive comparison

Operators

OperatorDescription
equalsExact match
not_equalsNot equal
containsVariable contains the value
not_containsVariable does not contain the value
starts_withVariable starts with the value
ends_withVariable ends with the value
greater_thanNumeric greater than
less_thanNumeric less than
greater_equalNumeric greater than or equal
less_equalNumeric less than or equal
is_emptyVariable is empty or undefined
is_not_emptyVariable has a value
regex_matchVariable matches a regular expression

Output handles

HandleDescription
TrueAll conditions met (AND) or at least one met (OR)
FalseConditions not satisfied

Use cases

Check if {{customer_tier}} equals "vip". Route VIPs to a priority transfer queue and standard customers to the general queue.
After Collect Digits, check if {{digits}} matches a regex pattern (regex_match with ^\d{10}$) to validate a 10-digit phone number.
Combine conditions with AND: check that {{department}} equals "sales" AND {{business_hours}} is "open". Only transfer if both are true.