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.
- Go to Microsoft Entra Admin Center (opens in a new tab)
- Navigate to Azure Active Directory
- Under Tenant Information, copy the Tenant ID (also called Directory ID)
Node Configuration
Field | Description | Example | Required |
---|---|---|---|
Credentials | Microsoft 365 credentials with access to OneDrive files | Credentials | Yes |
Drive Name | Name of the connected OneDrive drive | OneDrive | Yes |
Folder Path | Path within the drive to target. Use "." to sync all folders | . | Yes |
Globs (Path Patterns) | Glob pattern for matching files | ** | No |
Sync Mode | Controls how files are re-indexed: - full_refresh - incremental | incremental | Yes |
Sync Schedule | Schedule for automated syncs | Every 24 hours | No |
Search Scope | Scope of files to include: - ACCESSIBLE_DRIVES - SHARED_ITEMS - ALL | ALL | Yes |
Parsing Strategy | Strategy 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
Useincremental
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
orocr_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).