Automated workflow backups to GitHub with PR creation & Slack notifications
Who is this for? This template is ideal for DevOps engineers, automation specialists, and n8n users who manage multiple workflows and want a reliable version control system for backups. It’s especially useful for teams collaborating via GitHub. What problem is this workflow solving? Manually backing up n8n workflows to GitHub can be time-consuming and error-prone. This workflow solves that by automating the backup of new and updated n8n workflows, ensuring your GitHub repository always reflects
At a glance
Automated workflow backups to GitHub with PR creation & Slack notifications is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Slack, GitHub. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- Slack, GitHub
- Modules
- 22
- Price
- Free
- Version
- v1.0

About this workflow
Who is this for? This template is ideal for DevOps engineers, automation specialists, and n8n users who manage multiple workflows and want a reliable version control system for backups. It’s especially useful for teams collaborating via GitHub. What problem is this workflow solving? Manually backing up n8n workflows to GitHub can be time-consuming and error-prone. This workflow solves that by automating the backup of new and updated n8n workflows, ensuring your GitHub repository always reflects the latest changes. What this workflow does - Retrieves all workflows from your local n8n instance. - Decodes their content and compares it with existing GitHub files. - Detects newly created or updated workflows. - Creates a new Git branch and commits changes. - Opens a pull request (PR) to the main branch. - Sends a Slack notification when the PR is created. The system uses GitHub API, n8n, Merge, Set, and Slack nodes for full automation. Setup 1. GitHub credentials: Add your GitHub API credentials in n8n. 2. Slack integration: Connect your Slack Bot token if you want PR notifications. 3. Repository details: Update githubowner, reponame, and workflow directory path in the “Define Local Variables” node. 4. n8n API key - Check this doc How to customize this workflow to your needs - Change the workflow directory from workflows/ to a custom path. - Modify the Slack message or add email notification support. - Add filters to back up only specific workflows based on naming or tags. - Adjust branch naming conventions or use different GitHub base branches. This workflow provides a seamless backup and versioning pipeline, minimizing manual Git interactions and supporting collaborative automation development.
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Save your daily Stripe balances to a database
Analyze LinkedIn content performance with OpenAI, Bright Data and NocoDB
Refresh Microsoft Power BI datasets automatically and send a message on Slack
Automate peer review assignments with Sonar Pro AI & multi-channel deadline reminders
Auto-update knowledge base with Drive, LlamaIndex & Azure OpenAI embeddings
Ai prompt generator workflow
Collect LinkedIn profiles with AI processing using SerpAPI, OpenAI, and NocoDB
Monitor workflow errors via n8n API with Gemini analysis and Telegram alerts
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you