Sharepoint

How to sync SharePoint documents to Spara for AI training.

Spara syncs documents from your SharePoint Online sites and document libraries to train your AI agents. Synced documents are added to your Knowledge base, giving agents the context they need to answer questions about your products, policies, and processes.

Setup

1

Connect SharePoint

Navigate to Settings > Integrations and click Connect next to SharePoint. Complete the Microsoft OAuth flow to authorize Spara to access your SharePoint tenant.

2

Select documents

After connecting, use the file picker to browse your SharePoint sites, document libraries, and folders. Select the files and folders you want to sync. You can select entire folders to sync all supported files within them, including subfolders.

3

Documents sync automatically

Spara periodically syncs your selected documents and folders, picking up new files and changes automatically. Documents are processed and added to your Knowledge base.

Supported file types

File type
Supported

Word documents (.docx, .doc)

Yes

PDFs (.pdf)

Yes

Text files (.txt)

Yes

Excel (.xlsx, .xls)

No

PowerPoint (.pptx, .ppt)

No

Images, videos, audio

No

When you select a folder, Spara syncs all supported file types within it and its subfolders. Unsupported file types (like images or Excel files) are skipped automatically.

How syncing works

  • Periodic sync — Spara re-scans your selected folders on a regular interval to detect new, modified, and deleted files

  • Folder hierarchy — The folder structure from SharePoint is preserved in the Spara Knowledge UI for easy navigation

  • Deleted files — If a file is removed from SharePoint, it is automatically removed from your Knowledge base on the next sync

FAQ

Can I sync from multiple SharePoint sites?

Yes. The file picker shows all sites in your SharePoint tenant. You can select documents from any combination of sites and libraries.

How quickly do changes appear?

Document changes are picked up during the next periodic sync cycle. For immediate updates, you can trigger a manual sync from the Knowledge page.

Last updated