[OPS] Restore workflows from GitHub to n8n
Triggered manually or by an app event. Connects Condition, GitHub, N8N, Stop And Error. Workflow - Restore Backups This workflow will restore backed-up workflows from Github. It is launch by testing the workflow Setup Open Globals and update the values below repo.owner: This is your Github username repo.name: This is the name of your repository repo.path: This is the folder where your workflows ar
Front matter
name: [OPS] Restore workflows from GitHub to n8n
description: Triggered manually or by an app event. Connects Condition, GitHub, N8N, Stop And Error. ## Workflow - Restore Backups This workflow will restore backed-up workflows from Github. It is launch by testing the workflow ### Setup Open Globals and update the values below **repo.owner:** This is your Github username **repo.name:** This is the name of your repository **repo.path:** This is the folder where your workflows are saved, within the repository. If your username was `n8n-io` and your repository was called `n8n-backups` and you wanted the workflows to go into a `workflows` folde
category: Automation
kind: Workflow
software: Condition|GitHub|N8N|Stop And Error[OPS] Restore workflows from GitHub to n8n
Triggered manually or by an app event. Connects Condition, GitHub, N8N, Stop And Error. ## Workflow - Restore Backups This workflow will restore backed-up workflows from Github. It is launch by testing the workflow
Setup
Open Globals and update the values below repo.owner: This is your Github username repo.name: This is the name of your repository repo.path: This is the folder where your workflows are saved, within the repository.
If your username was n8n-io and your repository was called n8n-backups and you wanted the workflows to go into a workflows folde
Steps
- On clicking 'execute' (manualTrigger)
- Globals (set)
- Note (stickyNote)
- Workflow name already exists (noOp)
- If workflow already exists (if)
- Set n8n existing workflows names (set)
- GitHub - get all files (github)
- n8n - get all workflows (n8n)
- GitHub - get each file (github)
- Set name and content (set)
- n8n - create workflow (n8n)
- Note1 (stickyNote)
- Merge globals and files (merge)
- Merge Github and n8n workflows - Keep only non existing workflows based on the name (merge)
- Note2 (stickyNote)
- Note3 (stickyNote)
- Note4 (stickyNote)
- Error Handler (stopAndError)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source: https://github.com/Zie619/n8n-workflows/blob/main/Github/1988_GitHub_Manual_Automate_Triggered.md
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.