Typecast API Result Object to Array

Hello, Bubble.io community! :globe_with_meridians:

I’m currently working on a Bubble.io project and facing a challenge with handling API data. My API returns data in the form of an object, but Bubble’s Repeating Group element requires data in a list format.

Here’s a brief overview of my issue:

  • API Response: Returns an object with user details (e.g., id, name, age, email).
  • Goal: Display this data in a Repeating Group.
  • Problem: Bubble requires the data to be in a list format to use in a Repeating Group.

I’ve tried creating custom states and using workflows to transform the object into a list, but I’m still struggling to get it right. Has anyone encountered this issue before? How did you manage to convert the object to a list and update the Repeating Group dynamically?

Any insights, examples, or step-by-step guides would be immensely helpful! :pray:

Thank you in advance for your assistance! :star2:

Can you share a screenshot of how you call and display the API in the RG?