This workflow takes off the task of backing up workflows regularly on Github and uses Google Drive as the main tool to host these.
This can be a good way to keep track of your workflows so that you never lose any workflows in case your n8n goes down.
How does it work
- Creates a new folder within a specified folder with the time its backed up
- Loops around all workflows, converts them to a JSON file and uploads them to the created folder
- Gets the previous backups and deletes them
This has a clean feel and look as it simplifies the backup while not keeping a cache of workflows on your drive.
Setup
- Create a new folder
- Create new service account credentials
- Share the folder with the
service account
email
- Upload this workflow to your canvas and map the credentials
- Set the schedule that you need your workflows to run and manage your backups
- Activate the workflow
Happy Productivity!
@Imperol