Trouble Displaying OpenAI JSON response in a Repeating Group from Bubble Database

Hi Everyone,

I am working on a project that involves making an API Call to OpenAI, that returns a JSON Array, where each section is separated by a semi-colon ‘;’. I then have it run through a backend workflow to be able to use the JSON object.

From here I am trying to save the array to the bubble.io database:

In which i try to display the data into a repeating group with the following format:

  • Section Title 1
  • Section Text 1
  • Section Title 2
  • Section Text 2
  • etc.

I get the following result when i do this:

But when I just display the data directly and don’t save it to the bubble database first it displays correctly:

Does anyone know how i can save a list like this to the database and recall it in the repeating group in the correct format?

I have tried:

  1. Splitting each item by the semi-colon ‘;’
  2. Saving the output in the database as both text and a list of text

Did you look at this video. give it a try