Skip to content

FileOut Node

kleer001 edited this page Feb 6, 2025 · 1 revision

File Out Node

Writes content to a text file with smart caching based on content hashing. Only writes when content has changed or when forced via refresh, preventing unnecessary disk operations.

Parameters

filename (str)

The name of the file to write to.

content (List[str])

A list of strings to be written to the file.

refresh (button)

Forces the file to be written regardless of content changes or hash matching.

format_output (bool)

When True (default):

  • Strips brackets and joins with newlines
  • Creates standard text file format

When False:

  • Preserves Python list format (e.g. ["item1", "item2"])
  • Useful for round-trip processing

Clone this wiki locally