> For the complete documentation index, see [llms.txt](https://docs.allganize.ai/allganize-alli-works-userguide-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.allganize.ai/allganize-alli-works-userguide-en/conversational-apps/use-formulas-and-functions-in-the-set-variable-value-node/set-variable-value-export-variable-node.md).

# Set variable value, export variable node

**Set variable value**

Use the Set Variable Value node when you need to update customer information, authentication codes, or any other variable values for whatever reason.

Simple example

<figure><img src="/files/Iw4PP9CzK48YiwB7uxDu" alt=""><figcaption></figcaption></figure>

To use this node, click the 'Set Variable Value' node in Create Conversational App, select the variable to use, then choose the type of value to assign. After that, enter the variable value in the variable value field.

<figure><img src="/files/o1rKiW3WXtaIJAnQ5rB5" alt=""><figcaption></figcaption></figure>

You can choose the type as Value (constant), Variable, or Expression.

After entering the value, click the Apply button. You can then add more variables to update or click Apply once more to save the changes.

Note: The variable may or may not already have an existing value. Regardless, once the node executes, the value will be updated to the value specified in the node.

**Export variable**

<figure><img src="/files/imAuumRNa94W80Gvcfys" alt=""><figcaption></figcaption></figure>

Variable export lets you track and record custom statistical data. Using this, you can store data selected by users and later analyze that data.

1. **Using the Send Message/Ask Question node** First, **Send Message/Ask Question** use the node to prompt the user to select a button. For example, present multiple choices and when the user clicks a button, store that choice in a variable. (e.g., `SELECTED_1ST`)
2. **Add variable export node** Then **Export variable** add the node to the flow. In this node, specify the variable you want to export. (e.g., `SELECTED_1ST`). At this point, the variable value is recorded and saved like a "snapshot."
