# Splitter & Merger Nodes

<div data-with-frame="true"><figure><img src="/files/ifIoQBzAfkKIkBOPVCpf" alt="" width="470"><figcaption><p>Splitter &#x26; Merger Nodes</p></figcaption></figure></div>

Splitter and merger nodes manage the flow of tokens across multiple paths, enabling you to distribute capital to multiple protocols or recombine flows from different sources.

***

### Splitter Node

The splitter node divides incoming tokens into multiple output paths, allowing you to allocate capital across different protocols or strategies simultaneously.

**Configuration**\
When you add a splitter, click +/- to add or remove inputs, and chose what percentage of tokens should flow to each path. Percentages must total 100%, for example, you might split tokens 60% to path A, 30% to pathB, and 10% to path C.

***

### Merger Node

The merger node combines multiple token flows back into a single path, useful when you want to recombine tokens from different sources before the next operation.

**Configuration**\
Simply connect multiple token flows to the merger's inputs, and it will combine them into a single output. Click +/- to add or remove inputs.

{% hint style="info" %}
Make sure to merge different source of the same token.
{% endhint %}

***

### Using Splitters and Mergers

Together, these nodes give you fine-grained control over how your capital is allocated and recombined throughout your strategy, enabling sophisticated multi-protocol strategies with precise allocation management.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stazys.gitbook.io/stazys-docs/yield-studio/drag-and-drop-nodes/splitter-and-merger-nodes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
