JUHE API Marketplace

Automated Workflow Backups to Google Drive

Active

Automated Workflow Backups to Google Drive securely saves your n8n workflows daily, creating timestamped folders and storing them as JSON files. It retains only the most recent seven days of backups, ensuring efficient storage management. Notifications via Telegram keep you updated on backup completion, providing easy access to your data and protecting against accidental loss.

Workflow Overview

Automated Workflow Backups to Google Drive securely saves your n8n workflows daily, creating timestamped folders and storing them as JSON files. It retains only the most recent seven days of backups, ensuring efficient storage management. Notifications via Telegram keep you updated on backup completion, providing easy access to your data and protecting against accidental loss.

Who Should Use This Workflow

  • n8n Users: Individuals and teams using n8n for automation tasks looking for a reliable backup solution.
  • Data Administrators: Those responsible for managing and safeguarding workflow data and ensuring data integrity.
  • Small Business Owners: Entrepreneurs who want to automate backups of their workflows to prevent data loss and maintain business continuity.
  • Developers and Tech Enthusiasts: Anyone interested in automating tasks and improving their workflow management processes.

What Problem Does This Workflow Solve

  • Data Loss Prevention: It automates the backup of n8n workflows, ensuring that users do not lose critical workflow configurations.
  • Storage Management: The workflow intelligently manages storage by keeping only the most recent 7 days of backups, thus preventing clutter and optimizing space in Google Drive.
  • Time Efficiency: Automates the backup process, saving users time and effort that would otherwise be spent on manual backups.
  • Real-time Notifications: Provides immediate feedback via Telegram notifications, keeping users informed about the backup status and folder details.

Detailed Explanation of the Workflow Process

  1. Triggering the Workflow: The workflow can be initiated manually or scheduled to run daily using the Schedule Trigger node.
  2. Getting Current DateTime: The workflow retrieves the current date and time to create a timestamp for the backup folder.
  3. Creating Backup Folder: A new folder is created in Google Drive with the name format n8n-Workflow-Backups-YYYY-MM-DD to organize backups by date.
  4. Fetching Workflows: The workflow retrieves all existing workflows from the n8n instance, ensuring that the latest versions are backed up.
  5. Limiting Workflow Count: To optimize performance, the workflow limits the number of workflows fetched to 200.
  6. Converting Workflows to JSON: Each workflow is converted into a JSON file, making it easy to store and restore.
  7. Saving JSON Files: The JSON files are saved in the newly created Google Drive folder.
  8. Searching for Old Backup Folders: The workflow searches for existing backup folders to identify those that need to be deleted based on a retention policy.
  9. Deleting Old Folders: Folders older than 7 days are identified and deleted to free up space.
  10. Sending Notifications: After the backup process is complete, a notification is sent via Telegram with details about the backup, including the folder link.

Statistics

22
Nodes
0
Downloads
34
Views
10762
File Size

Quick Info

Categories
Communication & Messaging
Schedule Triggered
+1
Complexity
complex

Tags

advanced
noop
complex
sticky note
files
storage
schedule
schedule trigger
+9 more

Boost your workflows with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.