Backup workflows to GitHub
n8n template #1222Summary
Use templateNote: This workflow uses the internal API which is not official. This workflow might break in the future. The workflow executes every night at 23:59. You can configure a different time bin the Cron node. Configure the GitHub nodes with your username, repo name, and the file path. In the HTTP Request nodes (making a request to localhost:5678), create Basic Auth credentials with your n8n instance username and password.
How to set it up
- Open template #1222 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 workflows to GitHub" (https://n8n.io/workflows/1222). It uses: GitHub, HTTP Request. 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. Harshil Agrawal published it free on n8n.io as a verified creator, and it has 9,364 views. It runs on n8n Cloud or a self-hosted n8n instance.
GitHub. The other 1 node are built into n8n.
Similar workflows
NameViews
- Back Up Your n8n Workflows To Github80K
- Building RAG Chatbot for Movie Recommendations with Qdrant and Open AI31K
- AI Timesheet Generator with Gmail, Calendar & GitHub to Google Sheets20K
- Save your workflows into a GitHub repository10K
- Backup your credentials to GitHub10K
- Backup your workflows to GitHub8,978
- Create Character-Consistent Images with FLUX Kontext & Post to Social via Upload Post1,279
- Building Your First WhatsApp Chatbot332K