GitHub node
Merge node
+4

Restore backed up workflows from GitHub to n8n

Published 1 month ago

Created by

agentstudio
Agent Studio

Categories

Engineering
Building Blocks

Template description

Restore backed up workflows from GitHub to your n8n workspace.
This workflow was inspired by this one that lets you back up your n8n workflows to GitHub.
It will let you restore your backed up workflows in your workspace, without creating duplicates.
In case of issue with your instance, it will save you a lot of time to restore them.

How it works

  • It retrieves the workflows saved in a GitHub repository.
  • Then compares these saved workflows with the ones in your n8n workspace based on the name.
  • It will only create them if they don't already exist.

Set up steps

  1. Open the "Global" node and set your own information (see Configuration below)
  2. Click on "Test workflow"
  3. It will run through all the workflows in the GitHub repository, check if the name doesn't already exist in your workspace and, in this case, create it.

Configuration

  • repo.owner: your GitHub owner name
  • repo.name: your GitHub repository name
  • repo.path: the path within the GitHub repository

Share Template

Implement complex processes faster with n8n

red icon yellow icon red icon yellow icon