Effortlessly Secure Your n8n Workflows with Automated Backups to GitHub and Google Drive Ensure the safety and integrity of your n8n workflows with our seamless automation solution. This workflow backs up your n8n configurations by exporting them to JSON files, storing them safely on Google Drive, and maintaining an up-to-date version-controlled archive in a GitHub repository. You’ll receive immediate notifications via Gmail and Telegram whenever changes are detected, keeping you informed and in control. What this workflow does Scheduled Execution: Operates manually or on a weekly schedule every Sunday at 23:00 UTC. Workflow Export: Utilizes the n8n REST API to retrieve up to 250 workflows and processes them individually. Safe Storage: Converts each workflow to a base64 encoded JSON and stores it in a defined Google Drive folder. Change-Driven GitHub Updates: Checks for pre-existing files on GitHub, updating only when workflows have been modified or are new. Communications: Sends an HTML email and a Telegram message summarizing recent updates when detected. Use cases Automation Engineers: Automate the backup and version control of n8n workflows to prevent data loss and simplify workflow management. SaaS Operators: Ensure regular, systematic backups of valuable automation workflows, aiding compliance and operational continuity. n8n Users: Maintain an organized repository of workflows for easy sharing and collaboration via GitHub. Technical details Integrations/Nodes Used: Google Drive, GitHub, Gmail, Telegram, n8n REST API. Automation Tools: If, Code, Sticky Note nodes. Setup Requirements: n8n API Key, GitHub Personal Access Token, Google Drive OAuth. Streamline and safeguard your n8n workflow management today with this comprehensive automation setup — effortlessly mitigating data loss risks while optimizing workflow operations.