Docs
OneDrive

OneDrive Business Integration

This node lets you connect your OneDrive Business account to Lamatic for automated document syncing, parsing, and downstream AI workflows. It supports scheduled syncing, file pattern filtering, and incremental refresh — making it ideal for document intelligence and RAG use cases.


Setup Credentials

Provide your Microsoft 365 Tenant ID. This is required to authenticate your organization's SharePoint instance.

Node Configuration

FieldDescriptionExampleRequired
CredentialsMicrosoft 365 credentials with access to OneDrive filesCredentialsYes
Drive NameName of the connected OneDrive driveOneDriveYes
Folder PathPath within the drive to target.
Use "." to sync all folders
.Yes
Globs (Path Patterns)Glob pattern for matching files**No
Sync ModeControls how files are re-indexed:
- full_refresh
- incremental
incrementalYes
Sync ScheduleSchedule for automated syncsEvery 24 hoursNo
Search ScopeScope of files to include:
- ACCESSIBLE_DRIVES
- SHARED_ITEMS
- ALL
ALLYes
Parsing StrategyStrategy for extracting content:
- fast, ocr_only, `hi_r

Features

Key Functionalities

  • Scheduled Syncing
    Keep your OneDrive content up to date with automated refreshes.

  • Selective Sync
    Use folder paths and glob patterns to precisely control which files are included.

  • AI-Ready Pipeline
    All synced documents are automatically parsed and vectorized for search, summarization, and question answering.


Benefits

  • Automated RAG Workflow
    Seamlessly brings structured and unstructured documents into Lamatic pipelines.

  • Granular File Selection
    Define exact inclusion rules using globs, scopes, and folder paths.

  • Performance Optimized
    Use incremental sync mode and day-based filtering to avoid unnecessary reprocessing.


Example Use Case

Use this node to automatically sync the following types of files from your organization's OneDrive into Lamatic:

  • âś… Business documents (e.g., reports, contracts, spreadsheets)
  • âś… Internal wikis and knowledge bases
  • âś… Legal and compliance-related files
  • âś… Team-shared folders across departments

These documents can then be used for:

  • 🔍 Semantic search
  • âť“ Question answering (Q&A)
  • 📝 Document summarization

Tips

  • Make sure your Microsoft account has appropriate OneDrive API permissions to access the selected files and drives.
  • For scanned PDFs or images, prefer using hi_res or ocr_only parsing strategies for better text extraction.
  • Optimize sync schedules using cron expressions to avoid unnecessary load (e.g., sync every night or every 6 hours).

Was this page useful?

Questions? We're here to help

Subscribe to updates