Supabase new row notifications on your phone.
Get a push notification when a row is inserted into a Supabase table, with the title and columns you choose.
Three steps to your first push
Install the recipe
One click in Studio gives you a personal webhook URL.
Paste your URL into Supabase
Add it as a webhook for Insert.
Get a push on your phone
With the text, sound and buttons from the recipe.
How to set up the Supabase insert webhook
- Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
- In the Supabase dashboard, open Integrations > Database Webhooks (enable it if asked) and click Create a new hook.
- Pick the table and the Insert event, and choose HTTP Request with method POST.
- Paste your webhook URL as the URL, adding any options from the setup notes below, and create the webhook.https://••••••••/•••••••• your personal URL, shown after install
- Without options, the push is titled "🆕 New row in *table*" and shows up to three short columns (skipping `id` and timestamps). Add query parameters to the URL to choose what it says:
- | Parameter | What it does | Example |
- | --- | --- | --- |
- | `title` | The push title. `{column}` is replaced with that column's value, `{table}` with the table name. | `title=New signup: {email}` |
- | `field` | Comma-separated columns for the message. With one column you get just its value. | `field=email,plan` |
- | `message` | A full message template instead of `field`. | `message={email} joined on {plan}` |
- | `url` | A button link, with `{column}` placeholders. | `url=https://app.example.com/orders/{id}` |
- | `priority` | `-2` (lowest) to `2` (highest). Default `0`. | `priority=1` |
- | `table` | Only push for these tables (comma-separated). | `table=orders,signups` |
- For example:
- ```
- your webhook URL?title=New%20signup%3A%20%7Bemail%7D&field=plan,referrer
- ```
- Encode spaces as `%20`, `:` as `%3A` and `{` `}` as `%7B` `%7D`. You can also add the parameters one by one under **HTTP Parameters** when you create the webhook; Supabase puts them on the URL for you.
- Supabase sends the **whole row** to JustPush. Don't hook up tables with secrets or tokens in them, or create the trigger in SQL with a smaller payload (see the New user recipe for an example). The request isn't signed; you can add a custom header in the webhook form, but JustPush doesn't check it, so keep your endpoint URL private.
- Each webhook has a timeout (Supabase's own SQL example uses 1000 ms). If the `net._http_response` table shows timeouts, raise it to 5000 ms in the webhook form.
What runs when the webhook arrives
Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.
The Supabase INSERT webhook
This is what Supabase sends to your URL for insert. It is a sample, trimmed to the fields recipes use.
Supabase new row notifications: questions
Does this work on iPhone and Android?
Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.
Do I need to write code?
No. Install the recipe in Studio, paste your webhook URL into Supabase and you are done. The code is there if you want to change the text, the sound or the buttons.
Can I change what the notification says?
Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.
What does it cost?
JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.
Supabase on your phone in two minutes.
Install the recipe, paste one URL, done. Free for 30 days, no credit card required.