# New Combobox Option Collection

## **Overview**

This action makes it easy to create dropdown lists (comboboxes) in your flows. You can define the options in the dropdown, making your flows more interactive and user-friendly.

***

## **How it Helps**

Imagine you have a flow where users need to select an account type. This action lets you easily create a dropdown list with options like "Customer," "Prospect," and "Partner," allowing users to make their selection with a single click.

***

## **When to Use It**

This action is ideal for:

* **Presenting users with a list of choices in a compact format.**
* **Creating dynamic dropdown lists where options can change based on conditions.**
* **Simplifying user input by providing predefined options.**
* **Capturing user selections for use in your flow logic.**

***

## **Example**

To create an "Account Type" dropdown:

1. **Configure the Action:** Provide a label for the action collection (e.g., "Account Type Options").
2. **Add Combobox Options:** For each option, specify the label (e.g., "Customer") and the corresponding value (e.g., "Customer").
3. **Connect to Combobox:** In your flow, connect this action collection to an Avonni Combobox component.

***

## **Key Considerations**

* **Data Source:** You can define the dropdown options manually or populate them dynamically from Salesforce objects or other data sources.
* **Default Value:** Consider setting a default value for the combobox.
* **Output Variable:** Connect the action's output to a variable to store the user's selection.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avonnicomponents.com/flow/actions/ui-and-navigation/new-combobox-option-collection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
