Content: 01815.zip (42.14 KB)
Uploaded: 12.01.2026

Positive responses: 0
Negative responses: 0

Sold: 0
Refunds: 0

$7
# Automatically update and restore n8n workflows on GitHub pull request merge

This automation synchronizes n8n workflows with a GitHub repository, enabling seamless deployment of changes after a pull request is merged. Designed for teams practicing GitOps for workflow management.

## Who it´s for
- n8n developers managing workflow versions via Git.
- DevOps engineers automating deployment of automations.
- Teams using a GitOps approach to centrally manage n8n workflows.

## What the automation does
- Triggers on a GitHub pull request merge event.
- Verifies the PR status to confirm it was merged.
- Fetches the list of changed files and filters for .json workflow files.
- Retrieves file content from Git and decodes it.
- Creates or updates the corresponding workflow in n8n via its API.

## What´s included
- Ready-to-use workflow for n8n + GitHub automation.
- Trigger and handler logic based on webhook.
- Integrations with GitHub API and n8n HTTP API.
- Basic text instructions for setup and adaptation.

## Requirements for setup
- Access to an n8n instance with API enabled.
- A GitHub repository with read access and webhook permissions.
- GitHub personal access token and n8n API key.

## Benefits and outcomes
- Eliminates manual copying of workflows to production.
- Reduces risk of errors during deployment.
- Enables fast recovery of configurations after failures.
- Supports GitOps practices and code reviews for automations.
- Centralized storage and management of workflows.

## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet