# Help saving parsed JSON into Bubble

**URL:** <https://forum.bubble.io/t/help-saving-parsed-json-into-bubble/356003>\
**Category:** Need help\
**Created:** [January 19, 2025, 1:20am UTC](https://forum.bubble.io/t/help-saving-parsed-json-into-bubble/356003 "2025-01-19T01:20:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![conescu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/conescu/32/230348_2.png) [@conescu](https://forum.bubble.io/u/conescu)\
**Post date:** [January 19, 2025, 1:20am UTC](https://forum.bubble.io/t/help-saving-parsed-json-into-bubble/356003/1 "2025-01-19T01:20:34Z")

</div>

Hi All,

I received JSON from an API call, and parsed the JSON into arrays.

I can see it in the console log:

```auto
JSON: 

[
  {
    "fruit": "apple",
    "color": "red"
  },
  {
    "fruit": "orange",
    "color": "orange"
  }
]

Parsed Item:  

{fruit: 'apple', color: 'red'}

```

I want to store each array in a separate data type, which is straightforward using API workflows.

I was trying `Toolbox`, but I can’t get the `Javascript to Bubble` to work in a workflow, not even in a Hello World test.

How do I save the parsed JSON into Bubble? Any ideas?

Thanks!  
Jeremy

---

<div class="post-metadata">

**Author:** ![mitchbaylis](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mitchbaylis/32/122860_2.png) [@mitchbaylis](https://forum.bubble.io/u/mitchbaylis)\
**Post date:** [January 19, 2025, 2:48am UTC](https://forum.bubble.io/t/help-saving-parsed-json-into-bubble/356003/2 "2025-01-19T02:48:43Z")

</div>

not sure why you’d need to parse the json

on api workflow set it to “detect request data” then send the data to it, the data structure will be recognised and saved

then just add a “api workflow on list” to iterate the array of objects in your example  
in the second api workflow you can then create each object in the database

---

<div class="post-metadata">

**Author:** ![conescu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/conescu/32/230348_2.png) [@conescu](https://forum.bubble.io/u/conescu)\
**Post date:** [January 20, 2025, 11:23pm UTC](https://forum.bubble.io/t/help-saving-parsed-json-into-bubble/356003/3 "2025-01-20T23:23:55Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![braydonfurneaux](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@braydonfurneaux](https://forum.bubble.io/u/braydonfurneaux)\
**Post date:** [January 21, 2025, 12:45am UTC](https://forum.bubble.io/t/help-saving-parsed-json-into-bubble/356003/4 "2025-01-21T00:45:32Z")

</div>

Hi there,

Yes definitely possible. See link to youtube video that helped alot.

Toolbox plugin has some quirks that can be confusing if not well versed with the plugin like for example when adding dynamic data to it you have to use “properties.parm1” in the script as well as making sure the communication bettween bubble dom and the script is talking can be difficult if using reusable elements or trying to get it to target elements on the page as opposed to talkin to the page level.

https://www.youtube.com/embed/NJs9Q4l1xMc?feature=oembed&wmode=opaque&list=LL

Title: How to integrate your Bubble app with OpenAI & ChatGPT to receive JSON Objects - By: Airdev

The link above was a great help for me trying to get multi nested arrays out of a json object from chat gpt.

---

<div class="post-metadata">

**Author:** ![boston85719](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/boston85719/32/77286_2.png) [@boston85719](https://forum.bubble.io/u/boston85719)\
**Post date:** [January 21, 2025, 3:26am UTC](https://forum.bubble.io/t/help-saving-parsed-json-into-bubble/356003/5 "2025-01-21T03:26:02Z")

</div>

Just pass the json into an API call to your app to use the bulk create feature…most efficient, performant and cheapest way

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 30, 2025, 1:21am UTC](https://forum.bubble.io/t/help-saving-parsed-json-into-bubble/356003/7 "2025-03-30T01:21:35Z")

</div>

Closed on March 30, 2025, 1:21am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
