# Save single json objects as thing into Bubble

**URL:** <https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957>\
**Category:** Database\
**Created:** [October 22, 2021, 12:52pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957 "2021-10-22T12:52:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabriele.pecchioli](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gabriele.pecchioli/32/96648_2.png) [@gabriele.pecchioli](https://forum.bubble.io/u/gabriele.pecchioli)\
**Post date:** [October 22, 2021, 12:52pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/1 "2021-10-22T12:52:31Z")

</div>

Hello Guys,  
do you know some method to saving records into database, as Things, by and API call that return JSON?

My request return something like this:  
[  
{  
“winery”: “Maselva”,  
“wine”: “Emporda 2012”,  
“rating”: {  
“average”: “4.9”,  
“reviews”: “88 ratings”  
},  
“location”: “Spain\n·\nEmpordà”,  
“image”: “[https://images.vivino.com/thumbs/ApnIiXjcT5Kc33OHgNb9dA\_375x500.jpg](https://images.vivino.com/thumbs/ApnIiXjcT5Kc33OHgNb9dA_375x500.jpg)”,  
“id”: 1  
},  
{  
“winery”: “Ernesto Ruffo”,  
“wine”: “Amarone della Valpolicella Riserva N.V.”,  
“rating”: {  
“average”: “4.9”,  
“reviews”: “75 ratings”  
},  
“location”: “Italy\n·\nAmarone della Valpolicella”,  
“image”: “[https://images.vivino.com/thumbs/nC9V6L2mQQSq0s-wZLcaxw\_pb\_x300.png](https://images.vivino.com/thumbs/nC9V6L2mQQSq0s-wZLcaxw_pb_x300.png)”,  
“id”: 2  
}  
]

I would like to save in single things for example wine and location field with a single call.

Is it possible?

Thanks

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [October 22, 2021, 2:10pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/2 "2021-10-22T14:10:55Z")

</div>

When you set the API Call in API Connector to DATA and not ACTION, this API Call will be available as a DATA type. So you can create an item with a field set to this Data type like if this was a Bubble DB. You will be able to store all informations from this call into a single field.

---

<div class="post-metadata">

**Author:** ![gabriele.pecchioli](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gabriele.pecchioli/32/96648_2.png) [@gabriele.pecchioli](https://forum.bubble.io/u/gabriele.pecchioli)\
**Post date:** [October 22, 2021, 2:17pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/3 "2021-10-22T14:17:26Z")

</div>

Thanks. But I don’t want to store in a single field. I would like store each json field into bubble db but in different records

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [October 22, 2021, 2:18pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/4 "2021-10-22T14:18:43Z")

</div>

In this case you need to use Backend WF and schedule on a list

---

<div class="post-metadata">

**Author:** ![gabriele.pecchioli](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gabriele.pecchioli/32/96648_2.png) [@gabriele.pecchioli](https://forum.bubble.io/u/gabriele.pecchioli)\
**Post date:** [October 22, 2021, 2:27pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/5 "2021-10-22T14:27:04Z")

</div>

Have you some resource per detailed tutorial for understand better? Please…

Thanks

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [October 22, 2021, 3:03pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/6 "2021-10-22T15:03:25Z")

</div>

Not really but there’s a lot of topics about creating Bubble DB thing from an API List.

---

<div class="post-metadata">

**Author:** ![jared.gibb](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jared.gibb/32/123329_2.png) [@jared.gibb](https://forum.bubble.io/u/jared.gibb)\
**Post date:** [October 22, 2021, 3:22pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/7 "2021-10-22T15:22:11Z")

</div>

Do you really need to save it? Couldn’t you call the api each time and simply save a reference instead? That might make it easier?

---

<div class="post-metadata">

**Author:** ![gabriele.pecchioli](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gabriele.pecchioli/32/96648_2.png) [@gabriele.pecchioli](https://forum.bubble.io/u/gabriele.pecchioli)\
**Post date:** [October 22, 2021, 5:24pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/8 "2021-10-22T17:24:47Z")

</div>

No, I need create a sync then I want to save data in DB.

---

<div class="post-metadata">

**Author:** ![gabriele.pecchioli](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gabriele.pecchioli/32/96648_2.png) [@gabriele.pecchioli](https://forum.bubble.io/u/gabriele.pecchioli)\
**Post date:** [October 22, 2021, 5:36pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/9 "2021-10-22T17:36:22Z")

</div>

It’s so strange for me belive that is not possible doing a loop for saving a series of object into the database. Maybe, you know some plugins or method?

---

<div class="post-metadata">

**Author:** ![jared.gibb](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jared.gibb/32/123329_2.png) [@jared.gibb](https://forum.bubble.io/u/jared.gibb)\
**Post date:** [October 22, 2021, 6:16pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/10 "2021-10-22T18:16:34Z")

</div>

You can complete recursion like this both client side and server. You’ll loop through your list and save the current item to the dB each loop moving from item 1 thru to the end.

> **Learn more**
>
> Need to have your database located in your region! Tired of struggling with Bubble or API’s? Need a little functionality that’s not available yet thru current market plugins?
> 
> Are you ready to step-it-up or speed it along? Need some custom code or a plugin built? Contact me today to learn how to book a 1-on-1 session, get your plugin built, or yet freelance building support!
> 
> Reach me via email:  
> [Jared@CodelessConsultant.com](mailto:Jared@CodelessConsultant.com)

---

<div class="post-metadata">

**Author:** ![gabriele.pecchioli](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gabriele.pecchioli/32/96648_2.png) [@gabriele.pecchioli](https://forum.bubble.io/u/gabriele.pecchioli)\
**Post date:** [October 22, 2021, 8:01pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/11 "2021-10-22T20:01:32Z")

</div>

Yes, your analysis is right. But I don’t understand how do it on Bubble.

---

<div class="post-metadata">

**Author:** ![gabriele.pecchioli](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gabriele.pecchioli/32/96648_2.png) [@gabriele.pecchioli](https://forum.bubble.io/u/gabriele.pecchioli)\
**Post date:** [October 24, 2021, 6:38pm UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/12 "2021-10-24T18:38:15Z")

</div>

Any idea? 🙂

---

<div class="post-metadata">

**Author:** ![stuart4](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/stuart4/32/250415_2.png) [@stuart4](https://forum.bubble.io/u/stuart4)\
**Post date:** [July 14, 2022, 6:57am UTC](https://forum.bubble.io/t/save-single-json-objects-as-thing-into-bubble/174957/13 "2022-07-14T06:57:49Z")

</div>

@gabriele.pecchioli did you ever find a solution for this?
