Skip to content

Flow Variables

When we enter the flow creation screen, by clicking the button highlighted in red in the image below, we can add, delete, or edit values of variables in our flow.

Add Variable

To add a variable, we need to fill in the areas indicated in red below. The variable value is not mandatory. The name of a newly created variable cannot match a previously created variable. Each variable name must be different.

Variable Types

  • string
  • number
  • boolean
  • Date
  • Object

string is for values containing text. number is for values containing numbers. boolean takes values of true or false. Date is for values containing dates. Object is for values of list and object. Example: [1,2,3,4] or { id: 1, name: "Istanbul" }. Here, all variable types can take any desired value. However, during the flow, unwanted results may occur depending on the type of operation with other variable values. Therefore, attention should be paid to variable types when creating them.

Edit Variable

To change the value of the selected variable, we need to make changes in the area highlighted in red below. The values written for the variable value are assigned as default values when the flow starts.

Delete Variable

To delete the selected variable, we need to click the button highlighted in red below.