# Data Balancer Module

* [Definition](#definition)
* [Configuring the module](#configuring-the-data-balancer-module)
* [Use example](#use-example)

### **Definition**

The **"Data Balancer"** tool module, a standard component in Skyone Studio available for use in any flow, efficiently divides large datasets into smaller parts.

This module is ideal for scenarios where a destination API has data intake limitations, as the **Data Balancer** splits the original data, ensuring that each processed segment stays within the defined limits and prevents overload.

### **Configuring the Data Balancer Module**

The "**Data Balancer**" module is available under the **Tools** option when editing a flow. After clicking to add it, the configuration modal will be displayed.

<figure><img src="/files/qYhQT7JYrimyXyZpsgjS" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
[Find out about the Module Header here](/english/skyone-studio/integrations/flows/module-header.md).
{% endhint %}

**Settings**

Select and fill in the following fields:

* **Type:** Choose between Array Items, Line or Character.
* **Quantity:** Enter the amount of data to be processed at a time.
* **Data to Balance:** Input the data manually or use an SMOP.

Additionally, there is a "**Test**" button and "**Input**" and "**Output**" tabs to monitor data entry and testing.

<figure><img src="/files/YhXk5LtMaRIQ64VoLrzV" alt=""><figcaption><p>Data Balancer configuration screen</p></figcaption></figure>

To finish configuring the module, click on "**Save**".

### Use example

The "**Data Balancer**" module requires another module to be connected to it. So, we built our flow as follows:

<figure><img src="/files/0GrIqG5q7UFSZ5US4EQ9" alt=""><figcaption><p>Example of a flow using the Data Balancer Module</p></figcaption></figure>

Imagine a scenario where a store has many simultaneous sales. To avoid overloading the order processing system, we used the "**Data Balancer**" to send 2 orders at a time. The module was configured as follows:

<figure><img src="/files/ecnF8632rKyUherVnxTO" alt=""><figcaption><p>Example of Data Balancer settings</p></figcaption></figure>

After saving the configuration, we execute the flow. Notice that the logger shows the orders were sent according to the configuration, in batches of 2 orders at a time:

<figure><img src="/files/NViSSBnTBmZ2NxTJfMc4" alt=""><figcaption></figcaption></figure>


---

# 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://docs.skyone.cloud/english/skyone-studio/integrations/flows/tool-modules/data-balancer-module.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.
