Load User
The Load User action retrieves the authenticated user's full session context using the refresh token.
This action is particularly useful when other steps in the flow require an authenticated user context. For example, actions like updating user consent or connecting an outbound app rely on verified user details, which the Load User action makes available to the flow.
After running the Load User action, user related dynamic values will become available in context throughout the rest of the flow.
Using with Flows
To use the Load User action in a flow:
- Make sure the user is authenticated with a condition that checks if the
user.loggedInkey istrue - Add the
Load Useraction to load the user's session and details - Reference the user details and context in subsequent steps of the flow

With Management Flows
When using Management Flows, the Load User action can load disabled or expired users for management.
To perform this, select the Load User action and check the "Load Invalid Users" checkbox under the action.

With Widget Flows
A custom button flow on the User Management Widget starts with the widget user's own session in context.
If you wish to load the user within the admin widget that is selected (say from a table in the User Management Widget), then you can use the User / Load / Selected User action to load that user instead.
The action runs only when:
- The flow started from a widget, and a tenant is in scope
- The widget user holds the
User Adminpermission on that tenant - The widget user has exactly one user selected in the table. Zero or multiple selections return an error, so use Batch User Actions to act on several users at once
After the action completes, the user dynamic values refer to the selected user for the rest of the flow. A screen later in the flow can then display that user's details or open with them pre-populated.