For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

The Lakeshore Cold Chain account page running the Deal Review flow: a Deals to review table with a search box, stage badges, probability bars, amounts and close dates, and a Next button
What you will have at the end: Deal Review running on a real Account page, showing only this account's open deals.

What you will learn

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.

Two tables of the same five deals: the standard Flow Data Table with plain text and numbers, and the Avonni Data Table with a header, a search box, linked deal names, stage badges and probability bars
The same open deals in the standard Flow Data Table (above) and the Avonni Data Table (below).
On the Avonni side
What it gives your users

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.

Before you start. The Avonni Flow Screen Components package is installed, and you have a license and the permission set. You also need an Account with a few open Opportunities to see anything.


Build the Deal Review flow

1

Create the screen flow and its recordId

  1. In Setup, search for Flows and click New Flow. Choose Screen Flow.

  2. 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.

2

Get the account's open deals

Add a Get Records element named Get Open Deals:

  • Object: Opportunity

  • Filter: AccountId equals {!recordId}, and IsClosed equals False

  • Sort: 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.

3

Add an Avonni Data Table to a screen

  1. Add a Screen named Review Deals.

  2. In the screen's Components panel, search for Avonni. Every Avonni Flow Screen Component is listed there, next to the standard ones.

  3. Drag Avonni Data Table onto the screen and set its API Name to DealsTable.

  4. Click Open Component Builder.

The Edit Screen window with the Components panel searched for Avonni, listing Custom (75) Avonni components, and an Avonni Data Table named DealsTable on the screen
The screen editor's Components panel, filtered on Avonni.
4

Connect it to OpenDeals

The Component Builder is where every Avonni component is configured: properties on the right, a live preview in the middle.

  1. In the Fields panel on the left, set Data Collection to your OpenDeals variable.

  2. 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.

  3. 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.

The Edit Data Table Component window: Data Collection set to Open Deals in the Fields panel, the table preview with its header, search box and five columns, and the Properties panel
The Avonni Data Table's Component Builder, reading the OpenDeals collection.
5

Make the columns speak

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

The Stage column's menu in the Component Builder: Hide Label, Type Attributes, Select Icon, Allow Sort, Allow Search, Allow Filtering and Remove Column
A column's menu. Type Attributes decides how its values are drawn.
  • 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.

The Type Attributes popover of the Stage column, with Type set to Badge and its background and text color options below
The Stage column's Type Attributes, set to Badge.

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

The Review Deals screen running for one account: header, search box, linked deal names, stage badges, probability bars, amounts and close dates, and a Next button
Review Deals: a header, a search box, badges, progress bars and links, from five fields and no code.
6

Let them pick the next step

  1. Add a second Screen named Next Step.

  2. Drag Avonni Visual Picker onto it, API Name NextStepPicker, and open its Component Builder.

  3. Add three items, each with a title, a description and an icon: Schedule a call, Send a proposal, Flag at risk. Set the Label to What 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.

The Next Step screen: three Visual Picker cards, Schedule a call selected, Send a proposal and Flag at risk, each with an icon and a description
The Next Step screen: an Avonni Visual Picker with three options, the first selected.
7

Write the choice to the selected deals

Both Avonni components expose outputs, and the rest of the flow uses them like any other variable.

  1. Add a Loop over {!DealsTable.selectedRows}: the deals the user ticked on the first screen.

  2. Inside it, an Assignment: set the loop variable's NextStep to {!NextStepPicker.value}, then Add the loop variable to a new collection, DealsToUpdate.

  3. After the loop, an Update Records on DealsToUpdate.

The Deal Review flow on the Flow Builder canvas: Start, Get Open Deals, Review Deals, Next Step, a Loop with a Set Next Step assignment, Update Deals, End
The whole Deal Review flow: two Avonni screens between standard Flow elements.
8

Activate it and add it to the Account page

  1. Click Save, name the flow Deal Review, then Activate.

  2. Open any Account, click the Setup gear and choose Edit Page.

  3. Drag the standard Flow component onto the page and choose Deal Review.

  4. Check Pass record ID into this variable next to recordId. This is what scopes the table to the account.

  5. 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.

Review Deals with two rows ticked, Milwaukee route expansion and driver app licenses, and 2 items selected shown above the table
Two deals selected on Review Deals.

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

Idea
Here
Reuse it for

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

What you see
Likely cause
Fix

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?