Show records as Visual Picker cards
Show an Account's open Opportunities as Visual Picker cards in a screen flow, then load the one the rep picks with Get Records and use it.
A sales rep logs a meeting from an Account and has to say which deal it was about. Instead of a lookup search, the screen shows the Account's open Opportunities as cards, with the stage, amount and close date on each. The rep clicks one, and the next steps of the flow work on that Opportunity.

Before you start
Your screen flow runs on the Account record page and receives the Account Id in a
recordIdvariable. If not, follow How to pass your current RecordID in your screen flow.The Avonni Flow Screen Components package is installed and you have its permission set.
You know how to build a card by hand. Build Visual Picker items by hand covers what each card setting prints.
Steps
Query the Account's open Opportunities
Set Data Source to Query and choose the object Opportunity. Under Filters, add two conditions:
Account ID Equals the
recordIdresource of your flow.Closed Equals
False.
Under Order By, pick Close Date, ascending, so the deal closing first comes first. Set Maximum Number of Records to 6: past that, cards are harder to scan than a list.
The query runs when the screen opens, so you need no Get Records element before the screen.
Map the fields to the card
In Data Mappings, tell the picker which field goes where on each card:
Value: keep the default, Id. This is what the flow receives.
Figure Title: Name.
Figure Description: a rich text box. Insert the Stage merge field so it reads
{{Record.StageName}}.Fields: Amount and Close Date.

Load the picked Opportunity
After the screen, add a Get Records element named Get_Picked_Opportunity:
Object: Opportunity.
Filter:
IdEquals{!Opportunity_Picker.value}.How Many Records to Store: Only the first record.
{!Opportunity_Picker.value} holds the Id of the card the rep clicked, because Value is mapped to the record Id.
Use it in the next steps
Every later element can now read the deal: {!Get_Picked_Opportunity.Name}, {!Get_Picked_Opportunity.StageName}. For example, a Create Records element can log the meeting as a Task with Related To ID set to {!Get_Picked_Opportunity.Id}.
The Visual Picker also returns the record itself in its Selected Item output. Get Records is still the safer choice when you need a field the cards do not show.
Save and test
Save and activate the flow, then run it from an Account that has open Opportunities. The screen shows one card per open deal, the earliest close date first, with its stage, amount and close date. Closed deals are not there.
Click a card and Next: the following screen or record works on that Opportunity. Run it from a second Account: the cards change with it.
Troubleshooting
Related tutorials
Build Visual Picker items by hand: tags, icons and locked cards, typed in by hand.
Filter a Data Table or Map by the current record: the same
recordIdfilter on other components.Query data source: every query option, including filters that react to other components.
Visual Picker: what Selected Item, Selected Items and Value return.
Was this helpful?
