# Files and documents (/docs/en/files)

You can attach files to records. You can also import documents from Google Drive, OneDrive and SharePoint so that Sotto can find and read them in chat.

## Attach files to a record [#attach-files-to-a-record]

Use the **Files** panel on the overview tab of deals, companies and people (admins can add it to other objects with the layout editor).

- **Upload:** Drag and drop files onto the panel, or select **Upload**. Up to 25 MB per file and 1 GB in total per person.
- **Add from…:** Find and attach a file from the Google Drive or OneDrive you connected. OneDrive also lists SharePoint documents shared with you. The file is not copied; only a link is attached.

Each row shows the name, who attached it, the date and the size, with an icon for where it came from. Selecting the name downloads an uploaded file, or opens a linked file in a new tab.

Removing a file asks for confirmation. Uploaded files are deleted; files in connected apps stay where they are. Only people who can edit the record see the attach and remove actions.

## Import documents [#import-documents]

Connect Google Drive, OneDrive or SharePoint in **Settings › Integrations**, then use **Choose scope** to enter what Sotto should read.

| Service | Unit to read |
| --- | --- |
| Google Drive | Folder / shared drive |
| OneDrive | Folder |
| SharePoint | Document library (whole sites are not imported) |

SharePoint document libraries are read through the OneDrive connection of the person who entered the scope, so connect OneDrive as well. For Microsoft connections, see [Microsoft 365](/docs/en/microsoft-365).

- **How often:** Every 15 minutes. The first run reads everything in scope; later runs read only files that changed.
- **Formats turned into text:** Google Docs, presentations and spreadsheets (first sheet), PDF, and Word, PowerPoint and Excel files. Files over 10 MB and unreadable formats are imported by name and location only. Files themselves are not copied.
- **Removed files:** Files deleted from, or moved out of, the scope are dropped from the import.
- **Linked records:** Files attached to a record are linked to that record. Documents whose folder or file name mentions a company are linked to that company.

On the integrations screen, each scope shows its last import, whether it is waiting, and why it stopped (no connection, not found, no permission, and so on).

## Who can see imported documents [#who-can-see-imported-documents]

Documents in a scope saved on the integrations screen can be read by everyone in the workspace. Leave folders with documents you don't want to share out of the scope.

Notion can be connected and its scope saved, but its documents are not imported yet.