# Multi step not passing data correctly

**URL:** <https://community.auth0.com/t/multi-step-not-passing-data-correctly/189899>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [July 30, 2025, 10:46am UTC](https://community.auth0.com/t/multi-step-not-passing-data-correctly/189899 "2025-07-30T10:46:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [July 31, 2025, 2:21pm UTC](https://community.auth0.com/t/multi-step-not-passing-data-correctly/189899/3 "2025-07-31T14:21:22Z")

</div>

Hi @zebslc

Welcome to the Auth0 Community!

Thank you for posting your question. First of all, to answer your concern about metadata persisting the behaviour you observe is expected and by design.

> Multiple `setUserMetadata` or `setAppMetadata` calls will be batched together into a single user profile update at the end of the trigger’s execution, even if they are made by different Actions.

> **[Manage User Metadata with the post-login Action Trigger](https://auth0.com/docs/manage-users/user-accounts/metadata/manage-user-metadata)**
>
> Learn how to use the post-login Action trigger to modify user\_metadata and app\_metadata as part of a user’s login flow.

> - Is there a supported way to persist data between steps in a multi-step Auth0 Action flow, given that `user_metadata` is not immediately available in the same login session?

The recommended way to store data between multi-step actions would be a caching mechanism. You can read about that here →

> **[Actions Triggers: post-login - API Object](https://auth0.com/docs/customize/actions/explore-triggers/signup-and-login-triggers/login-trigger/post-login-api-object#:~:text=api.cache.set(key%2C%20value%2C%20%5Boptions%5D))**
>
> Learn about the post-login Action trigger's API object.

However, cache has certain limitations that you need to consider during implementation →

> **[Actions Limitations](https://auth0.com/docs/customize/actions/limitations#cached-data-)**
>
> Learn about the limitations involved with using Auth0 Actions.

> - Is there a way to add hidden or read-only fields to Auth0 Action forms to carry data between steps?

Unfortunately, no, due to the Action limitation, however, I would encourage you to open a new thread in the #Product Feedback category explaining your use case. If the thread becomes popular among other community members, our product team will evaluate the idea.

> - What is the recommended pattern for multi-step data collection in Auth0 Actions, given these limitations?

If that is possible, the recommended approach would be to reduce the number of actions to a single action; this way, you don’t need to worry about sharing the user information between action triggers.

Thanks  
Dawid

---

_[View the full topic](https://community.auth0.com/t/multi-step-not-passing-data-correctly/189899)._
