Dynamischer GitHub-Workflow

Experte

Dies ist ein Engineering, DevOps, IT Ops-Bereich Automatisierungsworkflow mit 44 Nodes. Hauptsächlich werden N8n, Set, Code, Html, Github und andere Nodes verwendet. 🔄 Workflow Repos8r: GitHub-basierte Versionskontrolloberfläche für n8n-Workflows

Voraussetzungen
  • GitHub Personal Access Token
  • HTTP Webhook-Endpunkt (wird von n8n automatisch generiert)
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "19zAOGWLxA9g9epQ",
  "meta": {
    "instanceId": "ba3fa76a571c35110ef5f67e5099c9a5c1768ef125c2f3b804ba20de75248c0b",
    "templateCredsSetupCompleted": true
  },
  "name": "Dynamic GitHub Workflows",
  "tags": [
    {
      "id": "n7iHVPoDy5TG4oVr",
      "name": "utility",
      "createdAt": "2025-01-14T14:58:44.872Z",
      "updatedAt": "2025-01-14T14:58:44.872Z"
    }
  ],
  "nodes": [
    {
      "id": "077b5015-2b26-44ac-aac7-a868a7ab9647",
      "name": "n8n | get wf1",
      "type": "n8n-nodes-base.n8n",
      "position": [
        2240,
        1440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8b048484-3aba-4e7a-99f3-d11cd76a0fda",
      "name": "Mit UI antworten",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3820,
        760
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "2fb30621-c1fc-4e2c-bd80-5aa19e95e1fe",
      "name": "HTML-UI",
      "type": "n8n-nodes-base.html",
      "position": [
        3540,
        760
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "eb55c132-b001-463c-bca7-7e7850f3dffb",
      "name": "Webhook-ideogener8r",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1680,
        760
      ],
      "webhookId": "e892f1af-d192-40e1-9c27-7fda6539d911",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9f89ec58-5f63-4358-82a8-8ee5263f09c3",
      "name": "Haftnotiz7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "121f6666-7731-40e0-93a4-4599197305c2",
      "name": "Flows setzen",
      "type": "n8n-nodes-base.set",
      "position": [
        2920,
        760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "eb1a073b-8353-494c-9711-1bc40d1b0ee3",
      "name": "Aggregieren",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        3260,
        760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6b40c70a-3592-4ecf-9311-99bc39b9ff63",
      "name": "GitHub",
      "type": "n8n-nodes-base.github",
      "position": [
        2640,
        760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4b4e4846-cbb6-4ab0-aad4-d7de542568e1",
      "name": "submit-form",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1680,
        1900
      ],
      "webhookId": "d541171c-731e-4104-ac30-6a32f2c0af03",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "da4b75e6-1cf0-43d6-8994-9c920669f7a7",
      "name": "Auf Webhook antworten",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3820,
        1100
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "87a1185f-9f9f-401d-818c-b4f52e12dd82",
      "name": "GitHub2",
      "type": "n8n-nodes-base.github",
      "position": [
        2140,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3fb50870-df6a-4e0c-b9e8-c1f94e86728f",
      "name": "Git-Repo und Pfad3 setzen",
      "type": "n8n-nodes-base.set",
      "position": [
        1940,
        1100
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "85ed78b0-d257-4164-b8d1-753ebd1f2e3a",
      "name": "Aus Datei extrahieren",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        2360,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9ebe75fe-3e9c-4a28-8d83-1054d6c703fa",
      "name": "Git-Workflow-ID setzen",
      "type": "n8n-nodes-base.set",
      "position": [
        2640,
        1100
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a803bd8f-809b-4955-9e89-1586abcbf00c",
      "name": "n8n Workflow abrufen",
      "type": "n8n-nodes-base.n8n",
      "position": [
        2940,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a2f799b5-5325-4820-969f-be0949e563b8",
      "name": "n8n Workflow setzen",
      "type": "n8n-nodes-base.set",
      "position": [
        3260,
        1100
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "755eaa25-fb21-4df5-8cf9-36f4c530e5c9",
      "name": "ComapreNodes",
      "type": "n8n-nodes-base.code",
      "position": [
        3540,
        1100
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8d77291b-d517-4321-9c72-d0287fab1c52",
      "name": "Auf Webhook1 antworten",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3820,
        1760
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c610bcb1-04c7-4b79-9fca-dd7bc5ad68f4",
      "name": "Get-n8n-workflows",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1680,
        1440
      ],
      "webhookId": "e892f1af-d192-40e1-9c27-7fda6539d911",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9b71c203-6c9a-4798-ae9e-c6f1ff14d633",
      "name": "Auf Webhook2 antworten",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3820,
        1440
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ebbd2611-27e9-48c4-8224-6e18a59cf5c3",
      "name": "Workflow-Änderungen abrufen",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1680,
        1100
      ],
      "webhookId": "e892f1af-d192-40e1-9c27-7fda6539d911",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f768d245-9f92-4232-9b8f-381cb18e609c",
      "name": "Workflows setzen",
      "type": "n8n-nodes-base.set",
      "position": [
        2680,
        1440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3facd854-5d61-468f-8a2a-f230ebade3ac",
      "name": "Felder bearbeiten",
      "type": "n8n-nodes-base.set",
      "position": [
        3400,
        1440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "39f4fbb3-fc33-4f12-8aee-a85f4ebd3ed7",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        3020,
        1440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0bfa387a-0513-4239-af6f-6cde51d374db",
      "name": "Switch1",
      "type": "n8n-nodes-base.switch",
      "position": [
        2680,
        1900
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "33e97127-b0da-44d9-bcc4-43b033342c6d",
      "name": "Git-Repo und Pfad4 setzen",
      "type": "n8n-nodes-base.set",
      "position": [
        2220,
        1900
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "921bfed2-52c0-4da5-a208-34d445175fdb",
      "name": "n8n",
      "type": "n8n-nodes-base.n8n",
      "position": [
        3020,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6a92ecd5-aa28-4224-8700-b9cd7ee82904",
      "name": "Workflow-Bearbeitung committen",
      "type": "n8n-nodes-base.github",
      "position": [
        3400,
        1760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8f88c306-08df-4b8f-9c44-8936562901f3",
      "name": "n8n1",
      "type": "n8n-nodes-base.n8n",
      "position": [
        3020,
        1980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f15b37f4-a0c2-4c27-9b22-c586cd3636cd",
      "name": "Neue Datei committen",
      "type": "n8n-nodes-base.github",
      "position": [
        3400,
        1980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d766a2fd-b05d-4a9d-a5f9-53009c5e198b",
      "name": "Auf Webhook3 antworten",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3820,
        1980
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "712e2d80-f659-4d60-95c6-342883fc6eca",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        1000
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c569ff75-eb1b-4783-a65d-376069a43c50",
      "name": "Haftnotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        1340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d6d223d5-67dd-419c-9e88-9762c51ce692",
      "name": "Haftnotiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        1680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b705cb50-b982-4d0e-ac4c-32556128fe53",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1900,
        700
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ea518e3e-274a-4b1a-b0ed-06408457c77d",
      "name": "Haftnotiz4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1880,
        1060
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b8017298-cefd-4126-8959-4515e18fb163",
      "name": "Haftnotiz5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        1840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "22cc7d73-c424-4ea3-bacb-0526222b1f81",
      "name": "Haftnotiz6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1400,
        740
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b25d9672-28cb-4c26-ac4a-7d259352de17",
      "name": "Haftnotiz8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1400,
        1080
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "82b3e0c7-5a7c-4cda-acc8-dc9de63ce9a3",
      "name": "Haftnotiz9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1400,
        1420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d8bbf686-0173-4863-948d-c5cdb1dc1b76",
      "name": "Haftnotiz10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        1880
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "aa62e288-3628-40f6-ad38-54768d76dff9",
      "name": "Workflow-Variablen setzen",
      "type": "n8n-nodes-base.set",
      "position": [
        1940,
        760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "73986aeb-c311-4acf-9427-dcfe65d6bc34",
      "name": "Workflow-Vars",
      "type": "n8n-nodes-base.set",
      "position": [
        1960,
        1900
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a8c438f1-be8c-4461-b83c-ffdc612f2a04",
      "name": "Haftnotiz11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "24bded7d-e0f5-4c66-b64f-f6324a5a2d35",
  "connections": {
    "921bfed2-52c0-4da5-a208-34d445175fdb": {
      "main": [
        [
          {
            "node": "6a92ecd5-aa28-4224-8700-b9cd7ee82904",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8f88c306-08df-4b8f-9c44-8936562901f3": {
      "main": [
        [
          {
            "node": "f15b37f4-a0c2-4c27-9b22-c586cd3636cd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6b40c70a-3592-4ecf-9311-99bc39b9ff63": {
      "main": [
        [
          {
            "node": "121f6666-7731-40e0-93a4-4599197305c2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "87a1185f-9f9f-401d-818c-b4f52e12dd82": {
      "main": [
        [
          {
            "node": "85ed78b0-d257-4164-b8d1-753ebd1f2e3a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2fb30621-c1fc-4e2c-bd80-5aa19e95e1fe": {
      "main": [
        [
          {
            "node": "8b048484-3aba-4e7a-99f3-d11cd76a0fda",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0bfa387a-0513-4239-af6f-6cde51d374db": {
      "main": [
        [
          {
            "node": "921bfed2-52c0-4da5-a208-34d445175fdb",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "8f88c306-08df-4b8f-9c44-8936562901f3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eb1a073b-8353-494c-9711-1bc40d1b0ee3": {
      "main": [
        [
          {
            "node": "2fb30621-c1fc-4e2c-bd80-5aa19e95e1fe",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "121f6666-7731-40e0-93a4-4599197305c2": {
      "main": [
        [
          {
            "node": "eb1a073b-8353-494c-9711-1bc40d1b0ee3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "39f4fbb3-fc33-4f12-8aee-a85f4ebd3ed7": {
      "main": [
        [
          {
            "node": "3facd854-5d61-468f-8a2a-f230ebade3ac",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3facd854-5d61-468f-8a2a-f230ebade3ac": {
      "main": [
        [
          {
            "node": "9b71c203-6c9a-4798-ae9e-c6f1ff14d633",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4b4e4846-cbb6-4ab0-aad4-d7de542568e1": {
      "main": [
        [
          {
            "node": "73986aeb-c311-4acf-9427-dcfe65d6bc34",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "755eaa25-fb21-4df5-8cf9-36f4c530e5c9": {
      "main": [
        [
          {
            "node": "da4b75e6-1cf0-43d6-8994-9c920669f7a7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f768d245-9f92-4232-9b8f-381cb18e609c": {
      "main": [
        [
          {
            "node": "39f4fbb3-fc33-4f12-8aee-a85f4ebd3ed7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "73986aeb-c311-4acf-9427-dcfe65d6bc34": {
      "main": [
        [
          {
            "node": "33e97127-b0da-44d9-bcc4-43b033342c6d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "077b5015-2b26-44ac-aac7-a868a7ab9647": {
      "main": [
        [
          {
            "node": "f768d245-9f92-4232-9b8f-381cb18e609c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f15b37f4-a0c2-4c27-9b22-c586cd3636cd": {
      "main": [
        [
          {
            "node": "d766a2fd-b05d-4a9d-a5f9-53009c5e198b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a803bd8f-809b-4955-9e89-1586abcbf00c": {
      "main": [
        [
          {
            "node": "a2f799b5-5325-4820-969f-be0949e563b8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a2f799b5-5325-4820-969f-be0949e563b8": {
      "main": [
        [
          {
            "node": "755eaa25-fb21-4df5-8cf9-36f4c530e5c9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "85ed78b0-d257-4164-b8d1-753ebd1f2e3a": {
      "main": [
        [
          {
            "node": "9ebe75fe-3e9c-4a28-8d83-1054d6c703fa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c610bcb1-04c7-4b79-9fca-dd7bc5ad68f4": {
      "main": [
        [
          {
            "node": "077b5015-2b26-44ac-aac7-a868a7ab9647",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9ebe75fe-3e9c-4a28-8d83-1054d6c703fa": {
      "main": [
        [
          {
            "node": "a803bd8f-809b-4955-9e89-1586abcbf00c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "eb55c132-b001-463c-bca7-7e7850f3dffb": {
      "main": [
        [
          {
            "node": "aa62e288-3628-40f6-ad38-54768d76dff9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6a92ecd5-aa28-4224-8700-b9cd7ee82904": {
      "main": [
        [
          {
            "node": "8d77291b-d517-4321-9c72-d0287fab1c52",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ebbd2611-27e9-48c4-8224-6e18a59cf5c3": {
      "main": [
        [
          {
            "node": "3fb50870-df6a-4e0c-b9e8-c1f94e86728f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3fb50870-df6a-4e0c-b9e8-c1f94e86728f": {
      "main": [
        [
          {
            "node": "87a1185f-9f9f-401d-818c-b4f52e12dd82",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "33e97127-b0da-44d9-bcc4-43b033342c6d": {
      "main": [
        [
          {
            "node": "0bfa387a-0513-4239-af6f-6cde51d374db",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "aa62e288-3628-40f6-ad38-54768d76dff9": {
      "main": [
        [
          {
            "node": "6b40c70a-3592-4ecf-9311-99bc39b9ff63",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Experte - Engineering, DevOps, IT-Betrieb

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Experte
Anzahl der Nodes44
Kategorie3
Node-Typen11
Schwierigkeitsbeschreibung

Für fortgeschrittene Benutzer, komplexe Workflows mit 16+ Nodes

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34