
Name
The Name field defines the variable identifier. This is the key you will use when referencing the value later in the flow. Variable names:- Must be unique within the same execution scope
- Should not contain spaces
- Are case-sensitive
If another Set Variable block uses the same name later in the flow, the previous value is overridden.
Value
The Value field defines what is stored in the variable. This can be:- Static text (for example,
Hello world) - A number (for example,
42) - A boolean (
true/false) - A dynamic reference (for example,
{request.body.name}) - A computed value from previous blocks or input from a query parameter
Referencing Variables
Use the following syntax:Example
If you create:- Name:
userId - Value:
{request.body.id}
Behavior & Scope
- Variables are available only during the current endpoint execution.
- Variables do not persist between requests.
- Variables can be overridden by redefining the same name later in the flow.
