# How to upload looped app variable to a cloud variable object

**URL:** https://community.thunkable.com/t/how-to-upload-looped-app-variable-to-a-cloud-variable-object/1079086
**Category:** Questions about Thunkable X
**Tags:** firebase, list, object
**Created:** [February 2, 2021, 7:10am UTC](https://community.thunkable.com/t/how-to-upload-looped-app-variable-to-a-cloud-variable-object/1079086 "2021-02-02T07:10:37Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)
#### Post date: [February 2, 2021, 7:10am UTC](https://community.thunkable.com/t/how-to-upload-looped-app-variable-to-a-cloud-variable-object/1079086/1 "2021-02-02T07:10:37Z")

</div>

I’ve searched and searched and can’t find an answer to this question…

Here’s my blocks, it works ok with a few items in the lists, but as you can imagine a few iterations in and it really adds up.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/5/e576ae637cd14c3d75f9fa0a588adb421a3b7bcb.png)  
How can I compile this entire thing as an app or stored variable, and then upload that entire compilation as a cloud variable in one big chunk to save time?

Thanks Thunkers

---

<div class="post-metadata">

### Author: ![paulovaz72](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/paulovaz72/32/119071_2.png) [@paulovaz72](https://community.thunkable.com/u/paulovaz72)
#### Post date: [October 31, 2021, 10:31am UTC](https://community.thunkable.com/t/how-to-upload-looped-app-variable-to-a-cloud-variable-object/1079086/2 "2021-10-31T10:31:13Z")

</div>

Did you try to save as a JSON object? Using JSON structure you can save all the data in a single variable… of course you will need to implement a saving / reading process to compose / decompose the data…

---

<div class="post-metadata">

### Author: ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)
#### Post date: [October 31, 2021, 12:28pm UTC](https://community.thunkable.com/t/how-to-upload-looped-app-variable-to-a-cloud-variable-object/1079086/3 "2021-10-31T12:28:39Z")

</div>

Hey thanks for that suggestion, no I hadn’t tried that at the time.  
What would that look like as far as the block structure?

---

<div class="post-metadata">

### Author: ![paulovaz72](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/paulovaz72/32/119071_2.png) [@paulovaz72](https://community.thunkable.com/u/paulovaz72)
#### Post date: [October 31, 2021, 12:52pm UTC](https://community.thunkable.com/t/how-to-upload-looped-app-variable-to-a-cloud-variable-object/1079086/4 "2021-10-31T12:52:43Z")

</div>

You need to use the “make list from text” + “get object from JSON” blocks to read data.

And “create object” + “generate JSON from object” blocks to write data.

Please check the documentation: [Objects - Thunkable Docs](https://docs.thunkable.com/objects#convert-between-object-and-json)

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:29pm UTC](https://community.thunkable.com/t/how-to-upload-looped-app-variable-to-a-cloud-variable-object/1079086/5 "2024-11-08T13:29:37Z")

</div>


