App variables vs database


I am new in bubble and I am trying to understand how to use app variables.
All the exemple I saw talked about the database and data in the database.

For exemple I need to build a json in order to use send it to an API.
In general I would create an object in my app with other nested objects… and then user this repeating object to create my json.
I will never same my data in my database and once I send it to my api I do not need to keep it.

I do not understand how to do this in bubble and not store any data in the database.
Can you please help me ?

You’ll want to investigate how to use Custom States, they are like variables that float in your app without being written to the DB. You can manipulate them, perform math on them and just about anything. They are the main building blocks on apps that write.