Griptape Combine: String List
Turn Many Strings Into One List
- input_1
- STRING_LIST
Most Griptape nodes hand you one string at a time. Griptape Combine: String List is the exception - it collects a pile of strings into an actual list, and that list is what lets you run parallel work. If you've got twenty product names or ten images that each need a caption, you don't want to fire twenty sequential agent calls. You want a list, and this node builds it.
What it's for
The intended pairing is with the Parallel Prompt Task node, which the pack added precisely so you could take a string list and run a prompt task on every item in one pass. The changelog is explicit: Griptape Combine: String List takes multiple string inputs and outputs a list, and Griptape Run: Parallel Prompt Task takes that list and runs a task per item.
So the pattern is: build your list here → hand it to the parallel task → get per-item results back. That's dramatically faster than chaining prompt tasks when the items are independent.
How it works
It's a collector, nothing more. Every connected input gets appended to a Python list in order:
string_list = []
for string in strings:
string_list.append(string)
return (string_list,)
There's no deduplication, no sorting, no separator - each connected string is one item in the output list. Order follows connection order, which is usually the order you plugged things in.
Inputs and output
input_1(*) - a string to add to the list. Connect more inputs and the node grows more sockets, so you can feed it from other nodes rather than typing everything by hand.- Output:
STRING_LIST- the assembled list, ready forGriptape Run: Parallel Prompt Taskor anything else in the pack that accepts a string list.
One thing to note: the output is a list type, not a plain string. Don't try to wire it into a STRING input expecting text - you'll get a type mismatch. That's not a bug; the list is the point.
Installation
This node ships in ComfyUI Griptape Nodes:
- ComfyUI Manager: search "Griptape" → install.
- Manual:
cd ComfyUI/custom_nodes && git clone https://github.com/griptape-ai/ComfyUI-Griptape, restart ComfyUI.
Shared pack dependencies apply (griptape[all], python-dotenv, openai), and the usual torch-conflict caveat from the README troubleshooting applies on first install.
Gotchas
- It collects strings, not numbers or dicts. Feed it anything else and it'll be str()'d on the way in - which is fine for prompts, wrong for data you need typed.
- Because it's a pure utility with no LLM or network, there's basically nothing to configure or break. If your parallel task isn't producing results, the problem is upstream in how the list got built, not in this node.
For batch workflows this one quietly does a lot of the heavy lifting - it's the difference between "waiting on 20 calls" and "firing them at once."
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| input_1opt | * | A string to add to a list. Connect an input to dynamically create more strings. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING_LIST | STRING_LIST | — |