Kaffeeundcode
n8n Flow-Bibliothek
n8n Workflow 01.06.2026

Flow Arbeitsbereich

GitHub Star Notifier

Flow prüfen, Nodes verstehen, JSON importieren und Credentials sauber anpassen.

Workflow Diagramm

auto-generiert
graph LR
    N0(["⚡ GitHub Trigger"])
    N1{"🔀 Is Star Event?"}
    N2[["📤 Notify Telegram"]]

    classDef trigger fill:#f59e0b,stroke:#b45309,color:#000
    classDef action fill:#292524,stroke:#44403c,color:#e7e5e4
    classDef logic fill:#1e1b4b,stroke:#4338ca,color:#c7d2fe
    class N0 trigger
    class N1 logic
    class N2 action

34_GitHub_Star_Notifier.json

{
    "name": "34_GitHub_Star_Notifier",
    "nodes": [
        {
            "parameters": {
                "httpMethod": "POST",
                "path": "github-webhook",
                "options": {}
            },
            "name": "GitHub Trigger",
            "type": "n8n-nodes-base.webhook",
            "typeVersion": 1,
            "position": [
                250,
                300
            ]
        },
        {
            "parameters": {
                "conditions": {
                    "string": [
                        {
                            "value1": "={{ $json.headers['x-github-event'] }}",
                            "operation": "equal",
                            "value2": "star"
                        }
                    ]
                }
            },
            "name": "Is Star Event?",
            "type": "n8n-nodes-base.if",
            "typeVersion": 1,
            "position": [
                450,
                300
            ]
        },
        {
            "parameters": {
                "chatId": "YOUR_CHAT_ID",
                "text": "=⭐ **New GitHub Star!**nn**Repo:** {{ $json.body.repository.full_name }}n**User:** {{ $json.body.sender.login }}",
                "additionalFields": {
                    "parse_mode": "Markdown"
                }
            },
            "name": "Notify Telegram",
            "type": "n8n-nodes-base.telegram",
            "typeVersion": 1,
            "position": [
                650,
                300
            ],
            "credentials": {
                "telegramApi": {
                    "id": "YOUR_TELEGRAM_ID",
                    "name": "Telegram Account"
                }
            }
        }
    ],
    "connections": {
        "GitHub Trigger": {
            "main": [
                [
                    {
                        "node": "Is Star Event",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Is Star Event": {
            "main": [
                [
                    {
                        "node": "Notify Telegram",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}