Quickstart Guide
Build a Deal Review screen flow for the Account page in 15 minutes with Avonni Flow Screen Components: a deals table, a visual choice and a record update.
Intro
Screen Flows are great at logic: decisions, loops, record updates. Their screens are another story. The standard components give you text inputs, picklists and a plain Data Table, and that is where most flows start to look like forms. Avonni Flow Screen Components add more than 70 components to the same Flow Builder palette (tables that read like dashboards, visual pickers, Kanban boards, maps, calendars, charts), configured with clicks, not code.
In the next 15 minutes, you will build a Deal Review flow for the Account page: the account's open deals in a table people can read at a glance, a visual choice of what happens next, and the choice written back to the deals they picked.

Standard screen vs Avonni screen
Same flow, same query, same five deals. Above, Salesforce's standard Data Table. Below, the Avonni Data Table you are about to build.

A header with an icon, a title and a caption
They know what they are looking at before they read a row
Stage as a badge, Probability as a bar
The deal that needs attention stands out without reading numbers
Deal names as links
One click opens the Opportunity
A search box
They find a deal on a long list without scrolling
And the table is one component among many: search the palette for Avonni and you get Kanban boards, maps, calendars, schedulers, charts, visual pickers and dozens more, in the Flow Builder you already use.
Build the Deal Review flow
Create the screen flow and its recordId
In Setup, search for Flows and click New Flow. Choose Screen Flow.
In the Toolbox, click New Resource: a Variable named
recordId, Data Type Text, with Available for input checked.
When the flow sits on a record page, Salesforce puts the page's record Id in recordId. Every step below builds on it.
Get the account's open deals
Add a Get Records element named Get Open Deals:
Object: Opportunity
Filter: AccountId equals
{!recordId}, and IsClosed equalsFalseSort: Amount, descending. How Many Records to Store: All records
How to Store Record Data: choose the fields (Name, StageName, Probability, Amount, CloseDate, NextStep) and store them in a new record collection variable,
OpenDeals
This is plain Flow, and it stays that way: the Avonni components read the variables your flow already has.
Add an Avonni Data Table to a screen
Add a Screen named
Review Deals.In the screen's Components panel, search for
Avonni. Every Avonni Flow Screen Component is listed there, next to the standard ones.Drag Avonni Data Table onto the screen and set its API Name to
DealsTable.Click Open Component Builder.

Connect it to OpenDeals
The Component Builder is where every Avonni component is configured: properties on the right, a live preview in the middle.
In the Fields panel on the left, set Data Collection to your
OpenDealsvariable.Drag Name, StageName, Probability, Amount and CloseDate from the field list onto the table, then click each header's label to rename it: Deal, Stage, Probability, Amount, Close date.
In the Properties panel on the right, give the table a Title (
Deals to review), a Caption (Open opportunities on this account) and an Opportunity icon.
The preview shows the table's layout without your records: the data arrives when the flow runs.

Make the columns speak
Each column header in the preview has a chevron. It opens the column's menu:

Stage: Type Attributes, then set Type to Badge.
Probability: Type Attributes, then set Type to Progress Bar.
Deal: Type Attributes, turn on Linkify so the name opens the Opportunity. Then Allow Search from the same menu, which adds the search box above the table.

Click Done, then Done again to close the screen. Here is the screen your users will see:

Let them pick the next step
Add a second Screen named
Next Step.Drag Avonni Visual Picker onto it, API Name
NextStepPicker, and open its Component Builder.Add three items, each with a title, a description and an icon:
Schedule a call,Send a proposal,Flag at risk. Set the Label toWhat happens next on the selected deals?and the Type to radio, so exactly one is picked.
Three cards beat a picklist: the user sees every option and what it means before choosing.

Write the choice to the selected deals
Both Avonni components expose outputs, and the rest of the flow uses them like any other variable.
Add a Loop over
{!DealsTable.selectedRows}: the deals the user ticked on the first screen.Inside it, an Assignment: set the loop variable's NextStep to
{!NextStepPicker.value}, then Add the loop variable to a new collection,DealsToUpdate.After the loop, an Update Records on
DealsToUpdate.

Activate it and add it to the Account page
Click Save, name the flow
Deal Review, then Activate.Open any Account, click the Setup gear and choose Edit Page.
Drag the standard Flow component onto the page and choose Deal Review.
Check Pass record ID into this variable next to
recordId. This is what scopes the table to the account.Click Save, then Activation if the page is not assigned yet.
Try it
Open the Account, tick two deals and click Next. The table counts what you picked, and those rows are exactly what the Loop receives.

Pick Send a proposal and click Next. The two deals you ticked now carry Send a proposal in their Next Step, and the three others are untouched. We ran this exact flow on the account above to check it.
What you just used
Flow data in, Avonni display out
Get Records feeding the Data Table
Any collection your flow already has
Column types
Badge, Progress Bar, Linkify
Avatars, images, ratings, and many more types
Outputs back into the flow
selectedRows, value
Loops, decisions, updates, subflows
More than tables
Visual Picker
Kanban, Map, Calendar, Scheduler, Chart, and the rest of the palette
If something looks wrong
The preview in the Component Builder shows no rows
The builder previews the layout, not your records
Normal. Run the flow, or open it on a record page
The table is empty on the page
recordId is not passed in, or the Account has no open deals
In Lightning App Builder, check Pass record ID into this variable on the Flow component
The Component Builder takes a while to open
First load, or an expired session cache
Give it a few seconds; see the Performance Guide
Nothing is updated after the last screen
The user selected no row, or the Loop reads the wrong output
Loop over {!DealsTable.selectedRows}, and require a selection if needed
Still stuck? Support and troubleshooting has more.
Keep going
Last updated
Was this helpful?






