Griptape Save: Text
Get your agent's output off the graph and onto disk
The whole pack is about getting LLM text into ComfyUI - and this is the node that gets it back out. Griptape Save: Text writes whatever string you feed it to a file in ComfyUI's output directory. That's the entire job, and it's worth having because it's the difference between your agent's answer living only in the graph and living as a file you can open, grep, email, or hand to the next tool.
It matters more than it sounds. Every serious workflow ends somewhere - a text file is the natural terminus for an agent that just generated a description, a summary, a caption list, or a batch of tagged results. Add this as the sink on your Run nodes and you've turned ComfyUI into a proper text-processing pipeline with real artifacts at the end. The author even built a persistent-display workflow around text nodes like this one.
How it works
The node takes a text string and a filename_prefix, builds the full output path (ComfyUI's output folder, prefixed with griptape_output by default), and writes the file. It prints the saved path to the console so you can find it, and it's flagged as an output node - no outputs, it's a terminal. It reuses the pack's base save-node plumbing, so the filename handling is consistent with the pack's other save utilities.
The inputs
- text - the string to save.
- filename_prefix - the filename, default
griptape_output.txt. Change it and you control both name and extension; a.mdprefix gets you a Markdown file,.jsongets you JSON, and so on.
No outputs. It's the end of the line.
Installing
ComfyUI Manager → search "Griptape" → Install, or:
cd ComfyUI/custom_nodes
git clone https://github.com/griptape-ai/ComfyUI-Griptape
Restart ComfyUI. Deps: griptape[all] and python-dotenv (heavy, though this node itself is lightweight).
Common gotchas
The two things that trip people up are both filename-related. One: the default prefix is a full filename, so don't expect an auto-extension or timestamping - what you type is what you get, and two runs with the same prefix overwrite each other. Two: the file lands in ComfyUI's output directory, not wherever you happen to be looking. Check the console printout for the exact path.
Then the pack-wide usuals: torch version conflicts on Nvidia (reinstall with the cu121 index) and stale-griptape ImportErrors fixed with python -m pip install griptape -U.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| filename_prefix | STRING | griptape_output.txt | — |
Outputs (0)
No outputs