Hey guys.
I'm creating a Chat App with Supabase + Flutterflow, in this application, there is a list of Json that serves as the list of conversations and messages that that contact has on the platform. (I did it with Json, because a message query within another conversation query was causing bugs in the visualization, a problem with Flutterflow that we managed to overcome by creating an API that returns an aggregated Json). This way, the list of messages does not update itself, so we created a series of recursive actions to update the list of messages every second, but this is starting to show failures.
We came to the conclusion of trying to develop a webhook in Supabse, which, with each new record in the conversations table, updates the Json list in Flutterflow. Does anyone know the way to develop this webhook?