DocsFileAppend Text File

Append a line to a text file in RunMacro

RunMacro RunnerRunMacro 3.5+

The Append Text File command adds text to the end of a TXT file (without overwriting existing content).

Dialog & quick setup

RunMacro Append Text File command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Append Text File command in RunMacro.
  1. Add a File › Append Text File command.
  2. Choose the file path (and output folder if needed).
  3. Enter the content (variables supported); choose whether to add a newline. Save.

Options reference

File path + Output folder

The TXT file to append to; you may set a separate output folder.

Content (text)

The text to write; supports {...} variables.

Add newline

Automatically add a newline after the content.

Modes & when to use

RunMacro Runner

Best for

  • Write a data log to a file to keep it.
  • Accumulate results line by line across runs.
  • Save a list (emails, tokens...) to TXT.

Use an alternative when

  • Do not use it for structured data, lock-required concurrent writes, or encrypted content.
Before you run
  • Add Append Text File to the macro.
  • Prepare the data or target that Append Text File will use.

Example workflow

Example: append an email to a list

  1. Append Text File emails.txt, content {email}, newline on.
  2. Each run appends one email to the file.
Expected result: After execution, Append Text File completes the described action and makes its result available to the next step.

Tips & limitations

For structured multi-column output, use Append Custom CSV Row or Data Source - Write Variables.
  • Encoding, newlines, permissions, and multiple writers can corrupt/interleave text; the operation only appends.

Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.