Combine Text

Merge two text inputs into one with the Combine Text component, streamlining information consolidation in your FlowHunt workflows.

Combine Text

Component description

How the Combine Text component works

Component: Combine Text

The Combine Text component is designed to take two separate pieces of text and merge them into a single output. This is especially useful in AI workflows where you need to concatenate text data from different sources or stages before further processing.

What Does This Component Do?

At its core, the Combine Text component accepts two text inputs and joins them together. You can also specify a delimiter, which is a character or string that will appear between the two combined texts (for example, a space, comma, line break, etc.). If no delimiter is provided, the texts are joined directly.

This component is ideal for scenarios such as:

  • Merging user input with system messages
  • Combining results from different model outputs
  • Preparing prompts for large language models

Inputs

Input NameDisplay NameTypeRequiredDescription
input_text_1First TextStringNoFirst text to combine
input_text_2Second TextStringNoSecond text to combine
delimiterDelimiterStringNoSeparator between the two texts
  • First Text: The initial text segment you want to include in the combination.
  • Second Text: The second text segment to append after the first.
  • Delimiter: (optional) Any character(s) to insert between the two texts (e.g., space " ", comma ",", newline "\n"). Leaving this blank will concatenate the texts directly.

Outputs

Output NameDisplay NameTypeDescription
combine textCombined TextStringThe resulting merged text

The output is a single string containing both input texts, separated by the chosen delimiter.

Example Usage

Suppose you have:

  • First Text: “Hello”
  • Second Text: “World”
  • Delimiter: “, "

The output will be:

Hello, World

Why Use This Component?

  • Flexibility: Easily combine text streams from different parts of your workflow.
  • Preprocessing: Prepare inputs for models that require concatenated or formatted text.
  • Customization: Choose any delimiter that fits your use case, or leave it blank for direct concatenation.

Summary

The Combine Text component is a simple yet powerful tool for joining two text inputs with an optional delimiter. It can be used in a variety of AI and data processing workflows wherever text merging is required.

There are no examples of flow templates available at the moment using this component.

Frequently asked questions

What does the Combine Text component do?

The Combine Text component merges two separate text inputs into a single output, optionally separated by a custom delimiter.

Can I use a custom delimiter?

Yes, you can specify any delimiter to separate the combined texts, or leave it blank for direct concatenation.

When should I use the Combine Text component?

Use it whenever you need to bring together information from different workflow steps or sources into a single message.

What input types are supported?

The component works with any text-based input provided within your FlowHunt workflow.

Is this component suitable for automation?

Yes, it streamlines the merging of text data, making it useful for automating responses, summaries, or consolidated outputs.

Try FlowHunt Combine Text

Start building smarter workflows by consolidating text inputs seamlessly with the Combine Text component.

Learn more