Restore your credentials from GitHub
Triggered manually or by an app event. Connects Condition, Extract From File, GitHub, HTTP request, N8N, Split Out. Restore from GitHub This workflow will restore all instance credentials 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
Front matter
name: Restore your credentials from GitHub
description: Triggered manually or by an app event. Connects Condition, Extract From File, GitHub, HTTP request, N8N, Split Out. ## Restore from GitHub This workflow will restore all instance credentials 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 credentials to go into a `credentials` folder you would set: - repo.owner - john-doe - repo.name -
category: Automation
kind: Workflow
software: Condition|Extract From File|GitHub|HTTP request|N8N|Split OutRestore your credentials from GitHub
Triggered manually or by an app event. Connects Condition, Extract From File, GitHub, HTTP request, N8N, Split Out. ## Restore from GitHub This workflow will restore all instance credentials 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 credentials to go into a credentials folder you would set:
- repo.owner - john-doe
- repo.name -
Steps
- When clicking ‘Test workflow’ (manualTrigger)
- Sticky Note1 (stickyNote)
- Globals (set)
- Sticky Note4 (stickyNote)
- Sticky Note (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 Credentials (n8n)
- Check for skipped Credentials (if)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
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 workflows from GitHub
- [OPS] Restore workflows from GitHub to n8n
- Manualtrigger Workflow: GitHub, Code and Condition
- Manualtrigger Workflow: GitHub, n8n and Code (n8n workflow collection) (493)
- Manualtrigger Workflow: GitHub, n8n and Code (n8n workflow collection) (481)
- 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.