# How to access client Name / client ID in Actions \> Post User Registration

**URL:** <https://community.auth0.com/t/how-to-access-client-name-client-id-in-actions-post-user-registration/76732>\
**Category:** Get Help\
**Tags:** post-user-registrati\
**Created:** [January 20, 2022, 1:25pm UTC](https://community.auth0.com/t/how-to-access-client-name-client-id-in-actions-post-user-registration/76732 "2022-01-20T13:25:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nenad.radovanovic](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nenad.radovanovic/32/33198_2.png) [@nenad.radovanovic](https://community.auth0.com/u/nenad.radovanovic)\
**Post date:** [January 20, 2022, 1:25pm UTC](https://community.auth0.com/t/how-to-access-client-name-client-id-in-actions-post-user-registration/76732/1 "2022-01-20T13:25:29Z")

</div>

Hi,

I’m trying to send an email to the sales department whenever there is a new signup.  
I want to send only for one application, so I would like to restrict it based on client Name or ID.

I know this param doesn’t exist on `event` object, but how would you do this:

(all applications are using the same `connection`)

 ![Captura de pantalla 2022-01-20 a las 10.15.21](https://global.discourse-cdn.com/auth0/original/3X/d/c/dc510caf8af22fbca2972ea1fcbd89247e32e7d6.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 21, 2022, 5:22pm UTC](https://community.auth0.com/t/how-to-access-client-name-client-id-in-actions-post-user-registration/76732/3 "2022-01-21T17:22:07Z")

</div>

Hi @nenad.radovanovic,

Welcome to the Auth0 Community!

It doesn’t look like the client name or ID is available in a post-registration action (like you have noted).

Instead, you could have this run on first login with a post-login action, where the client ID is available.

---

<div class="post-metadata">

**Author:** ![nenad.radovanovic](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nenad.radovanovic/32/33198_2.png) [@nenad.radovanovic](https://community.auth0.com/u/nenad.radovanovic)\
**Post date:** [January 22, 2022, 12:30am UTC](https://community.auth0.com/t/how-to-access-client-name-client-id-in-actions-post-user-registration/76732/4 "2022-01-22T00:30:39Z")

</div>

Will do that. Thanks!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 25, 2022, 3:46pm UTC](https://community.auth0.com/t/how-to-access-client-name-client-id-in-actions-post-user-registration/76732/5 "2022-01-25T15:46:34Z")

</div>

Great! Let me know if you run into any issues along the way.

---

<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:** [February 9, 2022, 3:46pm UTC](https://community.auth0.com/t/how-to-access-client-name-client-id-in-actions-post-user-registration/76732/6 "2022-02-09T15:46:45Z")

</div>

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