n8n Workflow

Manage Changes Using The Git Node

This n8n workflow automates tasks and integrates with various services. Manage Changes Using The Git Node - ready to import and run in your n8n instance.

n8n workflow.json

About This Script

This n8n workflow automates tasks and integrates with various services. Manage Changes Using The Git Node - ready to import and run in your n8n instance.
Features:
  • Automates workflow tasks
  • Ready to import into n8n
  • Configurable parameters
Source Code
{
    "nodes": [
        {
            "name": "On clicking 'execute'",
            "type": "n8n-nodes-base.manualTrigger",
            "position": [
                230,
                320
            ],
            "parameters": [],
            "typeVersion": 1,
            "id": "64fd34ab-eb3b-4da5-8f6a-098ebb255f9e"
        },
        {
            "name": "Git",
            "type": "n8n-nodes-base.git",
            "position": [
                430,
                320
            ],
            "parameters": {
                "operation": "add",
                "pathsToAdd": "README.md"
            },
            "typeVersion": 1,
            "id": "1c07c3ff-5039-4bf2-bc40-1d4d86d6589b"
        },
        {
            "name": "Git1",
            "type": "n8n-nodes-base.git",
            "position": [
                630,
                320
            ],
            "parameters": {
                "message": "\u2728 First commit from n8n",
                "options": [],
                "operation": "commit",
                "repositoryPath": "={{$node[\"Git\"].parameter[\"repositoryPath\"]}}"
            },
            "typeVersion": 1,
            "id": "01eea5ad-c28b-42f2-af6d-7ed819ca6671"
        },
        {
            "name": "Git2",
            "type": "n8n-nodes-base.git",
            "position": [
                830,
                320
            ],
            "parameters": {
                "options": [],
                "repositoryPath": "={{$node[\"Git\"].parameter[\"repositoryPath\"]}}"
            },
            "typeVersion": 1,
            "id": "0bd1db3d-d2bf-46c5-99da-f9f8b9ef99b6"
        },
        {
            "name": "Git3",
            "type": "n8n-nodes-base.git",
            "position": [
                1030,
                320
            ],
            "parameters": {
                "options": [],
                "operation": "push",
                "repositoryPath": "={{$node[\"Git\"].parameter[\"repositoryPath\"]}}"
            },
            "executeOnce": false,
            "typeVersion": 1,
            "id": "a294acd9-6bd7-4ee5-81ba-f4e2c9b65664"
        }
    ],
    "connections": {
        "Git": {
            "main": [
                [
                    {
                        "node": "Git1",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Git1": {
            "main": [
                [
                    {
                        "node": "Git2",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Git2": {
            "main": [
                [
                    {
                        "node": "Git3",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "On clicking 'execute'": {
            "main": [
                [
                    {
                        "node": "Git",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    },
    "n8n_version": "1.5.0"
}
Requirements
n8n instance, API credentials for connected services
Tags
#n8n #automation #workflow
Quick Actions
More in n8n Workflows