Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Use the ReadFromCSV component

Read data from a CSV file by using the ReadFromCSV component in RPA Desktop Design Studio.

Watch this video to learn how to use the ReadFromCSV component.

[Omitted video] Description: How to use the ReadFromCSV component.

Before you begin

Role required: none

About this task

You can configure the properties for the ReadFromCSV component. For more information about these properties, see Properties of the Data Reader components.

  • Real-world scenario: Extracting product inventory data

    An e-commerce company maintains stock details in a CSV file. The RPA bot uses the ReadFromCSV component to read the file and update inventory levels in the company’s database, ensuring real-time stock availability.

Procedure

  1. In the Toolbox pane, navigate to Utilities > Data Reader.

  2. Drag the ReadFromCSV component to the Design surface.

  3. To configure the input fields, see Use the ReadFromCSV component.

  4. Connect the data and control ports of the ReadFromCSV component to the corresponding ports of the other components as described in the following table.

    ParameterDescriptionData Port typeData type
    FilePathThe file path of the CSV file.Data InString
    StartRowThe number of the row that will be first queried in the CSV file.Data InInteger
    DelimiterA character that separates values in a row of the CSV file. For example, comma, tab, semicolon, pipe, or space.Data InString
    IsFirstRowHeaderTrue or false value that indicates whether the first row of the CSV file is a header.Data InBoolean
    CountReturns the total number of rows containing data.Data OutInteger
    DataTableReturns the extracted data from the CSV file in a DataTable.Data OutDataTable
  5. To preview the data, right-click the Return field and click Preview Data.

  6. To test the component, under the DESIGN tab, click Run.

Parent Topic:Data Reader