Skip to main content

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

ParameterParameterValid BlocksRequired
Supabase Project URLYour Supabase project URL, eg: https://yourprojecturl.supabase.co. We recommend you set this as an environment variable.Text Process Block GroupYes
API KeyYour public/anon Supabase API KeySecret Block GroupYes
Channel NameThe name of the channel to broadcast toText Process Block GroupYes
Event nameThe name of the event to broadcast. Defaults to `comnoco-broadcast`Text Process Block GroupNo
PayloadThe payload of the broadcast. This can be any JSON object.Text Process Block GroupYes
Catch Errors to Data StructureCatch 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 GroupNo
Project Connection ConfigA Supabase connection configuration that was setup in the Databases panelText Process Block GroupNo