Developer & DevOps

Restore Workflows from GitHub Repository

9 nodes 290 160 Automatic trigger
Download

Workflow Description

An automation that retrieves workflow files stored in GitHub, parses configuration data, and restores them directly into n8n to resume operations without manual reconstruction. Ideal for disaster recovery and workflow versioning.

How it works

  1. 1.Trigger the automation manually to initiate the restoration process
  2. 2.Fetch workflow files from the specified GitHub repository
  3. 3.Extract and parse configuration data and workflow steps from files
  4. 4.Split workflows into processable components for detailed handling
  5. 5.Rebuild and activate the complete workflow within n8n automatically

Use cases

  • Quickly recover a deleted or broken workflow from a GitHub backup copy
  • Migrate workflows between different n8n accounts using stored configuration files
  • Manage multiple workflow versions and switch between them without manual intervention

Requirements

  • Valid access to a GitHub repository containing workflow backup files
  • Authenticated GitHub API credentials or token configured in n8n
  • Sufficient permissions in your n8n account to create and activate workflows

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

GitHub N8N

Details

Trigger Automatic trigger
Nodes 9
Apps 2
Views 290
Downloads 160

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (9)

When clicking ‘Test workflow’

Manual Trigger

#1

Globals

Set

#2

Sticky Note

Sticky Note

#3

Sticky Note3

Sticky Note

#4

Get all files in given path

HTTP Request

#5

Split the result

Split Out

#6

Get file content from GitHub

Github

#7

Convert files to JSON

Extract From File

#8

Restore n8n Workflows

N8N

#9