Automated workflow backups from self-hosted n8n to Google Drive with version history
✅ What problem does this workflow solve? If you're using a self-hosted n8n instance, there's no built-in version history or undo for your workflows. If a workflow is accidentally modified or deleted, there's no way to...
Template notes
✅ What problem does this workflow solve?
If you're using a self-hosted n8n instance, there's no built-in version history or undo for your workflows. If a workflow is accidentally modified or deleted, there's no way to roll back. This backup workflow solves that problem by automatically syncing your workflows to Google Drive, giving you version control and peace of mind.
---
⚙️ What does this workflow do?
- ⏱ Runs on a set schedule (e.g., daily or every 12 hours). - 🔍 Fetches all workflows from your self-hosted n8n instance. - 🧠 Detects changes to avoid duplicate backups. - 📁 Creates a dedicated folder for each workflow in Google Drive. - 💾 Uploads new or updated workflow files in JSON format. - 🗃️ Keeps backup history organized by date. - 🔄 Allows for easy restore by importing backed-up JSON into n8n.
---
🔧 Setup Instructions
1. Google Drive Setup - Connect your Google Drive account using the Google Drive node in n8n. - Choose or create a root folder (e.g., n8n-workflow-backups) where backups will be stored.