Skip to content Skip to footer

Set Variable

About Set Variable

CORE NODE
|
LIVE
The Set Variable node allows you to store values within a Decimal workflow so they can be reused by downstream nodes.

It helps manage workflow state, simplify data handling, and make workflows easier to read and maintain by storing intermediate values, computed outputs, or control flags.
Free 10k credits/mo
Set Variable node
Verified
This node is build and supported by Decimal

Settings

Variables are the most core component of any dynamic and automated workflow. It allows workflows access dynamic values during runtime.
Variable name
Defines the name of the variable that will store the value.

This name is automatically store under the variables section for later quicker reference and monitoring.
Value
Specifies the value to assign to the variable.

This can be a static value or data derived from previous workflow steps.
Value type
Determines the data type of the stored value.

Supported types include String, Number, Boolean, and JSON.

Selecting the correct type ensures proper usage in downstream nodes.

FAQ about Set Variable

1. What does the Set Variable node do?
It stores a value under a defined name so that it can be reused later in the workflow, helping maintain consistency and reduce repetitive inputs.
Use it when you need to save values from previous steps, reuse data across multiple nodes, update values dynamically, or simplify complex data paths.

These node is very versatile and can be used to store a range of values across wallet addresses, amounts, object definitions, datetime etc.
You can store numbers, text, boolean values (true/false), JSON objects, or outputs from previous nodes and API responses.

This node is very versatile and can be used to store a range of values across wallet addresses, amounts, object definitions, datetime etc.
Yes. Setting a variable again with the same name overwrites the previous value, allowing the workflow to update state as it progresses.
Stored variables can be referenced in later steps such as conditions (If / Else), API calls, calculations, or notifications, enabling dynamic and flexible workflows by simply dragging their variable name in the required field.

It will show up as ${xyz}

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