> For the complete documentation index, see [llms.txt](https://docs.pletor.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pletor.ai/build-agents/nodes/logic-nodes/prompt-concatenator.md).

# Prompt concatenator

The Concatenate node merges text from different sources (user prompts, brand guidelines, AI text outputs) into one ordered prompt that feeds into downstream AI generation nodes.&#x20;

### When to use it

* **Standardizing prompt structure**: Ensure every generation follows the same format (e.g., subject first, then style, then technical specs).
* **Building complex prompts from multiple sources**: Pull together outputs from several AI Text nodes into one generation-ready prompt.
* **Combining user input with brand context**: Merge a creative brief with your brand guidelines into a single, structured prompt.
* **Batch workflows**: Process multiple prompt variations in loop mode.

### How it works

1. **Connect your text sources**: Link any nodes that output text (prompts, brand context, AI text) outputs.
2. **Set the order**: Arrange inputs in the sequence you want them to appear in the final prompt.
3. **Done!**

{% embed url="<https://screen.studio/share/kFKj1J3G>" %}

You can have a look at [this template agent](https://api.pletor.ai/s/f4b54615-b7f3-444e-a7be-34f5a9e32534) to start building with this node.
