Restore your workflows from GitHub with this automated n8n workflow. Easily retrieve and restore all your instance workflows from GitHub backups by simply updating your repository details. This streamlined process saves time and ensures your workflows are always up-to-date and accessible.
This workflow addresses the challenge of restoring n8n workflows from GitHub backups, ensuring that users can recover their automation configurations easily and avoid data loss. By automating the retrieval and restoration process, it saves time and reduces the risk of manual errors during recovery.
Globals
node defines essential parameters such as repo.owner
, repo.name
, and repo.path
, which specify the GitHub repository details.Get all files in given path
node.Split the result
node separates the file paths for further processing.Get file content from GitHub
node retrieves the content using the GitHub API.Convert files to JSON
node transforms the file content into JSON format for easy manipulation.Restore n8n Workflows
node takes the JSON data and creates new workflows in the n8n instance, effectively restoring the previous configurations.Globals
node to set their own GitHub username, repository name, and path to the workflows.Get file content from GitHub
node to specify different GitHub repositories or file types if necessary.