ToolJet/docs/versioned_docs/version-1.x.x/actions/set-variable.md
2022-12-09 15:49:55 +05:30

16 lines
370 B
Markdown

---
id: set-variable
title: Set variable
---
This action allows you to create a variable and assign a `value` to it.
:::info
You can also trigger actions from the **JavaScript code**. Check it out [here](/docs/how-to/run-actions-from-runjs).
:::
<div style={{textAlign: 'center'}}>
![ToolJet - Action reference -Set variable](/img/actions/setvar/setvar.png)
</div>