Developer & DevOps

Restore Workflows from GitHub to n8n

17 nodes 297 156 Automatic trigger
Download

Workflow Description

An automation that extracts saved workflow files from a GitHub repository and restores them directly in n8n, providing a reliable backup mechanism and rapid recovery for critical processes.

How it works

  1. 1.Trigger the automation manually or via GitHub webhook
  2. 2.Fetch workflow files stored in the repository
  3. 3.Validate and parse workflow file structure
  4. 4.Import the workflow into n8n as an active process

Use cases

  • Recover accidentally deleted workflows without rebuilding
  • Share documented workflows across team members
  • Maintain organized backups in version control

Requirements

  • Active GitHub account with repository access permissions
  • Active n8n account with API integration enabled

Service Value

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

Apps Used

GitHub N8N

Details

Trigger Automatic trigger
Nodes 17
Apps 2
Views 297
Downloads 156

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 (17)

/

On clicking 'execute'

Manual Trigger

#1

Globals

Set

#2

Note

Sticky Note

#3

Workflow name already exists

No Op

#4

If workflow already exists

If

#5

Set n8n existing workflows names

Set

#6

GitHub - get all files

Github

#7

n8n - get all workflows

N8N

#8

GitHub - get each file

Github

#9

Set name and content

Set

#10

n8n - create workflow

N8N

#11

Note1

Sticky Note

#12

Merge globals and files

Merge

#13

Merge Github and n8n workflows - Keep only non existing workflows based on the name

Merge

#14

Note2

Sticky Note

#15

Note3

Sticky Note

#16

Note4

Sticky Note

#17