Skip to main content
Connect OneDrive to train your chatbot on documents from a personal OneDrive or a Microsoft 365 account.

Connect and sync

1

Open the connector

In your chatbot’s sidebar, open Files & Data SourcesAdd Files and choose OneDrive.
2

Authorize SiteGPT

Select Connect Account and sign in with Microsoft. SiteGPT requests read access and does not store your Microsoft credentials.
3

Pick files and sync

Select files and confirm with Sync Selected Files. Training status appears live in the list.

What syncs from OneDrive

  • Word, Excel, and PowerPoint files are converted to text automatically.
  • Other supported formats (PDF, TXT, CSV, and similar) are extracted like direct uploads.
  • Images, audio, and video are skipped.
  • Microsoft 365 Business shared libraries are supported when your account can open them.

Keeping it in sync

OneDrive files do not update in SiteGPT automatically. When a document changes, select it in Files & Data Sources and use Resync, or resync in bulk. To refresh from the command line or a cron job of your own, use the CLI: sitegpt knowledge documents resync --chatbot <chatbot-id> <document-id>.

Disconnecting

Remove SiteGPT from your Microsoft account’s app permissions (account.live.com/consent/Manage for personal accounts, or via your Microsoft 365 admin). Trained content stays in your chatbot until you delete it from the list.