Build Combobox Options
Choose how to fill a Combobox without a query: typed options, a converted Text Collection, or an option collection built by an action.
A support agent routing a case picks a team from a short list: Tier 1 Support, Tier 2 Support, Billing, Escalations. Each option carries a line of context and an icon, and Escalations is greyed out unless the case is urgent. This page shows the three ways to build that kind of list, and when a picklist field or a query does the job better.

Before you start
A screen flow with an Avonni Combobox on a screen.
For the Escalations example: the case in a record variable (here
{!Case}, from a Get Records before the screen).For the Text Collection route: a Text Collection variable that holds values when the screen opens.
Steps
Choose where the options come from
A short, fixed list you can type
Manual data source
Everything is set in the Combobox, including Disabled.
A Text Collection the flow already holds
Text Collection to Combobox Options, then Variable
A Text Collection cannot be a Variable source on its own.
A list the flow builds before the screen, or reuses on several screens
New Combobox Option Collection, then Variable
One collection, built once, used by any Combobox.
The values of a picklist field
Picklist data source
The list follows the field, its record types, and its controlling field.
Salesforce records
Query data source
The component queries the records and can search them. See Search Large Lists in a Combobox.
Picklist and Query need no options to build, so the next steps cover the first three routes.
Type the options (Manual)
Open the Edit Combobox Component panel and, at the bottom of the Properties tab, set Data Source to Manual.
In Options, add one item per team. Fill Label (
Tier 2 Support) and Value (tier2). Value is required and must be unique.Add Secondary Text for the context line, for example
Hardware and installation issues.Under Avatar, set Icon Name (for example
standard:queue) and a Variant (Circle or Square).To block an option, turn on Disabled. Map it to a formula resource, such as
NOT(ISPICKVAL({!Case.Priority}, "High"))on the Escalations option, to grey it out only for non-urgent cases.

Or convert a Text Collection
Use this when the values already sit in a Text Collection. Example: on screen 1 the agent ticks every case Reason that applies (New problem, Existing problem). On screen 2 a second Combobox asks for the primary reason among those picks.
Add an Action element before screen 2 and pick Text Collection to Combobox Options.
Set Source Collection to the Text Collection, here the Value Collection of the first Combobox.
Store the output in a collection variable of the Apex-defined type
ComboboxOption.On the second Combobox, set Data Source to Variable and select that collection.
Each text becomes one option, used as both the label and the value. There is no secondary text or avatar on this route.
Or build an option collection with an action
Use this when several Combobox components, or several screens, share one list, or when a Decision chooses between two lists. Example: urgent cases get a list that includes Escalations, other cases get one without it.
Add an Action element and pick New Combobox Option Collection.
In Combobox Options, add one item per option with Label and Value. Both accept flow resources.
Open the advanced options of an item to add Secondary Text and the avatar fields: Avatar Variant, Avatar Initials, Avatar Fallback Icon Name, and Avatar Src (an image URL).
Store the output in a collection variable of the Apex-defined type
ComboboxOption. In the other branch of the Decision, store the second action's output in the same variable.On the Combobox, set Data Source to Variable and select that collection. No data mapping is needed.
This route has no Disabled field. To grey out an option, use Manual.
Troubleshooting
Related tutorials
Search Large Lists in a Combobox: when the options are records and there are too many to scroll.
Implement Dependent Picklists in Comboboxes: when the options of one Combobox depend on another.
Use a Combobox Selection in a Query or Flow: what to do with the value once it is picked.
Was this helpful?
