Yantso
Yantso2mo ago

supabase

Hi all, trying to build for the first time using buildship. I'm trying to send this json { "activities": [ { "location": "Rua darua St 35, Lisbon", "activity_duration": "1-2 hours", "image": "https://example.com/gan_meir_park.jpg", "name": "GanMeir Park", "ages": "Toddlers", "costs": "Free" }]} coming from openai to supabase and i don't know how to send just the array without the "activities" Would love any tip or help
Solution:
Hi @Yantso, to access the activities field from your JSON object you can use dot notation in the expression editor. I'm not sure about the specifics of your workflow but this can give you an idea: https://buildship.app/remix/891dfc6a-e489-4ae5-a044-4c81b1c65943 In the Supabase "Create Row" node you can see how this is done....
BuildShip - Visual backend workflow builder
Visually build workflows and powerful backend logic for your apps. Powered by AI, connect to anything with or without code.
Jump to solution
1 Reply
Solution
Luis
Luis2mo ago
Hi @Yantso, to access the activities field from your JSON object you can use dot notation in the expression editor. I'm not sure about the specifics of your workflow but this can give you an idea: https://buildship.app/remix/891dfc6a-e489-4ae5-a044-4c81b1c65943 In the Supabase "Create Row" node you can see how this is done.
BuildShip - Visual backend workflow builder
Visually build workflows and powerful backend logic for your apps. Powered by AI, connect to anything with or without code.