Docs
RunMacro Documentation
Learn RunMacro from basics to advanced.
Everything you need to start and master RunMacro — from basic commands to advanced automation workflows.

Write variables to CSV/Excel/TXT/Google Sheet in RunMacro
What it does
The Data Source - Write Variables command writes variable values as a new row into a CSV, Excel, TXT (by template), or Google Sheet. Use it to save results after processing.
When to use it
- Save results (created accounts, tokens...) to a file.
- Export aggregated data to Excel/Google Sheet.
- Log data per loop iteration.
Configuration steps
- Add a File › Data Source - Write Variables command.
- Choose the target format (CSV/Excel/TXT/Google Sheet) and the file/URL.
- Define the column = variable pairs (or a TXT template).
- Save.
Every option explained
Real example
Example: save created accounts to CSV
- Write Variables, CSV target
results.csv. - Columns:
email={email},password={password}. - Each run appends a result row.
Tips & common mistakes
Writing to Google Sheet lets you track results remotely; it needs an Apps Script Web App like the Google Sheets Action command.
RunMacro