Documentation Index
Fetch the complete documentation index at: https://docs.insitechat.ai/llms.txt
Use this file to discover all available pages before exploring further.
OneDrive
Connect your Microsoft OneDrive — personal or work/school account — and import any supported file with a single click. InsiteChat handles authentication via Microsoft Graph, file browsing, text extraction, and embedding generation. No copy-pasting, no manual uploads.Connect and Train in Three Steps
Connect OneDrive
Open your chatbot → Sources tab → Add source → choose OneDrive. Click Connect Microsoft account. You’ll be redirected to Microsoft to sign in and grant InsiteChat read-only access to your files.
Browse and select files
Navigate your OneDrive folders. Click any supported file to add it to your selection — pick one file or many. Folder browsing supports deep nesting, so files in any sub-folder are reachable.
We request the minimum scopes needed:
Files.Read.All, User.Read, and offline_access (to silently refresh tokens). InsiteChat never modifies, deletes, or shares your OneDrive files.Supported File Types
- Word —
.doc,.docx - Excel —
.xls,.xlsx,.csv - PowerPoint —
.ppt,.pptx - PDF —
.pdf - Plain text —
.txt,.rtf - Markdown —
.md - HTML —
.html,.htm
Key Features
Personal & work accounts
Works with consumer OneDrive and OneDrive for Business (Microsoft 365). Same flow, same scopes.
Microsoft Graph OAuth
Standard OAuth 2.0 via Microsoft Identity. Tokens auto-refresh in the background — no re-login surprises.
Browse nested folders
Click into any folder, any depth. The browser remembers where you were as you select files.
Re-sync anytime
When a document changes, re-import the source from the Sources tab to pull the latest version into your chatbot.
Token Refresh
Microsoft access tokens expire after roughly an hour. InsiteChat stores the refresh token (granted via theoffline_access scope) and silently swaps in a fresh access token whenever needed — you don’t have to reconnect periodically.
If your refresh token is revoked (e.g. you revoked the app’s permission in the Microsoft account portal, or your tenant admin pulled it), InsiteChat surfaces a Reconnect prompt on the source card and stops auto-syncing until you re-authorize.
