Send auto mated mail when sign the user up action is trigerred

Is it possible to send an automated mail whenever sign a user up action is trigerred and user is signed up successfully.
I have a reusable element for signups. but there are also cases where I allow users to signup in other pages and I do not want to have send an email action everytime.


The way to always do something when something changes in the database (like sending an automated e-mail when a new user being added) is to use Backend Workflows and Database trigger events.

What you do is basically send an e-mail when the “User before change doesn’t have an account”:

An added benefit of this is that all the things you do on the backend will not force your new user to wait until the tasks finishes - great if you don’t only send an e-mail but also set up a lot of other database things or call APIs etc etc.

1 Like

Won’t this also trigger when an user logs in. These workflows are triggering for me even when an user logs in

You can run a workflow based on the page you are on. Is that what you are looking for?

If that is what you are looking for, then you could use ‘Get data from page url’ and match it to your page name.

Does that make sense?

I just checked if email before change is not same as email now, This helped in ignoring existing users

1 Like

I would also suggest, to save on WUs, to set a state inside their reusable element when they click the button on the page they are on. Then based on the state, you can send an email or not. Just as an alternative to having it check that condition each time the User changes something in their User dataType record. Hope that makes sense. :blush:

This topic was automatically closed after 70 days. New replies are no longer allowed.