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

Append a line to a text file in RunMacro
What it does
The Append Text File command adds text to the end of a TXT file (without overwriting existing content). It supports variables in the content and auto-creates the file/folder if missing.
When to use it
- Write a data log to a file to keep it.
- Accumulate results line by line across runs.
- Save a list (emails, tokens...) to TXT.
Configuration steps
- Add a File › Append Text File command.
- Choose the file path (and output folder if needed).
- Enter the content (variables supported); choose whether to add a newline. Save.
Every option explained
Real example
Example: append an email to a list
- Append Text File
emails.txt, content{email}, newline on. - Each run appends one email to the file.
Tips & common mistakes
For structured multi-column output, use Append Custom CSV Row or Data Source - Write Variables.
RunMacro