Skip to main content
Variables are key to programming conversational applications. They let you share information between nodes, skills, or tools. You will mainly work with the following types of variables in Brain Studio:
  • Context: Temporary — only lives within the specific flow where you create it.
  • Memory: Persists for 24 hours and across different skills, tools, and interactions.
  • User: Lets you access user data such as name, phone number, and other details.
  • Message: Lets you access the last message sent by the user.
  • Input/Output: Useful for building custom tools on the platform, exposing inputs you receive from the flow and outputs you return to it.
The variables mentioned above are related to the current conversation user. That is, their values correspond to the data and context of that particular user.
Below you can read the guides on how to save, read, and update variables in each case.