Supabase Realtime - Broadcast
Overview
Broadcast a message to a realtime channel
tip
Use the Realtime Inspector to test your broadcast message from Comnoco.
Returns |
---|
Data Structure |
Parameters
Parameter | Parameter | Valid Blocks | Required |
---|---|---|---|
Supabase Project URL | Your Supabase project URL, eg: https://yourprojecturl.supabase.co. We recommend you set this as an environment variable. | Text Process Block Group | Yes |
API Key | Your public/anon Supabase API Key | Secret Block Group | Yes |
Channel Name | The name of the channel to broadcast to | Text Process Block Group | Yes |
Event name | The name of the event to broadcast. Defaults to `comnoco-broadcast` | Text Process Block Group | No |
Payload | The payload of the broadcast. This can be any JSON object. | Text Process Block Group | Yes |
Catch Errors to Data Structure | Catch errors from the Supabase Function call as a Data Structure and return them as the response value to enable manual error handling. If turned on errors will not get caught in a Try-Catch block. | Boolean Block Group | No |
Project Connection Config | A Supabase connection configuration that was setup in the Databases panel | Text Process Block Group | No |