Build Tabs on One Screen with Navigation
Build a tab bar on one flow screen that shows Overview, Contacts, Opportunities or Cases of an account, with no extra screens and no Next click.
A service agent opens a screen flow from an account and needs its contacts, opportunities and cases without leaving the screen. Four screens with Next and Previous buttons make that slow. One screen with a menu across the top, where each item reveals its own section, keeps everything one click away.

Before you start
A screen flow that receives the account Id, for example a text input variable
recordId.The records each tab shows, fetched before the screen (one Get Records per object, filtered on
AccountIdequals{!recordId}).The Navigation component reference, for every property this page does not use.
Steps
Add the Navigation at the top of the screen
Add a Screen element and drag the Avonni Navigation component to the top of it.
Give it a clear API name, for example
AccountTabs. You will pick it by that name in every visibility rule.Click Open Component Builder.
Keep Orientation on Horizontal (the default). A horizontal Navigation reads as a row of tabs.
Create the four items
Keep the Manual data source and click Add Items under Items four times.
Give each item a Label and a Value:
Overview
overview
Contacts
contacts
Opportunities
opportunities
Cases
cases
Set Active Navigation Item Value to
overview, so the screen opens on the first tab.
Your visibility rules compare the value, never the label. Keep values lowercase with no spaces, and do not change them once the rules exist. You can rename a label at any time, but a renamed value breaks every rule that uses it, with no error.
Add one section per tab
Below the Navigation, add four Section components to the screen, one per tab.
Put what each tab shows inside its section: a Display Text with the account details in the first, a data table of
{!Get_Contacts}in the second, and so on.
Any component works inside a section. The section is only the container that you show or hide.
Show each section only for its tab
Select the Contacts section, open Set Component Visibility and add one condition:
Resource:
AccountTabs> Active Navigation Item ValueOperator: Equals
Value:
contacts
Repeat for Opportunities (opportunities) and Cases (cases).
For the Overview section, choose Any Condition Is Met (OR) and add two conditions: Active Navigation Item Value Equals overview, and Active Navigation Item Value Is Null True. The second one keeps Overview visible if the default value is ever cleared.

This works because the Navigation sends the new Active Navigation Item Value to the screen as soon as an item is selected, and Flow re-evaluates the visibility rules that read it without leaving the screen.
Troubleshooting
Related tutorials
Reuse one menu across a multi-screen flow: when each tab needs its own screen, for example a form with its own validation.
Add sub-menus and columns to a navigation menu: split Cases into Open and Closed under one tab.
Build a navigation menu from a picklist: when the tabs are the values of a field, such as case statuses.
Was this helpful?
