Backup your workflows to GitHub
n8n template #2652Summary
Use templateBased on Jonathan's 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 credential's 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/
How to set it up
- Open template #2652 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create a credential under Credentials β Add credential: GitHub. Then open each of those nodes and pick the credential.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- Toggle the workflow to Active so its trigger runs on its own.
Hand off to your agent
Prompt
Help me set up the n8n workflow "Backup your workflows to GitHub" (https://n8n.io/workflows/2652). It uses: GitHub, HTTP Request, Code. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Questions
Yes. Solomon published it free on n8n.io as a verified creator, and it has 8,978 views. It runs on n8n Cloud or a self-hosted n8n instance.
GitHub. The other 2 nodes are built into n8n.
Similar workflows
NameViews
- Back Up Your n8n Workflows To Github80K
- AI Timesheet Generator with Gmail, Calendar & GitHub to Google Sheets20K
- Backup your credentials to GitHub10K
- Generate AI Viral Videos with Seedance and Upload to TikTok, YouTube & Instagram215K
- β¨π€Automate Multi-Platform Social Media Content Creation with AI205K
- Fully Automated AI Video Generation & Multi-Platform Publishing191K
- Scrape business emails from Google Maps without the use of any third party APIs150K
- Build Your First AI Data Analyst Chatbot134K