Automated n8n workflow backup system with Google Drive and archiving
[Click here to access this Workflow for free](https://www.bonzai.pro/auth?action=buyPrice%2CpriKlOK5247). --- Automatically save and archive your workflows  This workflow provides a fully auto...
Template notes
[Click here to access this Workflow for free](https://www.bonzai.pro/auth?action=buyPrice%2CpriKlOK5247).
---
Automatically save and archive your workflows 
This workflow provides a fully automated system for backing up your n8n workflows to Google Drive. It runs on a schedule (which you can customize) and saves each workflow as a .json file, named after the workflow itself. All active workflows are backed up by default and stored in a specified Google Drive folder of your choice.
A special feature of this workflow is its ability to archive and clean up old workflows. If you tag a workflow with ARCHIVE (case-sensitive), the workflow will be backed up into a designated Archive subfolder inside your main Google Drive folder — and then automatically deleted from your n8n instance. This keeps your workspace clean and reduces clutter while ensuring everything is safely stored.
Requirements
- A Google Drive account connected to n8n (via OAuth2 or preferred method) - An n8n instance with access to your workflows - A folder in Google Drive for storing backups - Inside this folder, create a subfolder named Archive - Folder IDs for both the main and archive folders (Find it in folder's URL e.g. https://drive.google.com/drive/u/0/folders/1F7Exr2xkZQFvmHmjdFD43K0jfd)
Setup