This document explains the Combine Text node, which merges multiple text inputs using a custom format.

Node Inputs

Required Fields

  • Format: Template showing how to combine inputs

    Example: “Hello {input1}, welcome to {input2}!”

Input Fields

  • Input1: First text value
  • Input2: Second text value
  • Add More: Click “Add Input” for additional fields

Node Output

  • Combined Text: Final merged result

Node Functionality

The Combine Text node:

  • Merges multiple text inputs
  • Uses template placeholders
  • Handles missing inputs gracefully
  • Supports batch processing
  • Maintains formatting

Common Use Cases

  1. Name Formatting:
Input1: First Name
Input2: Last Name
Format: "{input1} {input2}"
Result: "John Doe"
  1. Message Templates:
Input1: Username
Input2: Product
Format: "Dear {input1}, your {input2} has shipped!"
Result: "Dear Alex, your order has shipped!"
  1. Data Labeling:
Input1: Category
Input2: Value
Format: "{input1}: {input2}"
Result: "Status: Active"

Format Tips

  1. Basic Combination:
"{input1} {input2}"
"First Second"
  1. Custom Separators:
"{input1} - {input2}"
"Title - Subtitle"
  1. Repeated Inputs:
"{input1} liked {input2}'s post on {input1}'s wall"
"John liked Mary's post on John's wall"

Loop Mode Pattern

Input1: ["apple", "banana"]
Input2: ["red", "yellow"]
Format: "The {input1} is {input2}"
Result: ["The apple is red", "The banana is yellow"]

In summary, the Combine Text node helps create formatted text by combining multiple inputs using custom templates.