# Variables (brick) The Variables brick sets one or more variables to a value: text, a number, or other variables. The value of each variable takes other variables and contact fields, such as `{{contact.first_name}}`. See [Variables](https://docs.aiva.apifonica.com/guides/build/variables/). ## When to use Store a choice for later (`{{topic}}` = `billing`), copy one value into another, set a flag or a default before a branch, or prepare values for an SMS or an HTTP request. ## Settings | Setting | What it does | | ------------------ | ------------------------------------------------------------------- | | Variable | An existing variable, or **Set new variable** | | **Variable value** | Text, a number or other variables, such as `{{contact.first_name}}` | | **Add variable** | Sets another variable in the same brick | ## Outputs | Output | When | | --------- | --------------------------------------------------- | | Processed | The values are set; later bricks see the new values | ## Good practice For calculations, formatting or several values from one JSON, use JavaScript. ## Related [Variables](https://docs.aiva.apifonica.com/guides/build/variables/), Conditions