© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
4 replies
cerwind

Call Edge Functions from Database Functions

How do you call Edge Functions from Database Functions via Triggers. This seems like it should be a no-brainer but there's no obvious way to do it in the UI apart from writing complex
plpgsql
plpgsql
and calling the REST API directly but this feels like a hacky way to do it so I'm assuming I'm missing something?

Use case
Sending a user a welcome email. When a user is created in the database I want to trigger an edge function that handles my email routing.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Database Functions vs Edge Functions
SupabaseSSupabase / help-and-questions
5mo ago
Database error with local edge functions
SupabaseSSupabase / help-and-questions
13mo ago
Sending Emails from Edge Functions
SupabaseSSupabase / help-and-questions
3y ago
Edge Functions
SupabaseSSupabase / help-and-questions
4mo ago