SupabaseS
Supabase12mo ago
Kedalen

Multiple Hooks on the same event?

Hello guys, so basically for research and learning purpouses I'm building a composable workflow runner, where I can create "pipelines" for different types of data.

Ex: WHEN UPLOAD PDF -> EXTRACT TEXT -> GET AUTHOR NAME -> UPLOAD AS TXT

I'm handling that through a JOBS table using a job_type and jsonb, my issue comes as the following I was hoping to be able to trigger for the INSERT event on the jobs table N edge functions (as shown in the image) but It appears that only the first one is being invoked.

Is this intended? Am I doing something wrong? For now the functions are barebones

and the create nextjob is just an insert call to the jobs table
image.png
Was this page helpful?