> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rasayel.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Flow variables

Flow variables are temporary values used within a specific flow. They can be set from user replies, WhatsApp flows, or API responses, and help guide the user’s journey by controlling logic inside that flow.

## Saving flow variables

You can save and use flow variables in different ways

### **User Reply node**:

1. Add a **User Reply** node.
2. Click on **Save reply** in the node settings.
3. Select **a variable** to store the reply.
4. Choose to save it either as a **Rasayel property** or create a **flow variable**.

<img src="https://mintcdn.com/rasayel-0ad99d68/OGgFm2GTmIRRXKY8/images/user_reply-1.png?fit=max&auto=format&n=OGgFm2GTmIRRXKY8&q=85&s=7a4d69f989f21a05f7877b2e65b64806" alt="User Reply 1 Pn" width="2180" height="1372" data-path="images/user_reply-1.png" />

### **API Call node:**

1. Make an API call within the flow.
2. Once it runs successfully, select any of the response fields.
3. Save the selected value as a flow variable to use later in the flow.

<img src="https://mintcdn.com/rasayel-0ad99d68/4JPdDAmSPPbDMJdu/images/API-call-one.png?fit=max&auto=format&n=4JPdDAmSPPbDMJdu&q=85&s=bba8b6ebdf854a4563fca8e010bf15a2" alt="API Call One Pn" width="2180" height="2216" data-path="images/API-call-one.png" />

## Using flow Variables

Once saved, flow variables can be used throughout the flow:

* Insert them into a **Simple Message** node to personalize responses.
* Use them in **Conditional** nodes to branch the flow based on user input.
* Store API responses and reuse them in different parts of the flow.

<img src="https://mintcdn.com/rasayel-0ad99d68/mMuXrsUSO28oI2KM/images/flow-use.png?fit=max&auto=format&n=mMuXrsUSO28oI2KM&q=85&s=6e10549cee682a3da22db1feb5a47337" alt="Flow Use Pn" width="2180" height="1276" data-path="images/flow-use.png" />
