About If Else
CORE NODE
|
LIVE
The If / Else node adds decision-making capability to a Decimal workflow.
It evaluates a condition between two values and determines whether the workflow should continue through the If (true) path or the Else (false) path.
This allows workflows to dynamically respond to real-time data, validate results, and control execution safely.
It evaluates a condition between two values and determines whether the workflow should continue through the If (true) path or the Else (false) path.
This allows workflows to dynamically respond to real-time data, validate results, and control execution safely.
Free 10k credits/mo
If Else node
Verified
This node is build and supported by Decimal
Settings
Evaluates a comparison between two values and returns a boolean result that can be used to control downstream workflow execution.
Left value path
Specifies the value from the workflow context that will be evaluated.
Operator
Defines the comparison logic to apply between the left and right values.
Currently supported operators include Equals (==), Not Equals (!=), Greater Than (>), Less Than (=), and Less Than or Equal To (<=).
Currently supported operators include Equals (==), Not Equals (!=), Greater Than (>), Less Than (=), and Less Than or Equal To (<=).
Right value path
The value that the left value will be compared against.
It can be a number or string and must match the expected data type of the left value.
It can be a number or string and must match the expected data type of the left value.
Result variable name
Specifies the variable that will store the boolean result (true or false) after evaluation.
This variable becomes available to downstream nodes for conditional execution.
This variable becomes available to downstream nodes for conditional execution.
FAQ about If Else
1. What is an If / Else condition?
An If / Else condition allows the workflow to run different actions depending on whether a defined rule evaluates to true or false.
2. When should I use the If / Else node?
Use it when workflow behavior depends on runtime data, such as validating API responses, checking balances, enforcing limits, or triggering actions when thresholds are reached.
3. What happens if the condition is true?
When the condition evaluates to true, only the steps connected to the If (true) branch are executed, and the False branch is skipped.
4. What happens if the condition is false?
If the condition evaluates to false, the workflow follows the False branch. If no false branch is configured, the workflow will terminate.
5. Can I use multiple conditions?
Yes. You can combine multiple conditions by chaining multiple If / Else nodes to create more complex decision tree.