{
  "name": "Monitor data integrity and route severity-based alerts with GPT-4o, email and Slack",
  "nodes": [
    {
      "id": "c74626fd-8824-418e-8296-5ea7f7397791",
      "name": "Schedule Data Integrity Check",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -448,
        288
      ]
    },
    {
      "id": "2365a95d-a84e-49fa-92b7-60009a3b49fe",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -224,
        288
      ]
    },
    {
      "id": "d98adc00-af2b-47ce-89f1-af26f52fba68",
      "name": "Fetch Software Metrics",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        192
      ]
    },
    {
      "id": "905249ca-c017-43aa-85b2-707e2af14517",
      "name": "Fetch BI Dashboard Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        384
      ]
    },
    {
      "id": "0e636a03-812c-4307-bfd3-24435d60abb4",
      "name": "Merge Data Sources",
      "type": "n8n-nodes-base.code",
      "position": [
        224,
        288
      ]
    },
    {
      "id": "1265483a-c584-47c9-bb9d-5fa3c5d8b97d",
      "name": "OpenAI Model - Data Validation",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        456,
        512
      ]
    },
    {
      "id": "262668b0-74c1-4da0-8658-a66730e1d08a",
      "name": "Validation Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        704,
        512
      ]
    },
    {
      "id": "6c94a73c-ed6b-4e91-b852-f94387e411a3",
      "name": "Data Validation Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        448,
        288
      ]
    },
    {
      "id": "f15be92f-e155-4157-9add-43040deb9d3f",
      "name": "Check for Anomalies",
      "type": "n8n-nodes-base.if",
      "position": [
        800,
        288
      ]
    },
    {
      "id": "cfc91152-1c98-4926-9599-ec895c670904",
      "name": "OpenAI Model - Orchestration",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1032,
        512
      ]
    },
    {
      "id": "ba9dbaac-395a-4670-9280-13af5379bbf0",
      "name": "Orchestration Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1160,
        512
      ]
    },
    {
      "id": "e69755c9-2996-49fb-83e0-01ab0daa29c9",
      "name": "Orchestration Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1024,
        288
      ]
    },
    {
      "id": "b5ca6335-0778-44b5-9fc0-69f5d1440b64",
      "name": "Route by Severity",
      "type": "n8n-nodes-base.switch",
      "position": [
        1376,
        272
      ]
    },
    {
      "id": "48608800-94ed-4b84-8b0e-baa5f2fbbfe1",
      "name": "Send Critical Alert Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1824,
        176
      ]
    },
    {
      "id": "75030d6e-5ecb-4d92-85de-8a302d7100e5",
      "name": "Send Critical Slack Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        1824,
        368
      ]
    },
    {
      "id": "9f2b8037-b261-46ed-9ba3-390217763569",
      "name": "Send High Priority Slack Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        1824,
        752
      ]
    },
    {
      "id": "3e425569-929f-43ca-967d-afc938eafa78",
      "name": "Prepare Executive Report",
      "type": "n8n-nodes-base.set",
      "position": [
        1536,
        576
      ]
    },
    {
      "id": "5cd4c527-719a-45c9-af40-851215d39d12",
      "name": "Send Executive Report",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1824,
        560
      ]
    },
    {
      "id": "42d21581-aa7c-40e1-a5c5-f55b7fd77779",
      "name": "Log Compliance Audit Trail",
      "type": "n8n-nodes-base.code",
      "position": [
        2048,
        288
      ]
    },
    {
      "id": "c5fd76b7-7e1c-498c-9396-11a41035004f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        752,
        -320
      ],
      "parameters": {
        "width": 608,
        "height": 352,
        "content": "## Prerequisites\nOpenAI or Nvidia API credentials for AI-powered analysis, API access to software metrics platforms\n## Use Cases\nSaaS platforms monitoring service health metrics, e-commerce businesses"
      }
    },
    {
      "id": "b28afeb9-0dd2-4c1a-8dfa-9d34f8091cae",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        -336
      ],
      "parameters": {
        "width": 448,
        "height": 352,
        "content": "## Setup Steps\n1. Configure Schedule Data Integrity Check trigger with monitoring frequency\n2. Connect Workflow Configuration node with data source parameters\n3. Set up Fetch Software Metrics and Fetc"
      }
    },
    {
      "id": "1266b91f-f6ab-4e0c-ad6e-97fedc372d0b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        -288
      ],
      "parameters": {
        "width": 704,
        "height": 288,
        "content": "## How It Works\nThis workflow automates continuous data integrity monitoring and intelligent alert management across multiple data sources. Designed for data engineers, IT operations teams, and busine"
      }
    },
    {
      "id": "38989ff0-5c6e-437a-a494-961a8bce2cba",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -512,
        80
      ],
      "parameters": {
        "width": 896,
        "height": 544,
        "content": "## Multi-Source Data Collection\n**What:** Fetches and merges data from software metrics APIs and BI dashboard sources on scheduled intervals\n**Why:** Ensures comprehensive monitoring coverage by combi"
      }
    },
    {
      "id": "b29b03fa-367d-4ce9-ab2e-6389f5d6f565",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        80
      ],
      "parameters": {
        "width": 1216,
        "height": 896,
        "content": "## Severity-Based Alert Routing\n**What:** Routes alerts through severity-specific channels with tailored messaging for critical, high-priority, and standard notifications\n**Why:** Ensures urgent issue"
      }
    },
    {
      "id": "8e8723fe-7105-417f-ac7c-128a1243d5ac",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        80
      ],
      "parameters": {
        "width": 544,
        "height": 720,
        "content": "## AI-Powered Anomaly Detection\n**What:** Processes merged data through dual AI agents for validation and intelligent orchestration of anomaly findings\n**Why:** Leverages AI to detect subtle patterns "
      }
    }
  ],
  "connections": {
    "Route by Severity": {
      "main": [
        [
          {
            "node": "Send Critical Alert Email",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Critical Slack Alert",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send High Priority Slack Alert",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Prepare Executive Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Data Sources": {
      "main": [
        [
          {
            "node": "Data Validation Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for Anomalies": {
      "main": [
        [
          {
            "node": "Orchestration Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Orchestration Agent": {
      "main": [
        [
          {
            "node": "Route by Severity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data Validation Agent": {
      "main": [
        [
          {
            "node": "Check for Anomalies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Executive Report": {
      "main": [
        [
          {
            "node": "Log Compliance Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Software Metrics": {
      "main": [
        [
          {
            "node": "Merge Data Sources",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Fetch Software Metrics",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch BI Dashboard Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch BI Dashboard Data": {
      "main": [
        [
          {
            "node": "Merge Data Sources",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Executive Report": {
      "main": [
        [
          {
            "node": "Send Executive Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validation Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Data Validation Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Send Critical Alert Email": {
      "main": [
        [
          {
            "node": "Log Compliance Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Critical Slack Alert": {
      "main": [
        [
          {
            "node": "Log Compliance Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Orchestration Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Orchestration Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Orchestration": {
      "ai_languageModel": [
        [
          {
            "node": "Orchestration Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Data Integrity Check": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Data Validation": {
      "ai_languageModel": [
        [
          {
            "node": "Data Validation Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Send High Priority Slack Alert": {
      "main": [
        [
          {
            "node": "Log Compliance Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}