> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agents.kolena.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrations

## I've connected an Integration, when will my Agent start processing files?

Files already in the connected location are imported when the Integration is added, and new files are typically detected within a minute or two of being added.
For Integrations that group files together, Kolena waits until a sub-folder has been quiet for 5 minutes before processing it, so it may take up to five minutes before new runs are created.
When connecting a folder that already contains a large number of files, the initial import happens in batches and may take some time to complete. See [Cloud Folder Sync](https://docs.agents.kolena.com/connections/cloud-folder-sync.md#bulk-additions-and-large-folders) for details.

## How many Integrations can I add to my Agent?

A single Agent can have multiple Integrations bringing documents in and sending results out.

## What happens if I add a new file to a connected folder?

For Integrations where files are imported separately:

* If a new file is added, Kolena will create a new run for that file

For Integrations where files are grouped together:

* If a new file is added to a sub-folder, Kolena will create a new run if one does not exist or update an existing run if one already exists for that grouping.

## What happens if I remove a file from a connected folder?

By default, Kolena will not delete or update existing runs if a file is removed.
Grouped folder Integrations on Box, Google Drive, and SharePoint can opt in to [syncing deletions](https://docs.agents.kolena.com/connections/cloud-folder-sync.md#syncing-deletions), which removes deleted files from their Runs and either re-runs the affected Runs or marks them as stale.

## What happens if I move a file into or within a connected folder?

A file moved or copied into a synced folder is imported the same as a new file, even if the file itself is old.
For files moved between sub-folders within a synced folder, the file is imported at its new location; the copy at the old location is only removed if [syncing deletions](https://docs.agents.kolena.com/connections/cloud-folder-sync.md#syncing-deletions) is enabled.

## What happens if I delete a Run or file in Kolena?

The deletion is permanent: syncing will not re-import the file from the same location, even during a full re-scan.
If the file later appears in a different location, it is treated as new and imported there.

## What happens if I update a file in a connected folder?

If you update the content of an existing file, Kolena will not automatically re-process the updated files or refresh existing runs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.