Restore backed up workflows from GitHub to n8n

Nodes

696173da-41ce-4099-af01-be2e2f7d5be1e6ae7503-2949-4cf6-8d11-9f146c34f723767a4dc9-a96d-4faf-8994-3ca756304676

Categories

Created by

AgAgent Studio

Last edited 56 days ago

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

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!