Update Variable

Variables are one of the most important concepts to understand in Xano. You can think of Variables as containers that hold information. Their sole purpose is to label and store data in memory to be sent to your front-end or used in another function.

When to update a variable

Sometimes you might want to take an existing variable being sent through the function stack and transform it. This could be as simple as taking lowercase letters and making them uppercase. The video example below shows just that example:

A few other basic examples of when to use the Update Variable Function

  • Doing math on values stored in variables before sending it to the front-end

  • Changing Timezones

  • Reformatting text strings

Last updated