AACFlow

SharePoint Connector

Sync documents from Microsoft SharePoint into your knowledge base

The SharePoint connector synchronizes supported text files from SharePoint document libraries via Microsoft Graph API.

Authentication

OAuth — requires scopes:

  • Sites.Read.All
  • Files.Read.All

Configuration

FieldTypeRequiredDescription
Site URLInputYesSharePoint site URL
Folder PathInputNoSpecific document library path
Max FilesInputNoLimit files

Supported File Types

.txt, .md, .html, .htm, .csv, .json, .xml, .yaml, .yml, .log, .rst, .tsv

Size Limit

10 MB per file.

How It Works

  1. Site Resolution — Resolves SharePoint site URL to site ID
  2. Folder Traversal — Lists folders recursively with pagination state cursor
  3. File Filtering — Filters for supported text extensions
  4. Content Fetching — Downloads file content; converts HTML to plain text
  5. Content Deferred — Stubs during listing; full content on demand

Pagination State

Cursor encodes: {folderStack[], currentFolder, pageUrl} for seamless recursive traversal across sync runs.

Metadata Tags

TagTypeDescription
PathTextDocument path in SharePoint
Last ModifiedDateLast modification time
Created DateDateCreation date
Created ByTextOriginal creator
File SizeNumberFile size in bytes

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started