Skip to content Skip to footer

If Else

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.
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 (<=).
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.
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.

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.
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.
When the condition evaluates to true, only the steps connected to the If (true) branch are executed, and the False branch is skipped.
If the condition evaluates to false, the workflow follows the False branch. If no false branch is configured, the workflow will terminate.
Yes. You can combine multiple conditions by chaining multiple If / Else nodes to create more complex decision tree.

Build your first Web3 workflow.

10,000 FREE credits/mo

Realise Web3 true potential

SIGNUP FOR UPDATES*

    INQUIRIES
    SOCIALS

    Decimal© 2023-2026. All Rights Reserved.

    These materials are for general information purposes only and are not investment advice or a recommendation or solicitation to buy, sell, stake or hold any cryptoasset or to engage in any specific trading strategy. Decimal does not and will not work to increase or decrease the price of any particular cryptoasset it makes available. Some crypto products and markets are unregulated, and you may not be protected by government compensation and/or regulatory protection schemes. The unpredictable nature of the crypto-asset markets can lead to loss of funds. Tax may be payable on any return and/or on any increase in the value of your cryptoassets and you should seek independent advice on your taxation position. Geographic restrictions may apply.

    Go to Top