---
title: "Loop over File Uploads"
icon: "file-arrow-up"
---

## Process Multiple Files with Loop Over Uploads

The "Loop over file uploads" feature enables your agent to process multiple uploaded files sequentially in the Playground chat. The agent extracts information and performs individual actions for each file.

### How It Works

1.  **Enable the Feature**
    Navigate to **Agent behavior** and enable the **Loop over uploaded files** option.

2.  **Access Loop in Playground**
    After enabling, the **Loop** icon will appear in the **Playground** chat.

3.  **Select Loop Behavior**
    In the chat, click the **Loop icon** and select **Loop over uploaded files**.

4.  **Upload Files**
    Choose and upload the files you want the agent to process.

5.  **Start the Loop Process**
    Write your prompt in the chat and initiate the loop.

6.  **Monitor Progress**
    Observe the processing progress displayed in the chat.

7.  **Receive Summary**
    Upon completion, the agent will provide a summary `.csv` file directly in the chat and via notification.

> 💡 **Note:** You can track the progress of each loop execution in the **Agent feeds**.
