n8n-nodes-microsoft-excel-sharepoint
v1.0.2
Published
n8n community node for Microsoft Excel with full SharePoint Site and Document Library support
Maintainers
Readme
n8n-nodes-microsoft-excel-sharepoint
An n8n community node that extends Microsoft Excel support to include files stored in SharePoint, in addition to OneDrive.
The built-in n8n Microsoft Excel node only surfaces OneDrive files in its workbook selector. This node solves that by letting you choose between OneDrive and SharePoint as the file source, with cascading dropdowns to navigate Site → Document Library → Workbook.
Features
- OneDrive + SharePoint support — toggle between sources in a single node
- Cascading SharePoint selectors — Site → Document Library → Workbook dropdowns populate dynamically based on your selections
- 7 operations — Append Row, Update Row, Read Rows, Lookup, Clear Range, Clear Table, Delete Row
- Named table support — all row operations work against Excel named tables
- Automatic Column Mapping — dynamic schema detection allows you to automap fields or manually map columns dynamically
- Pagination handled automatically — large tables are fetched across multiple pages
Operations
| Operation | Description | |---|---| | Append Row | Add a new row to a named table (uses dynamic column mapping) | | Update Row | Update all rows where a column matches a value (uses dynamic column mapping) | | Read Rows | Read rows from a table or a worksheet range | | Lookup | Return rows where a column matches a value | | Clear Range | Clear cell contents (text only) from an A1-notation range | | Clear Table | Delete all data rows from a table (wipes the table cleanly, resetting it to 0 data rows) | | Delete Row | Delete rows where a column matches a value |
Prerequisites
Azure App Registration
You need a Microsoft Azure app registration with the following delegated API permissions:
| Permission | Reason |
|---|---|
| Files.ReadWrite.All | Read and write Excel files in OneDrive and SharePoint |
| Sites.Read.All | List SharePoint sites and document libraries |
| offline_access | Allow token refresh without re-authentication |
The redirect URI for your app registration should be set to your n8n OAuth callback URL:
https://<your-n8n-domain>/rest/oauth2-credential/callbackInstallation
In n8n (self-hosted or cloud)
- Go to Settings → Community Nodes
- Click Install
- Enter
n8n-nodes-microsoft-excel-sharepoint - Click Install
Restart n8n if prompted.
Setup
1. Create a Credential
- In n8n, go to Credentials → New Credential
- Search for Microsoft Excel SharePoint OAuth2
- Enter your Azure app's Client ID and Client Secret
- Click Connect to complete the OAuth2 flow — you'll be redirected to Microsoft to sign in
2. Add the Node to a Workflow
Search for Microsoft Excel (SharePoint) in the node picker.
3. Configure the Node
For SharePoint files:
- Set Workbook Source to
SharePoint - Select your SharePoint Site from the dropdown
- Select the Document Library within that site
- Select the Workbook (.xlsx file)
- Select the Worksheet and Table
For OneDrive files:
- Set Workbook Source to
OneDrive - Select the Workbook from your OneDrive
- Select the Worksheet and Table
Example: Append a Row to a SharePoint Excel Table
Node configuration:
- Operation:
Append Row - Workbook Source:
SharePoint - Site:
My Team Site - Document Library:
Documents - Workbook:
Tracker.xlsx - Worksheet:
Sheet1 - Table:
DataTable - Columns to Map (Mapping Mode:
Map Each Field Below):Name→{{ $json.name }}Status→ActiveDate→{{ $now.toISODate() }}
Compatibility
- n8n
>=1.0.0 - Microsoft Graph API
v1.0 - Requires Microsoft 365 account with access to the target SharePoint site
License
MIT
