n8n-nodes-evraz-sharepoint
v0.2.20
Published
n8n community node for SharePoint integration - manage files and folders
Maintainers
Readme
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 installDevelopment
Start n8n with automatic node reload:
npm run devThe node will be available at http://localhost:5678
Building
Compile TypeScript to JavaScript:
npm run buildOutput 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 exportsUsage
- 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
