Sync GitHub n8n Workflows on PR Merge
Automates syncing n8n workflows from GitHub repo to n8n instance after pull request merges, eliminating manual imports.
This workflow triggers automatically when a GitHub pull request is closed and merged. It fetches the merge commit details, identifies added or modified workflow JSON files in the repository, downloads and decodes each file, then creates or updates the corresponding workflows in your n8n instance. This ensures seamless CI/CD integration for teams managing n8n automations via GitHub.
Ideal for developers, DevOps engineers, and automation managers, it solves the pain of manual workflow restoration post-merge, reducing errors and saving hours of repetitive work. Customize it to filter specific branches, file paths, or add notifications via Slack/email for successful imports.
Setup requires GitHub credentials (PAT with repo and admin:repo_hook scopes), n8n API credentials, and repository variables. Enable a GitHub webhook for pull_request events pointing to this workflow. Benefits include version-controlled workflows, instant deployment, and scalable team collaboration.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Content Repurposing Engine
8 hand-picked workflows for $29.00.
That is $3.63 each, vs $19.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
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.
Related Other - Miscellaneous workflows
- Shopify SEO Content Automation with GPT-4o & Claude Multi-Agent$27.99
- Monitor LinkedIn Competitor Engagement & Analysis with Bright Data & AI$24.99
- Manage Autopilot Contacts: Create List, Add, Update & Retrieve$9.99
- Gmail Attachment Backup to Google Drive$9.99
- Automate Tally Form: Airtable Storage & Slack Alerts$12.99
- Personalized Birthday AI Companion with GPT-4 & PostgreSQL$19.99
More from Jana Bakker
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.