Storing user instance from google sign in

Hi guys so I have a question on how I could save a user instance once I allow a user to create an account with google sign on.

For context:
My app has 3 different user types only one of the users will be using google as a means of authentication the others is old email and password auth.

So back to my question. How can I authenticate a user, save their data and set their type … I am very lost on that

You have to create a workflow to save the user data as soon as sign in with google account.

I didn’t know exactly how that workflow would flow but I figured it out by setting restrictions

Could you elaborate on how you achieved it? I have the same question and was struggling to find a solution for it.