--- title: Variables icon: brackets-curly --- Variables are placeholders for content that you can then use anywhere in the Typebot. It's a very important concept to understand to truly create a customized experience for the user. ## Save an answer in a variable You can tell your input block to save the answer into a variable and reuse then in a further bubble for example: Variable saving ## Use variables Once your variables are declared you can use theme **anywhere** in your bot. For example you can display it in a text bubble with the following syntax: `{{My variable}}` where "My variable" is the name of your variable. ## Inline variable formatting You can also decide to format your variable directly in the text bubble. For example if you want to display the variable "First name" in uppercase you can use the following syntax: `{{={{My variable}}.toUpperCase()=}}` When you insert `{{= ... =}}`, it means what's inside will be evaluated as JavaScript. So you can use any JavaScript inline function inside. The behavior is similar to the custom value in the Set variable block. If you would like to get the first item of a list: `{{={{My variable}}[0]=}}` or `{{={{My variable}}.at(0)=}}` Likewise for last item: `{{={{My variable}}.at(-1)=}}` ## Variables panel You can access the variables panel by clicking on the "Variables" button in the top right corner of the editor: Variables panel In this panel you can see all the variables declared in your bot. There, you can easily rename, edit, delete your variables. By default, a variable is not saved in the results table. You can change it by enabling the `Save in results` option in the Variables panel. ## Advanced concepts Here is a quick video that showcases advanced concepts about variables: