Restore your workflows from GitHub
Triggered manually or by an app event. Connects Extract From File, GitHub, HTTP request, N8N, Split Out. Restore from GitHub This workflow will restore all instance workflows from GitHub backups. Setup Open Globals node and update the values below 👇 - repo.owner: your Github username - repo.name: the name of your repository - repo.path: the folder to use within the repository. If your username was
Front matter
name: Restore your workflows from GitHub
description: Triggered manually or by an app event. Connects Extract From File, GitHub, HTTP request, N8N, Split Out. ## Restore from GitHub This workflow will restore all instance workflows from GitHub backups. ### Setup Open `Globals` node and update the values below 👇 - **repo.owner:** your Github username - **repo.name:** the name of your repository - **repo.path:** the folder to use within the repository. If your username was `john-doe` and your repository was called `n8n-backups` and you wanted the workflows to go into a `workflows` folder you would set: - repo.owner - john-doe - repo.name - n8n-ba
category: Automation
kind: Workflow
software: Extract From File|GitHub|HTTP request|N8N|Split OutRestore your workflows from GitHub
Triggered manually or by an app event. Connects Extract From File, GitHub, HTTP request, N8N, Split Out. ## Restore from GitHub This workflow will restore all instance workflows from GitHub backups.
Setup
Open Globals node and update the values below 👇
- repo.owner: your Github username
- repo.name: the name of your repository
- repo.path: the folder to use within the repository.
If your username was john-doe and your repository was called n8n-backups and you wanted the workflows to go into a workflows folder you would set:
- repo.owner - john-doe
- repo.name - n8n-ba
Steps
- When clicking ‘Test workflow’ (manualTrigger)
- Globals (set)
- Sticky Note (stickyNote)
- Sticky Note3 (stickyNote)
- Get all files in given path (httpRequest)
- Split the result (splitOut)
- Get file content from GitHub (github)
- Convert files to JSON (extractFromFile)
- Restore n8n Workflows (n8n)
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/Splitout/1760_Splitout_GitHub_Automate_Webhook.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
- Restore your credentials from GitHub
- [OPS] Restore workflows from GitHub to n8n
- Manualtrigger Workflow: GitHub, n8n and Code (n8n workflow collection) (481)
- Manualtrigger Workflow: GitHub, n8n and Code (n8n workflow collection) (493)
- Manualtrigger Workflow: GitHub, Code and Condition
- Backup workflows to git repository on Gitea
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.