Skip to main content
webhooks.supabase() checks a shared secret on every request, because Supabase database webhooks aren’t signed.
/trigger/supabase.ts

Set up Supabase

  1. Start trigger dev or deploy, then copy the endpoint’s Webhook URL from the Webhooks page.
  2. Choose Generate secret on the Trigger.dev endpoint and copy the value. Supabase database webhooks aren’t signed, so the endpoint checks this shared secret instead.
  3. On the Database Webhooks page of the Supabase dashboard, create a webhook on the table and events (INSERT, UPDATE, DELETE) your subscribers need, with type HTTP Request, method POST, and the webhook URL.
  4. Under HTTP Headers, add Authorization with the value Bearer <secret>.
  5. Insert a row into the table, or use the endpoint’s Test tab, and check the endpoint’s Deliveries tab. See Verify the connection if nothing arrives.