> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Loop Container

> The loop container processes batch data in integration & automation flows to improve build efficiency. It supports scenarios such as multi-person task assignment, scheduled reminders, and branch store management. Steps include signing in to the YiDA workbench, selecting app settings, and editing the integration & automation flow. Review the data processing limits and configuration details before use.

| **Feature**    | **Free plan** | **Basic edition** | **Professional edition**            | **Dedicated edition**               |
| -------------- | ------------- | ----------------- | ----------------------------------- | ----------------------------------- |
| Loop container | Not supported | Not supported     | 1 per integration & automation flow | 1 per integration & automation flow |

### Overview

The loop container fetches and processes batch data in integration & automation flows. It reduces the need for intermediate tables, improves build efficiency, and enables a wide range of automation scenarios. Within a single loop, you can send message notifications, send card notifications, and initiate approvals.

<Note>
  The loop container is typically used together with a node that retrieves multiple records.
</Note>

### Use Cases

* Scenario 1 — Multi-person task assignment: In scenarios such as interview evaluation and project evaluation, you need to send evaluation tasks to a specific group of reviewers. Task content is sent one by one based on the filtered reviewer list.
* Scenario 2 — Scheduled reminder: In contract follow-up and opportunity follow-up scenarios, you can periodically filter business data that meets specific conditions and push follow-up reminders to the responsible person to keep business on track.
* Scenario 3 — Branch store management: For headquarters-to-branch or headquarters-to-chain-store scenarios, the headquarters can initiate various task plans. Once approved, tasks are dispatched to the next level through the loop container, automating the task broadcast process.

### Procedure

1. Sign in to the YiDA workbench and click **My apps**.

2. Select the target app to open the **App settings** page.

3. Click **Integration & Automation**, select the integration & automation flow you have created, and click **Edit**.

4. Move the cursor over the connection line to display the **+** button. Click **+** and select the **Loop container** node.

5. In the properties panel on the right, select the data to enter the loop and configure the blocking mode for execution errors.

Two blocking modes are supported:

6. After configuration, add the nodes that need to process data in a loop inside the loop container.

Supported nodes: **Message notifications**, **Send mail**, **Send card**, **Update card**, **Initiate approval**, **Conditional branch**, and **Parallel branch**.

<Warning>
  **Data processing limit for the loop container**

  The loop container currently processes up to 100 records. To process more than 100 records, contact your admin or upgrade to the Premium edition/Dedicated edition. This limit is set for performance and typical use case considerations. Routine employee notifications and message push operations usually stay within this range.

  **Note:**

  * If the loop container in an automation flow processes more than 100 records, the flow fails without an explicit prompt.
  * To lift this limit, submit a request through the ticket system. We will evaluate and support your case based on your actual business needs.
</Warning>

### Notes

* Each integration & automation flow supports only one loop container.

* Tasks initiated in batches within the loop container are not guaranteed to run in real time. When the data being processed is complex, please wait patiently.

* When sending cards in a loop, set the card sending rule to **Instance ID of the data currently being looped**. Otherwise, the card content cannot be personalized for each recipient.
