> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/flow/actions/ui-and-navigation/new-avatar-action-collection.md).

# New Avatar Action Collection

## Overview

This action lets you create a set of actions linked to the [Avonni Avatar](https://docs.avonnicomponents.com/flow/flow-components/avatar.md) in your flow. It's excellent for showing user profiles or quickly accessing important actions.

***

## How it Helps

Imagine you have a user profile screen in your flow. With this action, you can easily add actions like "Edit Profile," "View Activity," or "Log Out" to the avatar, making it simple for users to access these functions.

***

## When to Use It

Use this action when you want to:

* **Create a dropdown menu of actions associated with an avatar.**
* **Provide quick access to user profile actions or record-related actions.**
* **Improve user experience by offering a compact way to access key functions.**

***

## Example

To add actions to a user profile avatar:

1. **Configure the Action:** Provide a label for the action collection (e.g., "User Profile Actions").
2. **Add Actions:** For each action, specify the label (e.g., "Edit Profile"), icon name (e.g., "utility:edit"), and a unique name.
3. **Connect to Avatar:** In your Avonni Avatar component, reference this action collection to display the actions.

***

## Key Considerations

* **Action Triggers:** You'll need to add logic to your flow to determine when each action should be triggered (e.g., when the user clicks on the action in the avatar).
* **Icon Selection:** Choose icons that represent the actions.
* **Order of Actions:** Think about the order you want the actions to appear in the avatar's dropdown menu


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/flow/actions/ui-and-navigation/new-avatar-action-collection.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
