Login with google


How can i make to when someone logins with google to my app to only send the users the welmcome email just the first time (the moment they sign up).

Any thoughts?

Add the yes/no field to User datatype for example “welcomeemailsent” and make it default to “no”.
In the sending email workflow send it only when welcomeemailsent=no.
Change welcomeemailsent to “yes” when email was sent.