Get a data row from CSV/Excel/Google Sheet in RunMacro
RunMacro RunnerRunMacro 3.5+
The Data Source - Get Row command reads a row from a data source (CSV, TXT, Excel, or Google Sheet via Apps Script) and assigns columns to variables.
Dialog & quick setup

- Add a File › Data Source - Get Row command.
- Choose the source (CSV/TXT/Excel/Google Sheet) and the file/URL.
- Choose the mode: first / random / next unprocessed.
- (Optional) set a variable prefix, status column, IF/ELSE labels. Save.
Options reference
Modes & when to use
RunMacro Runner
Best for
- Process an account/data list row by row.
- Take the next unprocessed row (by a status column) to run in order.
- Load Google Sheet data into variables.
Use an alternative when
- Do not use it when multiple runners must claim one row atomically.
Before you run
- Add Data Source - Get Row to the macro.
- Prepare the data or target that Data Source - Get Row will use.
Example workflow
Example: get the next unprocessed CSV row
- Data Source Get Row, CSV source, Next-unmarked mode, status column
status. - Columns are assigned to variables (e.g.
{email}). - After processing, use "Mark Row" to write
done.
Expected result: After execution, Data Source - Get Row completes the described action and makes its result available to the next step.
Tips & limitations
The trio Get Row → process → Mark Row forms a clean list-processing loop.
- Exhaustion, unmatched filters, or source changes can return empty; reading a row does not lock it for another runner.
Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11
