Invite Users and have Auth0 handle the details?

I have a small application developed using Auth0. It’s <50 active users per month and is an invite only application where admin users (from the application itself) need to be able to configure and invite users. We would like these invited users to get an email (from Auth0) inviting them to create the account and reset their password.

It seems like I can use the management API to create the user (with a random default password), but then I need to generate the ticket and send it to them.

It seems incredibly clunky in that I need to now customize the change password URL to determine if it’s an invitation request (we initiated it) or a password change request (the end user initiated it).

Much of the docs on this topic seem to be for older versions of Auth0?

What is the best way forward here?