Using the For each row in CSV/TXT iterator
- Updated: 2021/04/07
Using the For each row in CSV/TXT iterator
Use the For each row in CSV/TXT iterator in the Loop action to read the data of each row in a CSV or text file and assign the current row to a record variable. The bot reads the values in each cell as string-type values, even if there are numerical values.
Prerequisites
First, open the CSV or text file. Using the Open action for CSV/TXT file
Note: The For each row in CSV/TXT iterator only supports
CSV/TXT files that conform to the RFC 4180 standard. For more information about the
standard, see Common format and MIME type for CSV files.
To
use the For each row in CSV/TXT iterator in a
Loop action, do the following:Procedure
Next steps
Note: You must
select the Contains header option in the
action to specify the record values by column name.
For an example, see Build a Bot Insight dashboard bot.