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

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)

Thanks!

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.

1 Like

Will do that. Thanks!

1 Like

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

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