Open
Open a CSV or delimited text file as a named session, read once, for Read and Each row steps.
Command in the CSV/TXT toolkit · id ooa.csv/open · 10 inputs (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | File path. | |
| Session | String | No | csv | Session name for later steps. |
| First row is the header | Boolean | No | true | First row holds column names. |
| Delimiter | String | No | , | Field delimiter: , ; | tab, newline (one value per line), or regional (the Windows list separator: ; when the machine's decimal separator is a comma, otherwise ,). |
| Trim | String | No | none | Remove spaces at the start and/or end of every value. |
| Encoding | String | No | auto | Text encoding: auto (the file's own: a byte order mark, else UTF-8 when it fits, else windows-1252), utf-8, utf-8-bom, ansi, unicode, utf-16, windows-1251 ... |
| Skip lines | Number | No | 0 | Lines to skip at the top of the file, before the header. |
| Skip empty rows | Boolean | No | false | Leave out rows whose values are all empty (blank lines are always skipped). |
| Detect numbers and dates | Boolean | No | false | Turn values that are clearly numbers, true/false or ISO dates into typed values; codes with leading zeros stay text. |
| Agents this one runs may use it | Boolean | No | false | Agents started from this one with Run agent may use this session by its name. |
Outputs
| Output | Type | What it is |
|---|---|---|
| row_count | Number | Number of data rows. |
| columns | List | Column names. |