Text Manipulation
Combine Text
This document explains the Combine Text node, which merges multiple text values using a customizable template format.
Node Inputs
Required Fields
-
Format: A template that defines how text values should be combined
Example: “Hello
{Name}
, your order total is{Total}
!”
Dynamic Values
- Any connected node’s outputs can be used in your format
- Select values by clicking on the format field and choosing from available outputs
- Reference values using input badges
Node Output
- Combined Text: The final merged result with all placeholders replaced by their values
Node Functionality
The Combine Text node:
- Merges text values from connected nodes
- Uses simple template-based formatting with placeholders
- Allows direct selection of values from connected nodes
- Preserves spaces and punctuation
- Works with both single values and lists (Loop Mode)
How To Use
- Connect Source Nodes: Link previous nodes that contain the values you want to combine
- Create Your Template: Click inside the format field and:
- Type your text template
- Add placeholders by selecting from available connected values
- Format as needed with spaces, punctuation, and line breaks
- Run Your Flow: The node will replace all placeholders with their corresponding values
Common Use Cases
1. Personalized Messages
2. Document Headers
3. Data Formatting
4. URL Construction
5. SQL Query Building
Format Tips
1. Basic Text Combination
Combine text with proper spacing:
2. Custom Separators
Add separators between values:
3. Repeated Values
Use the same value multiple times:
Loop Mode
When the Combine Text node runs in Loop Mode:
- It processes each item in input lists independently
- Input lists must be the same length
- Results in a list of combined strings
Loop Mode Example
In summary, the Combine Text node is a versatile tool for merging values from connected nodes into formatted text, supporting everything from simple concatenation to complex template-based formatting.