Automatically Create a Company After User Registration in WeWeb with Supabase

Hello everyone! How are you?

I’m developing a project in WeWeb and need a solution for a specific flow. When a user signs up, besides creating their record in the database (I’m using Supabase), I want WeWeb to automatically fetch the user ID and create a company linked to them.

The issue is that, since Supabase requires email confirmation before activating the user, I can’t retrieve the ID immediately after registration. My idea is to create the company on the user’s first login.

Does anyone know an efficient way to implement this?

You can disable email confirmation in Supabase