Supabase + Bubble connection with API connector

No we need to have some inputs ready and then click of a button it will initiate a post call so inputs value will be directly sent to the supabase
Therefore no need to have tables where data will be temporary stored and then sent.

So you have a form or single input and after the users fills the input it will click on a button and with a click of the button a post API request will be initiated to the superbase and done. After then you can reset the inputs or display a pop up or a message to user

I sometime use the later while some times the former, it totally depends on the type of application and what the infrastructure will be.

1 Like

No that function it not possible with bubble because that can only be implemented through SDK or JavaScript which will constantly hear from the supabase table and gets into action when something is changed.

For a go around, if you want update of your database every x min

1 Like

Hello , how do you save response from supabase api?

Thank you,

So what i need to do is to connect Jotform webhook to supabase, send data and read every X hours supabase from bubble right? Can supabase accept webhooks data?

1 Like

Hello sir,

After selecting capture response in api call, how do i access the data in those responses? i tried to set up a custom state but i cant do it because response comes as objects. Thank you

You can save the response by selecting the response type as text or data type as you may wish to save as type

1 Like

Yes it do accept

Anyone used this?

Yes. It has 7 installs.

I saved the fields im interestd in as text.

Created a custom state with data type as the API get

And set up a workflow to catch data from REsult of calling that API

API works fine but i cant read the 201 response.

Also i tried to setup de custom text as text and same.

Can you pont me out to my error?

Thank you

For those migrated to supabase. How did you managed the primary keys or unique ids?

Does bubble create a unique if that can be used with ids in supabase? If yes, what will be the correct format? String? Int8? Uuid?

1 Like

I beleive supabase automatically creates primary id on each added row. Bubble just send API Post and Supabase adds the id to it.

Yes you are correct whenever you create a new row in supeabase a primary number is assigned. It is always started from one and increase as per rows.
Even and the time of creation of new table a primary key is there by default you can change the name of that primary key from ID to anything

1 Like

And images, was I able to make a call for sending and image search?

For storing and retrieving images you need to use Supabase Buckets which is also very easy and API ready

1 Like

Hi nickdev, that’s the problem, the database API’s are very well documented. But that of Storage, nor the path I could not find.

It always says it doesn’t exist.

https://.supbase.io/???

tks

1 Like

https://supabase.github.io/storage-api/
There you go

1 Like

Obrigado, isso me ajudou muito!

1 Like

Hi @siddharth Great to hear, thanks for sharing the info about Supabase. Does it mean that repeating group is updated in realtime?
Currently I use self hosted PostGres on bubble, the issue is repeating group does not show realtime updates. However flutterflow with Firebase DB gives a reatime update on list view (Similar to Bubble repeating group).
If it means same with bubble then it would be a game changer for Bubble

1 Like

No realtime with API connector, there is realtime with Supabase.js Plugin | Bubble however

1 Like