Templates / Auto-backup n8n workflows to OneDrive with cleanup & email notifications

Auto-backup n8n workflows to OneDrive with cleanup & email notifications

Ready for 3.0

by Wessel Bulte ✓ · 1,469 views · created 2025-09-10 · DevOps

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-10-19.

What this workflow does

This workflow has 14 nodes and runs on a schedule (every day at 01:00). Along the way it connects Microsoft OneDrive and Microsoft Outlook.

How it runs

Trigger: On a schedule (every day at 01:00).

  1. Create new backup folder (Microsoft OneDrive): create (folder)
  2. Retrieve workflows (n8n): uses n8n
  3. Convert to JSON file (Convert to File): converts data to a file (to json)
  4. Upload JSON to folder (Microsoft OneDrive): uses Microsoft OneDrive
  5. Get backupfolders (Microsoft OneDrive): work with folder
  6. Filter backup folder (Code): runs custom JavaScript code
  7. Switch: routes items into 2 branches
  8. Merge: merges the data from its input branches
  9. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  10. Prepare HTML Email (Code): runs custom JavaScript code

…plus 3 more steps. See the full node list below.

Services it uses

Microsoft OneDriveMicrosoft Outlook

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

Automatically BackUp Your n8n Workflows to OneDrive This workflow automates the backup of your self-hosted n8n instance by exporting all workflows and saving them as individual .json files to a designated OneDrive folder. Each file is timestamped for easy…

Excerpt from Wessel Bulte'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.