Customize Welcome Email Flow
The Welcome Email template in Auth0 is sent when a user verifies their email address and can be disabled if needed. This article provides information on custom data, such as language preferences or custom URLs, and whether it is possible to send and retrieve them in a Welcome Email using Liquid Syntax.
- Welcome Email
- Liquid Syntax
The built-in functionality of the Welcome Email does not support that use case.
NOTE: This could work if a client's user pool is solely passwordless and database users. In that case, a Pre-User Registration Action could be leveraged at signup, adding the necessary data to a user's metadata, which Liquid Syntax could then access in the Welcome Email template. However, for other 3rd Party SSO providers, this flow will not work.
A workaround would be to disable the Welcome Email in the dashboard and instead create a Post-Login Action to handle sending it. In this Action, the necessary user metadata could also be saved to later access it in the Welcome Email template being sent. The following documentation, Send welcome email using your own API, shows how an email can be sent from a Rule.