Automated Backup of n8n Workflows to GitHub

somdn_product_page

This workflow automates the backup process of your n8n workflows by periodically exporting all workflows and securely storing them in a GitHub repository every 6 hours. It starts with a scheduled trigger that initiates the process, fetching all current workflows via an HTTP request. The workflows are then converted into binary data for storage purposes. The workflow checks if a backup file already exists in the GitHub repo; if it does, it updates the existing file, otherwise, it creates a new backup file. This ensures your automation workflows are continuously backed up, allowing easy version control, recovery, and collaboration. Ideal for keeping your automation environment safe, organized, and up-to-date without manual intervention.

Node Count

6 – 10 Nodes

Nodes Used

github, httpRequest, if, merge, moveBinaryData, scheduleTrigger, stickyNote

Reviews

There are no reviews yet.

Be the first to review “Automated Backup of n8n Workflows to GitHub”

Your email address will not be published. Required fields are marked *