Package Information
Released: 3 mo ago
Downloads: 240 weekly / 240 monthly
Latest Version: 0.2.20
Author: Evraz
Documentation
n8n SharePoint Node
Custom n8n node for SharePoint file management integration. Enables workflows to list files, upload, download, and manage folders in SharePoint similar to the standard S3 node functionality.
Features
- List Files - Get files and folders from SharePoint locations
- Upload File - Upload files to SharePoint
- Download File - Download files from SharePoint
- Delete File - Remove files or folders
- Copy File - Copy files between locations
- Move File - Move files to different folders
Installation
cd components
npm install
Development
Start n8n with automatic node reload:
npm run dev
The node will be available at http://localhost:5678
Building
Compile TypeScript to JavaScript:
npm run build
Output is placed in the dist/ folder.
Structure
components/
├── nodes/SharepointFileManager/
│ ├── SharepointFileManager.node.ts # Main node implementation
│ ├── GenericFunctions.ts # Helper functions
│ └── types.ts # TypeScript interfaces
├── credentials/
│ └── SharepointApi.credentials.ts # Authentication setup
├── icons/
│ └── evraz.svg # Node icon
└── index.ts # Package exports
Usage
- Create a new workflow in n8n
- Add the "SharePoint File Manager" node
- Configure credentials (Site URL, authentication type)
- Select operation (list, upload, download, delete, copy, move)
- Configure operation parameters
- Execute workflow
API Reference
Uses Microsoft Graph API v2.0 for SharePoint operations.
Key endpoints:
GET /me/drive/root/children- List filesPUT /me/drive/root:/{path}:/content- Upload fileGET /me/drive/root:/{path}:/content- Download fileDELETE /me/drive/root:/{path}:- Delete filePOST /me/drive/root:/{path}:/copy- Copy filePATCH /me/drive/root:/{path}:- Move file
Authentication
The node supports three authentication methods:
- OAuth 2.0 (recommended)
- Basic Auth
- API Key
Notes
- Requires SharePoint Online access
- File paths use forward slashes (e.g.,
/Shared Documents/folder/file.pdf) - Large file uploads may require chunked upload API