# Auth0 post registration action with Next.js?

**URL:** <https://community.auth0.com/t/auth0-post-registration-action-with-next-js/113417>\
**Category:** Get Help\
**Tags:** signup-prompt-new-experience, login-experience\
**Created:** [August 10, 2023, 11:04pm UTC](https://community.auth0.com/t/auth0-post-registration-action-with-next-js/113417 "2023-08-10T23:04:28Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [August 11, 2023, 12:23am UTC](https://community.auth0.com/t/auth0-post-registration-action-with-next-js/113417/3 "2023-08-11T00:23:41Z")

</div>

Hello @arnank9 welcome to the community!

> [@arnank9](#):
>
> I am trying to create a post-registration action to take the auth0ID and put it into my own database using Prisma.

Are you utilizing social connections (Google, Facebook, etc.) at all? As a heads up, Post User Registration Actions only trigger for Database and Passwordless connections.

The following thread may be helpful in understanding how to go about calling your own API:

> [@How do I call my API from an Action?](https://community.auth0.com/t/how-do-i-call-my-api-from-an-action/69041):
>
> Hey, So I’m in the process of trying to add a user to my database using an API call from a “Post User Registration” Action. I have followed this blog post here: and seem to have everything looking good. On top of that when I run the test it says the action was successful. The only problem is that my API is not being called at all even though I have triple checked that the URL is correct. Here is the code I’m working with: import axios from "axios"; exports.onExecutePostUserRegistration = …

[Axios](https://www.npmjs.com/package/axios) is a common library used to achieve this from within Actions.

Hope this helps!

---

_[View the full topic](https://community.auth0.com/t/auth0-post-registration-action-with-next-js/113417)._
