This n8n workflow automates the process of backing up n8n workflow credentials to a GitHub repository on a scheduled basis. Triggered every 2 hours, it retrieves the current credentials, compares them with previous backups stored in GitHub, and updates or creates files accordingly. The process involves exporting credentials via n8n’s CLI, comparing JSON structures to identify changes, and managing files on GitHub through API calls. This setup ensures secure, versioned backups of sensitive credentials, ideal for maintaining consistency and security in automated workflows.
Automated Credentials Backup to GitHub
Node Count | >20 Nodes |
---|---|
Nodes Used | code, executeCommand, executeWorkflow, executeWorkflowTrigger, github, httpRequest, if, manualTrigger, merge, noOp, scheduleTrigger, set, splitInBatches, stickyNote, switch |
Reviews
There are no reviews yet.