# Can we create actions based on data of project?

**URL:** <https://community.auth0.com/t/can-we-create-actions-based-on-data-of-project/108933>\
**Category:** Get Help\
**Tags:** identifier-first, login-experience\
**Created:** [June 9, 2023, 5:59am UTC](https://community.auth0.com/t/can-we-create-actions-based-on-data-of-project/108933 "2023-06-09T05:59:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 9, 2023, 4:27pm UTC](https://community.auth0.com/t/can-we-create-actions-based-on-data-of-project/108933/2 "2023-06-09T16:27:57Z")

</div>

Hey there @mmdanish !

You should be able to call your own API from an action to get/set the metadata - The following may help:

> [@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 = …

---

_[View the full topic](https://community.auth0.com/t/can-we-create-actions-based-on-data-of-project/108933)._
