AutomationMart
Home/Browse/Sync GitHub workflows to n8n after pull request merges
n8n

Sync GitHub workflows to n8n after pull request merges

n8nn8n13 modulesv1.0
filtergithubgithubTriggerhttpRequestn8nsetsplitOut

Who is this for? This template is ideal for developers, DevOps engineers, and automation managers who manage their n8n workflows using GitHub. It helps teams streamline their CI/CD automation by syncing changes from GitHub directly into n8n after a pull request (PR) is merged. What problem is this workflow solving? Manually restoring workflows after reviewing and merging code in GitHub can be tedious and error-prone. This workflow solves that by automating the restore process, ensuring that any

At a glance

Sync GitHub workflows to n8n after pull request merges is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects filter, github, githubTrigger, httpRequest. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
filter, github, githubTrigger, httpRequest, n8n, set
Modules
13
Price
Free
Version
v1.0
Sync GitHub workflows to n8n after pull request merges workflow diagram

About this workflow

Who is this for? This template is ideal for developers, DevOps engineers, and automation managers who manage their n8n workflows using GitHub. It helps teams streamline their CI/CD automation by syncing changes from GitHub directly into n8n after a pull request (PR) is merged. What problem is this workflow solving? Manually restoring workflows after reviewing and merging code in GitHub can be tedious and error-prone. This workflow solves that by automating the restore process, ensuring that any new or updated workflow committed to your GitHub repo is automatically imported into your n8n environment. What this workflow does - Triggers when a GitHub pull request is closed and merged. - Fetches the details of the merge commit. - Retrieves the list of added and modified workflow files. - Downloads and decodes each workflow file. - Creates or updates the corresponding workflow in your n8n instance automatically. Setup 1. Connect GitHub: Use the GitHub Trigger node and configure GitHub API credentials. Note: I'd recommended to use GitHub PAT (Personal Access Token) classic with repo and admin:repohook permission scopes enabled. 2. Connect n8n API: Provide your n8n API credentials in the n8n nodes. - Check this doc 3. Set repository variables: Update githubowner and reponame in the Define Local Variables node. 4. Enable webhook: Make sure your GitHub repository has a webhook for pullrequest events pointing to this workflow. How to customize this workflow to your needs - Modify filters to handle only certain branches or file paths. - Add Slack or email notifications to confirm successful imports. - Insert logging or version tagging for better traceability. - Extend with conditional logic for workflow testing before applying changes. This automated flow provides a seamless CI/CD loop between GitHub and n8n, empowering teams to manage workflow versioning efficiently and securely.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 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

AI resume screening with GPT-4o & error handling | Google Sheets & Drive flow

GPT-4o Resume Screener with Error Handling - Google Sheets & Drive Pipeline How it works Enterprise-grade resume screening automation built for production environments. This workflow combines intelligent AI analysis with comprehensive error handling to ensure reliable processing of candidate applications. Every potential failure point is monitored with automatic recovery and notification systems. Core workflow steps: 1. Intelligent Email Processing - Monitors Gmail with attachment validation and

Free

AI resume processing and GitHub analysis with VLM run

Automatically transform resume submissions into comprehensive candidate profiles with AI-powered parsing, GitHub analysis, and instant team notifications. What this workflow does 1. Monitors Gmail for incoming resume attachments 2. Extracts structured data using VLM Run AI document parsing 3. Analyzes GitHub profiles with deep repository intelligence (30+ frameworks detected) 4. Creates comprehensive candidate profiles with technical skills assessment 5. Delivers multi-channel notifications via

Free

Generate invoices, save to Drive and send email to customer with JS + G Sheets

This workflow automates invoice generation from form submissions, ensuring unique order IDs, creating PDF invoices, storing files, emailing customers, and logging invoice data — all seamlessly integrated. --- 🔹 Workflow Overview 1. Trigger (Webhook) Starts when an order form is submitted, capturing customer and order details. 2. Generate Random Order ID A Function node creates a unique alphanumeric invoice ID (e.g., INV-X92B7D). 3. Check for Duplicate Order ID Goog

Free

Reliable Reddit subreddit search with OAuth2 API authentication

Since the Get Many Subreddit node often blocks requests because Reddit requires proper authentication headers, this workflow provides a reliable alternative. It uses the Reddit OAuth2 API through the HTTP Request node, processes the results, and outputs cleaned subreddit data. If you are using Get Many subreddit node and you are getting this error: n8n You've been blocked by network security.To continue, log in to your Reddit account or use your developer token Usecase: This is especially useful

Free

AI-powered Telegram task assistant with Notion integration

This workflow creates a powerful AI assistant in Telegram that helps you manage your tasks in Notion. The assistant leverages OpenAI's language models to understand natural language commands, process voice messages, and maintain context through conversations. Key features: - Processes both text and voice messages in Telegram - Transcribes voice messages automatically - Maintains conversation context with memory - Manages Notion tasks through a custom tool: • List all tasks • Add new tasks with

Free

Angie, personal AI assistant with Telegram voice and text

How it works: This project creates a personal AI assistant named Angie that operates through Telegram. Angie can summarize daily emails, look up calendar entries, remind users of upcoming tasks, and retrieve contact information. The assistant can interact with users via both voice and text inputs. Step-by-step: Telegram Trigger: The workflow starts with a Telegram trigger that listens for incoming message events. The system determines if the incoming message is voice or text. If voic

Free

Get Binance spot market financial analysis via Telegram with GPT-4o

This workflow powers the Binance Spot Market Quant AI Agent, acting as the Financial Market Analyst. It fuses real-time market structure data (price, volume, kline) with multiple timeframe technical indicators (15m, 1h, 4h, 1d) and returns a structured trading outlook—perfect for intraday and swing traders who want actionable analysis in Telegram. 🔗 Requires the following sub-workflows to function: • Binance SM 15min Indicators Tool • Binance SM 1hour Indicators Tool • Binance SM 4hour Indicator

Free

Personal portfolio CV Rag chatbot - with conversation store and email summary

Personal Portfolio CV Rag Chatbot - with Conversation Store and Email Summary Target Audience This template is perfect for: Individuals looking to create a working professional and interactive personal portfolio chatbot. Developers interested in integrating RAG Chatbot functionality with conversation storage. 1. Description Create a stunning Personal Portfolio CV with integrated RAG Chatbot capabilities, including conversation storage and daily email summaries. 2.Features: Training: Setup Inges

Free

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.

Log in to review
Free
No ratings yet

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.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free