Templates / đź“‚ Automatically update stock portfolio from OneDrive to Excel

đź“‚ Automatically update stock portfolio from OneDrive to Excel

Ready for 3.0

by Louis ✓ · 7,737 views · created 2024-10-29 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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.

  1. Logs the update on sheet (Microsoft Excel 365): uses Microsoft Excel 365
  2. Gets the new file infos (Microsoft OneDrive): uses Microsoft OneDrive
  3. Downloads the new file (Microsoft OneDrive): uses Microsoft OneDrive
  4. Checks if it's CSV format (If): checks a condition and branches into true / false
  5. Extracts data from csv (Extract from File): extracts data from a file
  6. Not CSV (Stop and Error): stops the run with an error
  7. Cleans the output (Code): runs custom JavaScript code
  8. Prepares the fields to put in the excel table (Edit Fields (Set)): sets or maps fields
  9. Updates the excel table (Microsoft Excel 365): uses Microsoft Excel 365
  10. Microsoft OneDrive: uses Microsoft OneDrive

Services it uses

Microsoft OneDriveMicrosoft Excel 365

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)

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…

Excerpt from Louis's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.