> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Switch Profile Action

> Load a different char.

The **Switch Profile Action** saves the current state and loads a different character profile.

## Configuration

<ResponseField name="profileId" type="String" required>
  ID of the profile to switch to.
</ResponseField>

<ResponseField name="successMessage" type="String">
  Message sent on successful switch.
</ResponseField>

<ResponseField name="failureMessage" type="String" default="Impossible...">
  Message sent if the switch fails (e.g. profile not found).
</ResponseField>

<CodeGroup>
  ```yaml Example theme={null}
  action:
    type: switch_profile_action
    profileId: "%target_profile_id%"
  ```
</CodeGroup>
