How do I read CSV data and save it into a variable?

Hey I have a CSV file which I want to read. Then I want to save each cell into a variable in uipath.
The csv file looks like this:

Categorie Producer Price

Bike ExampleProd 500
Bike AnotherExampl 250

Thanks for your help.


  1. Use Read CSV file activity to read the data from CSV file and it will give output as DataTable. Let’s say dtInput.

  2. And then use For Each Row activity to iterate one by one row from DataTable.

           For Each row in dtInput
                     Categorie - row("Categorie").ToString
                      Producer - row("Producer").ToString
                      Price - row("Price").ToString

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.