Watch: Get a Slack message every time someone signs up | Vovy
Watch Vovy do it on a Mac: "Ping me in Slack every time a new user signs up". Vovy creates a Slack webhook and a small Supabase function that posts each new signup, with name and source, to a channel you choose.
"Ping me in Slack every time a new user signs up"
Vovy creates a Slack webhook and a small Supabase function that posts each new signup, with name and source, to a channel you choose.
What happens in the video
- Create a Slack channel and app: Vovy creates #signups, then makes a Slack app at api.slack.com with Incoming Webhooks turned on. You approve adding it to your workspace.
- Store the webhook as a secret: The webhook URL works like a password, so it goes into Supabase Edge Function secrets, not your code.
- Write the edge function: It deploys a small edge function that formats a message like "New signup: Maya, from Product Hunt" and posts it to Slack.
- Trigger it on new users: Vovy adds a Database Webhook on your profiles or users table, so every insert calls the function.
- Test it: It signs up a test user and shows you the Slack message that just arrived.
Read the step-by-step guideLoading...