đź“‚ Automatically update stock portfolio from OneDrive to Excel
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs on Microsoft OneDrive events. Along the way it connects Microsoft OneDrive and Microsoft Excel 365.
How it runs
Trigger: On Microsoft OneDrive events.
- Logs the update on sheet (Microsoft Excel 365): uses Microsoft Excel 365
- Gets the new file infos (Microsoft OneDrive): uses Microsoft OneDrive
- Downloads the new file (Microsoft OneDrive): uses Microsoft OneDrive
- Checks if it's CSV format (If): checks a condition and branches into true / false
- Extracts data from csv (Extract from File): extracts data from a file
- Not CSV (Stop and Error): stops the run with an error
- Cleans the output (Code): runs custom JavaScript code
- Prepares the fields to put in the excel table (Edit Fields (Set)): sets or maps fields
- Updates the excel table (Microsoft Excel 365): uses Microsoft Excel 365
- Microsoft OneDrive: uses Microsoft OneDrive
Services it uses
Other Microsoft OneDrive + Microsoft Excel templates (6)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Microsoft OneDrive Trigger
n8n-nodes-base.microsoftOneDriveTrigger - Stop and Error
n8n-nodes-base.stopAndError - Extract from File
n8n-nodes-base.extractFromFile - Microsoft OneDrive
n8n-nodes-base.microsoftOneDrive - Code
n8n-nodes-base.code - No Operation, do nothing
n8n-nodes-base.noOp - Microsoft Excel 365
n8n-nodes-base.microsoftExcel - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set
From the author
Seamlessly Sync and Update Data from a csv in OneDrive to Excel with n8n This workflow is perfect for users who need a reliable, automated way to transfer and organize data from OneDrive into Excel—especially for tasks like portfolio tracking, inventory…