# Auto activation of user on sign up

**URL:** <https://community.auth0.com/t/auto-activation-of-user-on-sign-up/64044>\
**Category:** Get Help\
**Created:** [June 7, 2021, 8:00pm UTC](https://community.auth0.com/t/auto-activation-of-user-on-sign-up/64044 "2021-06-07T20:00:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joaqra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joaqra/32/12921_2.png) [@joaqra](https://community.auth0.com/u/joaqra)\
**Post date:** [June 7, 2021, 8:00pm UTC](https://community.auth0.com/t/auto-activation-of-user-on-sign-up/64044/1 "2021-06-07T20:00:57Z")

</div>

Hi,

I’m using auth0 API /dbconnections/signup to register users.

I would like to know how can I customize the flow of the sign (not login) up to do the following:

- set is\_active to be equals to true, by default

- Disable verification message

- Send an API request to my server with the registered user information payload

- Send a welcome message with a link to the app

Is there a way to accomplish the required sign-up flow?

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [June 8, 2021, 7:39pm UTC](https://community.auth0.com/t/auto-activation-of-user-on-sign-up/64044/3 "2021-06-08T19:39:01Z")

</div>

Hi @joaqra,

Welcome to the Community!

> [@joaqra](#):
>
> set is\_active to be equals to true, by default

You can use a [pre-user registration action](https://auth0.com/docs/actions/triggers/pre-user-registration) to set this data in the user’s metadata:

```auto
/**
 * @param {Event} event - Details about registration event.
 * @param {PreUserRegistrationAPI} api
 */
exports.onExecutePreUserRegistration = async (event, api) => {
  api.user.setUserMetadata("is_active", true);  
};

```

> [@joaqra](#):
>
> Disable verification message

You can disable the verification email in your Auth0 dashboard ( **Branding \> Email Templates** :

 ![Screen Shot 2021-06-08 at 3.35.46 PM](https://global.discourse-cdn.com/auth0/original/3X/c/f/cff233d5a4f7a832aa9beca31cbe925584df7b6b.png) )

> [@joaqra](#):
>
> Send an API request to my server with the registered user information payload

You can use a [post-user-registration action](https://auth0.com/docs/actions/triggers/post-user-registration) for this:

```auto
const axios = require("axios");

/**
 * @param {Event} event - Details about registration event.
 */
exports.onExecutePostUserRegistration = async (event) => {
  await axios.get("https://my-api.exampleco.com/users", { params: { email: event.user.email }});
};

```

> [@joaqra](#):
>
> Send a welcome message with a link to the app

You can customize the welcome email after configuring an email provider in your Auth0 dashboard ( **Branding \> Email Templates** ):

[https://auth0.com/docs/email/customize-email-templates](https://auth0.com/docs/email/customize-email-templates)

---

<div class="post-metadata">

**Author:** ![joaqra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joaqra/32/12921_2.png) [@joaqra](https://community.auth0.com/u/joaqra)\
**Post date:** [June 11, 2021, 8:43pm UTC](https://community.auth0.com/t/auto-activation-of-user-on-sign-up/64044/4 "2021-06-11T20:43:13Z")

</div>

Thank you so much!! 😍

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 26, 2021, 8:43pm UTC](https://community.auth0.com/t/auto-activation-of-user-on-sign-up/64044/5 "2021-06-26T20:43:19Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
