# How to set application specific Actions/Flows?

**URL:** <https://community.auth0.com/t/how-to-set-application-specific-actions-flows/92966>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [October 24, 2022, 9:56am UTC](https://community.auth0.com/t/how-to-set-application-specific-actions-flows/92966 "2022-10-24T09:56:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![benjamin203](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/benjamin203/32/38437_2.png) [@benjamin203](https://community.auth0.com/u/benjamin203)\
**Post date:** [October 24, 2022, 9:56am UTC](https://community.auth0.com/t/how-to-set-application-specific-actions-flows/92966/1 "2022-10-24T09:56:05Z")

</div>

I have a custom action that sets default userMetadata to the user who creates an account. I don’t want this specific default data to be set for all of my applications. How do I create actions that only apply to a specified application?

I have thought about using that action globally and just adding an if statement to seperate each metadata PATCH request to each application but I need a way to identify which application the user is logging into for this. By the way I am using a Login / Post Login Action.

Thanks in advance.

---

<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:** [October 26, 2022, 11:00pm UTC](https://community.auth0.com/t/how-to-set-application-specific-actions-flows/92966/3 "2022-10-26T23:00:18Z")

</div>

Hey there @benjamin203!

> [@benjamin203](#):
>
> How do I create actions that only apply to a specified application?

If I’m understanding correctly, you should be able to use `event.client` of the event object post-login Actions:

> **[Actions Triggers: post-login - Event Object](https://auth0.com/docs/customize/actions/flows-and-triggers/login-flow/event-object)**
>
> Learn about the post-login Action trigger's event object, which provides contextual information about a single user logging in via Auth0.

---

<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:** [December 22, 2022, 11:44pm UTC](https://community.auth0.com/t/how-to-set-application-specific-actions-flows/92966/4 "2022-12-22T23:44:58Z")

</div>

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