Zum Inhalt
Kaffeeundcode
n8n Flow-Bibliothek
n8n Workflow 13.10.2026

Flow Arbeitsbereich

Weather Alert

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

Workflow Diagramm

auto-generiert
graph LR
    N0(["⚡ Morning Trigger"])
    N1["🔧 OpenWeatherMap"]
    N2{"🔀 IF Rain"}
    N3[["📤 Telegram"]]
    N0 --> N1
    N1 --> N2
    N2 --> N3

    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 action
    class N2 logic
    class N3 action

47_Weather_Alert.json

{
    "name": "47_Weather_Alert",
    "nodes": [
        {
            "parameters": {
                "rule": {
                    "interval": [
                        {
                            "field": "hours",
                            "hoursInterval": 24
                        }
                    ]
                },
                "triggerAtHour": 7
            },
            "name": "Morning Trigger",
            "type": "n8n-nodes-base.scheduleTrigger",
            "typeVersion": 1,
            "position": [
                250,
                300
            ]
        },
        {
            "parameters": {
                "cityName": "Berlin",
                "language": "de"
            },
            "name": "OpenWeatherMap",
            "type": "n8n-nodes-base.openWeatherMap",
            "typeVersion": 1,
            "position": [
                450,
                300
            ]
        },
        {
            "parameters": {
                "conditions": {
                    "string": [
                        {
                            "value1": "={{$json[\"weather\"][0][\"main\"]}}",
                            "value2": "Rain"
                        }
                    ]
                }
            },
            "name": "IF Rain",
            "type": "n8n-nodes-base.if",
            "typeVersion": 1,
            "position": [
                650,
                300
            ]
        },
        {
            "parameters": {
                "chatId": "@my_channel",
                "text": "It's going to rain today! Bring an umbrella."
            },
            "name": "Telegram",
            "type": "n8n-nodes-base.telegram",
            "typeVersion": 1,
            "position": [
                850,
                200
            ]
        }
    ],
    "connections": {
        "Morning Trigger": {
            "main": [
                [
                    {
                        "node": "OpenWeatherMap",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "OpenWeatherMap": {
            "main": [
                [
                    {
                        "node": "IF Rain",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "IF Rain": {
            "main": [
                [
                    {
                        "node": "Telegram",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}