ToolJet/docs/versioned_docs/version-2.4.0/actions/set-variable.md
Shubhendra Singh Chauhan e8675f0a4c
[docs] Added docs version 2.4.0 (#5956)
* minor url fix

* added docs version 2.4.0

* default version set to 2.4
2023-04-06 19:09:47 +05:30

822 B

id title
set-variable Set variable

This action allows you to create a variable and assign a value to it.

Options

Option Description
Key Name(String) of the variable through which you can access the value
Value A value can be a string, number, boolean expression, array, or object
Debounce Debounce field is empty by default, you can enter a numerical value to specify the time in milliseconds after which the action will be performed. ex: 300

:::info You can also trigger actions from the JavaScript code. Check it out here. :::

ToolJet - Action reference -Set variable