Skip to main content

Track and Enrich Supabase signups

TrialHook and Supabase integration

Updated over 2 months ago

Trial Hook + Supabase integration approach

There are multiple ways that Supabase allows to trigger an action on new data written to a DB table:

  • Custom-coded edge functions

  • Webhook integration

In this guide, we will focus on the latter option, specifically adding a Trial Hook webhook trigger on a new row addition to a Supabase DB table.

Adding Trial Hook Webhook to Supabase

  1. Open the Supabase project where you would have a DB table with captured email (in our case the table name is signups). Navigate to the Integrations section:


  2. Search for Database Webhooks integration:


  3. Once selected, click to Enable Webhooks:

  4. Navigate to the Webhooks tab and click Create a new webhook:

  5. Provide a name for your webhook. Choose a table where the emails are stored on form submission. From the Events choose only Insert:

  6. Scroll down in the same modal, you'll see further options. Choose HTTP Requests as Type. Method should be POST. Paste the Trial Hook webhook URL into the URL field.

  7. Once saved, you'll see the webhook in the Integrations section:


Did this answer your question?