Search K
Appearance
Appearance
The If Statement node evaluates a list of user-defined conditions and returns True
if all conditions are met, or False
otherwise.
✅ Perform conditional logic within workflows.
✅ Dynamically control execution paths based on data evaluations.
✅ Support comparisons for string, number, date, boolean, and object data types.
Field Label | Input Type | Description |
---|---|---|
Conditions | JSON Array | A list of conditions to evaluate. Each condition must include Input , Compare , DataType , and Operator . |
Property | Type | Description |
---|---|---|
Input | Text | The left-hand value to compare. Supports placeholders for data variables. |
Compare | Text | The right-hand value to compare against. Supports placeholders for data variables. |
DataType | Text | The data type for comparison. Supported values: string , number , datetime , boolean , object . |
Operator | Text | The operator to use for comparison. Varies by data type (see Supported Operators section). |
equals
notEquals
contains
startsWith
endsWith
equals
notEquals
greaterThan
lessThan
greaterOrEqual
lessOrEqual
before
after
equals
notEquals
equals
notEquals
deepEquals
– Checks if two JSON objects are deeply equalnotEquals
– Checks if two JSON objects are not deeply equalOutput Variable | Description |
---|---|
statusReturn | Returns "True" if all conditions are met, otherwise "False" . |
taskMessage | "All conditions met" or "One or more conditions failed" . |
✅ Check if an invoice amount exceeds a threshold and the status is Approved
.
✅ Validate that an input date is after today.
✅ Compare two JSON payloads for equality to trigger downstream processing.
[
{
"Input": "{InvoiceAmount}",
"Compare": "1000",
"DataType": "number",
"Operator": "greaterThan"
},
{
"Input": "{ApprovalStatus}",
"Compare": "Approved",
"DataType": "string",
"Operator": "equals"
}
]