Save your workflows into a GitHub repository
n8n template #817Summary
Use templateBasics Provides a mechanism to save all your workflows into a github repository and path (of your choosing). These can then be shared through your entire org and used to track changes (if you make any sad 'oopsies'. Flow Obtains and creates listing of currently configured workflows. Iterates through each workflow looking at the following Github source (if present) Actual workflow code (from N8N) Workflow code is sorted and compared for any changes If changed (or new) the workflows are saved / archived into github. Configuration Most of the configuration is done in the Globals node which houses the repo detail for github nodes. The only other dependency is that it by default looks for a GitHu
How to set it up
- Open template #817 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 "Save your workflows into a GitHub repository" (https://n8n.io/workflows/817). 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. Brian Burnett published it free on n8n.io, and it has 10K 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
- Backup your credentials to GitHub10K
- Backup workflows to GitHub9,364
- 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