Data Table in Salesforce Flow

Data Table in Salesforce Flow

In this blog, we will explore the data table component available in Salesforce’s Screen Flow. It offers a versatile table component for displaying and interacting with data.

Here We’ll also cover important considerations when using it, and a step-by-step walkthrough to create a Data Table.

Data table in Screen Flow

Starting with Winter ’23, Salesforce introduced a powerful “Data Table” component for screen flows. This lets you display multiple records, similar to list views and even allows users to select one or more for further actions based on their specific needs.

Alternatively, you can use it for a simple record display without selection options.

Where we can access the data table component in Salesforce

In Setup, navigate to Flow. Start creating a new screen flow or edit an existing one. In the flow builder, find the Data Table component and incorporate it into your screen flow design.

Things you should be keep in mind when using the data table:

  1. Display Limits: The Data Table can show up to 1,500 records at a time.
  2. Selection Limits: Users can select a maximum of 200 records within the table.
  3. Lookup and Master-Detail Fields: These types of fields won’t display the actual value in the table. Instead, you’ll see the record ID. To show related record details, use object formula fields.
  4. Time Zone Display: Dates, Times, and Date/Time fields will appear based on the user’s machine time zone when running the flow.
  5. Time Field Search: You cannot search for specific times within the table.
  6. Multi-Currency: The data table currently doesn’t support displaying records with currencies different from the user’s default currency.
  7. Customizing Column Labels: For translated labels or specific titles, use custom labels for your columns. You can reference these labels using the $Label global variable.

Let’s create a Data Table

Scenario –  Display all records of accounts on the record page of the Content app (Custom Lightning app).

1.  Navigate to the flow builder and select ‘Screen Flow’.

2.  Inside the Flow Builder, drag a Get Records element onto the canvas. Utilize get record element to retrieve all records from the Account object.

3. Once all the records are retrieved, drag a Screen element onto the canvas. This will help us use the data table component in flows.

4.   While editing the Screen element, locate the Data Table component within the list of the available components. Drag and drop the Data Table component onto the screen flow element’s canvas.

5.  Provide a Label Name for the table (e.g., “Data Table of Accounts Records”). Set the API Name to a unique identifier for the table component within the flow.

In the Data Source section, choose the variable you created in the Get Records element (the one holding all accounts).

6. Add Search Functionality:

  • In the Configure Data Source property, find the option for Show Search Bar and enable it.

7. Configure Rows and Columns in the Data table –

  • Under rows, you can set the minimum and maximum number of rows displayed (optional, leave it blank for default behaviour).
  • In the Columns section, select the specific Account fields you want to display in the table (e.g., Account Name, Website, Industry).


8. After configuring the Rows and Columns, we can debug it to test if the data table retrieves and displays the Account records correctly.

9. Activate the flow and go to the record page, where you want to show the Data Table, Click on Edit Page.

10. Within the Content App, navigate to its record page settings (where you want the table to appear).

11. Save your changes, Now you can see the Data Table component displaying all the Account records as configured.

Also, Learn more about 20 Important Validation Rules in Salesforce


1.  What are the data elements in the flow in Salesforce?

Salesforce Flow includes four distinct types of data elements. These are the Get Records, Create Records, Update Records, and Delete Records elements.

2. Can we show a table in Flow Salesforce?

We can display a table in Salesforce Flow using the Data Table component. This component was introduced as part of the Screen Flow element in the Winter ’23 release. It allows you to present collections of records within your flows in a user-interactive table format.

3. What is a data table in Flow Salesforce?

The Datatable is a component of the screen element in Screen Flow that enables you to configure and display a table using Salesforce Flow.

4. Can we add “Search Functionality” in the Data Table Component of Screen Flow?

Yes, we can add search functionality to the Data Table component in a Screen Flow. While configuring the Data Table in the Screen element, enable the “Show Search Bar” option present in the configure data source property. This will add a search bar to the data table, allowing users to search through the displayed records.


This blog post explains the Data Table component, a new feature in Salesforce Flows. This component allows you to display and interact with data collections within your flows using a table format.

Users can also interact with the data by selecting one or more records for further actions based on your specific flow design. Alternatively, you can use it for a simple, read-only display of records.

Get a complete Roadmap To Learn Salesforce Admin And Development

Share Now

Neelu is pursuing her career in the Salesforce domain. She believe that words are powerful tools, and she love using them to express herself, both in technical and creative ways. This passion for language makes her a bit of a logophile (a lover of words!). In her free time, she enjoy crafting quotes to share her thoughts and inspirations.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *