Back up Your Workflows to GitHub - n8n Workflow | Neura Market
Back up Your Workflows to GitHub
Based on [Jonathan's](https://n8n.io/creators/jon-n8n/) work. Check out his templates.
### How it works
This workflow will backup your workflows to GitHub. It uses the n8n API node to export all workflows.
It then loops over the data, checks in GitHub to see if a file exists that uses the credentials ID. Once checked, it will:
- Update the file on GitHub if it exists;
- Create a new file if it doesn't exist;
- Ignore if it's the same.
### Who is this for?
People wanting to backup their workflows outside the server for safety purposes or to migrate to another server.
### Check out my other templates
☀️ [**https://n8n.io/creators/solomon/**](https://n8n.io/creators/solomon/)
Platform
n8n
Category
Development & IT
Price
Free
Creator
Solomon
if
n8n
set
code
noOp
merge
github
switch
stickyNote
httpRequest
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.