This workflow automates the process of backing up n8n workflows to a GitHub repository on a scheduled basis. It starts with a schedule trigger, retrieves all workflows from n8n, and processes each workflow to check if a backup file already exists in the GitHub repository. If a file exists, it updates the file; if not, it creates a new backup file. The workflows are stored in JSON format, encoded in base64 before uploading. The setup includes sticky notes for visual guidance and timestamped commit messages for version control. This automation ensures that your workflows are consistently backed up and versioned, ideal for maintaining workflow history and disaster recovery.
Automated Backup of n8n Workflows to GitHub
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | aggregate, convertToFile, extractFromFile, github, if, n8n, scheduleTrigger, set, stickyNote |
Reviews
There are no reviews yet.