<aside>
ðŸ›
Merge Up to 4 Text Inputs Into One
Combine up to four text streams into a single output. Perfect for stitching together OCR results, merging multiple LLM responses into one prompt, building structured strings, or assembling sectioned text for downstream nodes. Leave the separator empty to concatenate with no gap at all.
</aside>
What it does
Text Concatenate takes up to 4 text inputs and joins them into a single output string. Between each consecutive pair of inputs, the tool inserts the Separator value you provide. Unconnected inputs are skipped automatically so you can concatenate 2, 3, or 4 inputs without changing settings. The result is a single text stream that downstream nodes (LLMs, Draw Text, comparison tools, file outputs) can consume.
Problem it solves
- Combine multiple text sources – Stitch together outputs from different upstream text nodes (OCR, LLMs, Text Input, file loaders) into one stream
- Build structured prompts – Assemble multi-section prompts (instructions + context + question) from separate pieces, with clean separators between them
- Merge OCR results – Join text extracted from multiple pages or regions of a document into one continuous output
- Aggregate model responses – Concatenate outputs from parallel LLM branches before passing to a downstream summarizer or comparator
- Format with separators – Add consistent delimiters (newlines, bullets, dashes) between segments without manual string manipulation
- Conditional joining – Plug in 2, 3, or 4 inputs as needed; unused inputs are skipped automatically
- No-gap concatenation – Leave the separator empty to stick segments together with no spacing (useful for token-by-token assembly)
Input/Output
<aside>
- Input: Up to 4 text streams + 1 separator string
- Text inputs (2 - 4): Any text-producing upstream node - Text Input, OCR (PaddleOCR / GLM-OCR / DeepSeek-OCR), Language Models, Multimodal Language Models, Image Understanding (BLIP / ViLT), or file loaders
- Separator: String inserted between consecutive inputs (can be empty)
</aside>
<aside>
- Output: Single concatenated text string
- Format: Plain text
</aside>
Configuration Options
- Separator inserted between each text segment: The string placed between consecutive inputs.
How to Use with Segmentation
<aside>
- Connect text inputs → Plug 2, 3, or 4 upstream text-producing nodes into the input ports on the left side of Text Concatenate (top to bottom = order in the output)
- Set the separator → Type the string you want inserted between consecutive inputs into the Separator field (leave empty for no separator)
- Run Flow → The output is the inputs joined in order, with the separator between each consecutive pair
</aside>