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

# Auto-File Attachments

> Automatically organize email attachments in Google Drive or OneDrive.

Auto-File Attachments keeps your drive organized without you lifting a finger. Incoming email attachments are analyzed and saved to the right folders in Google Drive or Microsoft OneDrive/SharePoint automatically.

## Set Up Auto-Filing

### Connect a Drive

Open **Attachments** in the left sidebar and connect one of the supported storage providers:

* Google Drive
* Microsoft OneDrive or SharePoint

### Select Folders

Choose existing folders or create folders during setup. Give each folder a clear description so the assistant knows what belongs there.

| Folder    | Example description                                    |
| --------- | ------------------------------------------------------ |
| Receipts  | Purchase receipts, invoices, and payment confirmations |
| Contracts | Signed agreements, proposals, and legal documents      |
| Travel    | Flight confirmations, hotel bookings, and itineraries  |

You can also add general filing instructions and exclusions. Start with a small set of distinct folders; overlapping descriptions make the destination harder to determine.

### Review the Preview

The setup flow can preview recent attachments before auto-filing is enabled. Review the suggested destinations and correct them when needed, then enable the feature.

## How Filing Works

When a new attachment arrives, the assistant files it in the matching folder. If it isn't sure where a file belongs, it asks you for a destination instead of filing automatically.

## Corrections and Activity

Open **Attachments** to review Filing Activity and move a file to a different folder. Notification emails arrive in the source email thread, so you can also reply to approve a filing, move the file, or undo it. The assistant learns from these corrections.

## Delivery Settings

Use the **Delivery** button on the Attachments page to configure updates:

* **Email confirmations**: Receive an email when a file is sorted.
* **Connected apps**: Enable document-filing alerts for connected Slack, Microsoft Teams, or Telegram accounts. Configure or connect them on **Channels**.

For Slack, select a direct message or an allowed private channel. The selected Slack bot must already be invited to a private channel before it can post there.
