Actions
Description:
In the past, Rules and Hooks were commonly used in Auth0 for implementing custom logic and integrating with external systems during the authentication and authorization process. Here’s a brief overview of each:
but now actions are dominating these two(rules and hooks)
Use-case: we can set usersmetadata by adding flows in actions it also provide builtin flows and also offer custom flow here i give example of custom flow.
we add favrouite color to the metadata of user as setting flow as :
exports.onExecutePostLogin = async (event, api) => {
api.user.setUserMetadata("favorite_color", "blue");
};
by placing this logic to custom flow when the user login the color is set to user_metadata.
@mmdanish,
Thanks for the feature request! Don’t forget to vote for it!
1 Like
Hey team! 
Since this topic touches Auth0 Actions, quick heads-up that we’re hosting an Ask Me Anything dedicated to Actions with Gaston Danilo Asis Sanchez, Senior Technical Product Manager. We’ll cover practical usage, new capabilities like Transaction Metadata and Actions Types, plus a peek at what’s next. 
- Submit questions now through Aug 26

- Get detailed written answers live on Aug 27, 9–11 AM PT

Earn community points + a badge
. If you’re exploring how Actions can streamline your auth flows, this is a great time to get direct guidance from the team.
Join the AMA & drop your questions here: August 27 Auth0 Community Ask Me Anything: Actions
Dawid