Combine Text Agent

The Combine Text agent merges multiple text inputs into a single coherent response based on user-defined instructions. It consolidates information while maintaining clarity, source attribution, and contextual flow. It supports two modes: LLM mode (intelligently synthesizes texts based on your instructions) and append mode (concatenates texts as-is without processing).

Use Cases

  • Research Synthesis -- Merge multiple search results or document excerpts into one summarized answer.
  • Content Aggregation -- Combine knowledge base entries, chat logs, or reports into a unified text.
  • Document Creation -- Automatically generate summaries or stitched documents from segmented inputs.
  • Knowledge Consolidation -- Pull together fragmented insights while retaining source references.

Inputs

InputTypeRequiredDescription
texts_with_sourcesList of TextsYesA collection of text segments from other agents or external sources.
instructionsStringYesUser-defined guidance on how the texts should be combined (e.g., summarize, merge seamlessly, or retain structure).

Outputs

OutputTypeDescription
combined_text_with_sourcesText With SourcesA single, unified text that merges all inputs. Includes consolidated sources when provided and preserves logical flow according to your instructions.

Configurations

None.

Advanced Configurations

ParameterDescription
Append Input Values As-IsDirectly concatenates all text inputs in order, skipping LLM processing. Useful for creating raw, unprocessed combined documents.
Configure EmaFusionUses Ema's intelligent fusion to combine multiple LLM outputs. Optionally allows selecting specific LLMs or integrating custom models.

How to Use This Agent

Merge a ticket summary and a knowledge base answer before sending a response:

ticket_trigger -> thread_summarizer ----\
 -> knowledge_search -> respond_using_search_results ---> combine_text -> send_email

Last updated: Jul 3, 2026