Kaffeeundcode
n8n Flow-Bibliothek
n8n Workflow 01.06.2026

Flow Arbeitsbereich

M365 Service Health

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

Workflow Diagramm

auto-generiert
graph LR
    N0(["⚡ 30m Check"])
    N1["🔧 Get Incidents"]
    N2["🔧 Notify Teams"]
    N0 --> N1
    N1 --> N2

    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 action

23_M365_Service_Health.json

{
    "name": "23_M365_Service_Health",
    "nodes": [
        {
            "parameters": {
                "rule": {
                    "interval": [
                        {
                            "field": "minutes",
                            "minutesInterval": 30
                        }
                    ]
                }
            },
            "name": "30m Check",
            "type": "n8n-nodes-base.schedule",
            "typeVersion": 1,
            "position": [
                250,
                300
            ]
        },
        {
            "parameters": {
                "authentication": "predefinedCredentialType",
                "nodeCredentialType": "microsoftGraphOAuth2Api",
                "requestMethod": "GET",
                "url": "https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/issues?$filter=startDateTime ge {{ $now.minus('30m').toISO() }}",
                "options": {}
            },
            "name": "Get Incidents",
            "type": "n8n-nodes-base.httpRequest",
            "typeVersion": 3,
            "position": [
                450,
                300
            ],
            "credentials": {
                "microsoftGraphOAuth2Api": {
                    "id": "YOUR_CREDENTIAL_ID",
                    "name": "Microsoft Graph Account"
                }
            }
        },
        {
            "parameters": {
                "resource": "chat",
                "message": "=🔴 **M365 Incident**n**Service:** {{ $json.service }}n**Title:** {{ $json.title }}n**Impact:** {{ $json.impactDescription }}"
            },
            "name": "Notify Teams",
            "type": "n8n-nodes-base.microsoftTeams",
            "typeVersion": 1,
            "position": [
                650,
                300
            ]
        }
    ],
    "connections": {
        "30m Check": {
            "main": [
                [
                    {
                        "node": "Get Incidents",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Get Incidents": {
            "main": [
                [
                    {
                        "node": "Notify Teams",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}