Review rows before saving
Show every row of an uploaded CSV in an editable Avonni Data Table, let the user fix typos, then create the records in one step.
An events manager comes back from a trade show with the booth scanner export, and one of the leads says "Lumen Frieght". If the file goes straight into Salesforce, that typo becomes a lead someone cleans up six months later.
This tutorial puts a review screen between the file and the database. The CSV Parser turns the file into a Lead collection, an Avonni Data Table shows every row with inline editing, and one standard Create Records inserts what the user approved.

Before you start
A screen flow with a CSV Parser on its first screen, set to the
Leadobject. If you have never set one up, start with Import a CSV file in a screen flow.Default mappings for the headers your files use, so the rows reach the review screen with their fields filled in. See Pre-map CSV columns for a recurring import.
A test file. This one has the typo on row 3:
Steps
Set up the upload screen
On the first screen, select the CSV Parser. Its settings open in the right-hand panel of the screen editor.
Object Name:
Lead.Required: on, so the user cannot go on without a file.
Required Fields To Map:
Last NameandCompany. A Lead without them will not save, so catch it here instead of at insert time.Show Row Count: on. "Found 5 rows." under the drop zone tells the user the file was read.
Give the screen's Next button a label that says what comes next, for example Review the leads.
Add the Data Table on a second screen
Add a new screen after the upload screen and drop an Avonni Data Table on it.
In the right-hand panel, open Data Source and choose Variable.
Pick the CSV Parser's Records output from the first screen.
Click Open Component Builder.

The preview in the Component Builder stays empty and says "Preview does not include data." That is expected: the rows only exist once someone uploads a file.
Choose the columns and make them editable
In the Component Builder:
Add one column per field the user should check: First Name, Last Name, Company, Title, Email, Description.
Turn on Editable on each column. All Columns Settings in the toolbar does it for every column at once.
In the Properties tab, turn on Hide Checkbox Column (nobody selects rows here) and Show Row Number Column, so the user can say "row 3" when they ask a colleague.
Under Header, write a Title and a Caption that set expectations, for example
Check the leads before they reach SalesforceandNothing is saved until you press Import.
More on editable columns: Making a field editable.
Turn on Suppress Bottom Bar, and add no save interaction
Still in the Properties tab, turn on Suppress Bottom Bar. With it on, each correction is applied to the table's rows as soon as the cell closes. Without it, the table shows its own Cancel and Save buttons, and an edit the user does not save with that Save button is dropped when they press Next.
Leave the Save interaction empty in the Interactions tab. These rows are not records yet:
Update Record(s) fails on rows with no Id and shows "An Error Occurred!".
Upsert Record(s) inserts every row on the spot, and Create Records then inserts them all a second time.

Create the records from the table's output
After the review screen, add a Create Records element.
Choose to create multiple records from a record collection.
For the collection, pick the Data Table's Records SObject Without Key Field output.
Insert from the Data Table, not from the CSV Parser's Records: the table's output is the copy that carries the user's corrections. Records SObject Without Key Field also leaves out the temporary key the table gives to rows that have no Id yet.
Label the review screen's Next button Import the leads, and end with a short confirmation screen.
Save and test
Save the flow, click Debug or Run, and upload the test file.
The first screen shows "Found 5 rows." and the mapping under the drop zone.
Click Review the leads. The table lists five rows, row 3 reads
Lumen Frieght.Click the pencil in that cell, type
Lumen Freight, press Enter. No Save button appears.Click Import the leads, then open the new lead for Priya Natarajan. Company reads
Lumen Freight.

Troubleshooting
Related tutorials
Import a CSV file in a screen flow: build the upload screen this tutorial starts from.
Pre-map CSV columns for a recurring import: get every column to its field before the review screen.
Flow Data Table: every setting of the table used on the review screen.
CSV Parser: every setting of the component, in one place.
Was this helpful?
