{
  "id": "xesH0cHww5EwPzvl",
  "name": "AI-driven semiconductor reliability monitoring and alert workflow",
  "tags": [],
  "nodes": [
    {
      "id": "26d77ed3-06a4-4d47-af67-656e66e58d58",
      "name": "Scheduled Capacity Check",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        224,
        496
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 15
            }
          ]
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "dd2506b7-68e7-4b1b-a7cb-73890b7c0aa3",
      "name": "Real-time Capacity Alert",
      "type": "n8n-nodes-base.webhook",
      "position": [
        448,
        688
      ],
      "parameters": {
        "path": "capacity-alert",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 2.1
    },
    {
      "id": "2e86e738-f951-4db5-920c-c84e26005f62",
      "name": "Fetch Utilization Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        448,
        496
      ],
      "parameters": {
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "2b3e2970-eadf-495b-9986-98d9f4377427",
      "name": "Prepare Capacity Data",
      "type": "n8n-nodes-base.set",
      "position": [
        704,
        496
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "id-1",
              "name": "bedUtilization",
              "type": "number",
              "value": "={{ $json.bed_occupied / $json.bed_total * 100 }}"
            },
            {
              "id": "id-2",
              "name": "staffUtilization",
              "type": "number",
              "value": "={{ $json.staff_active / $json.staff_required * 100 }}"
            },
            {
              "id": "id-3",
              "name": "equipmentUtilization",
              "type": "number",
              "value": "={{ $json.equipment_in_use / $json.equipment_available * 100 }}"
            },
            {
              "id": "id-4",
              "name": "department",
              "type": "string",
              "value": "={{ $json.department }}"
            },
            {
              "id": "id-5",
              "name": "timestamp",
              "type": "string",
              "value": "={{ $json.timestamp || $now }}"
            },
            {
              "id": "id-6",
              "name": "rawData",
              "type": "object",
              "value": "={{ JSON.stringify($json) }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "b0ee0d5c-27a5-4e46-b832-d74cafa00d00",
      "name": "Supervisor Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2112,
        496
      ],
      "parameters": {
        "text": "={{ $json.rawData }}",
        "options": {
          "systemMessage": "You are a Healthcare Capacity Management Supervisor. Coordinate specialized sub-agents to analyze bed, staff, and equipment utilization data. Delegate tasks to: Capacity Intelligence Agent (analyzes utilization signals), Operations Agent (orchestrates load-balancing recommendations), Escalation Agent (manages protocols), and Reporting Agent (generates reports). CRITICAL: You must NEVER authorize autonomous resource reallocation. All resource changes require human approval. Analyze the capacity data and coordinate appropriate responses."
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 3.1
    },
    {
      "id": "e49efe01-d5ee-4639-9670-f243d91a3c5e",
      "name": "Supervisor Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        928,
        720
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "id",
          "value": "gpt-4o"
        },
        "options": {
          "temperature": 0.2
        },
        "builtInTools": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "8eb2bf59-2aea-43d6-80df-9a73668d740f",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2864,
        720
      ],
      "parameters": {
        "schemaType": "manual",
        "inputSchema": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"analysis\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"recommendations\": {\n\t\t\t\"type\": \"array\",\n\t\t\t\"items\": {\n\t\t\t\t\"type\": \"string\"\n\t\t\t}\n\t\t},\n\t\t\"escalationRequired\": {\n\t\t\t\"type\": \"boolean\"\n\t\t},\n\t\t\"severity\": {\n\t\t\t\"type\": \"string\",\n\t\t\t\"enum\": [\"normal\", \"warning\", \"critical\"]\n\t\t},\n\t\t\"requiresHumanApproval\": {\n\t\t\t\"type\": \"boolean\"\n\t\t}\n\t},\n\t\"required\": [\"analysis\", \"recommendations\", \"escalationRequired\", \"severity\"]\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "f541f48e-7363-4ac5-bf0a-d1d16ad449f4",
      "name": "Capacity Intelligence Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1056,
        720
      ],
      "parameters": {
        "text": "={{ $fromAI('utilizationData', 'The capacity utilization data to analyze') }}",
        "options": {
          "systemMessage": "You are a Capacity Intelligence Agent specializing in healthcare resource analysis. Analyze bed, staff, and equipment utilization data. Calculate utilization rates, identify bottlenecks, detect anomalies, and provide insights on capacity constraints. Focus on data-driven analysis without making operational decisions."
        },
        "toolDescription": "Analyzes structured bed, staff, and equipment utilization signals. Calculates utilization percentages, identifies capacity constraints, detects trends, and provides data-driven insights on resource availability."
      },
      "typeVersion": 3
    },
    {
      "id": "1d201ab9-1718-4e28-b28b-a1301d8c3337",
      "name": "Capacity Intelligence Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1136,
        928
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "id",
          "value": "gpt-4o"
        },
        "options": {
          "temperature": 0.1
        },
        "builtInTools": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "fb556c80-be9e-4176-afdd-db6fe765cf9e",
      "name": "Operations Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1344,
        720
      ],
      "parameters": {
        "text": "={{ $fromAI('capacityAnalysis', 'The capacity analysis results to base operations recommendations on') }}",
        "options": {
          "systemMessage": "You are an Operations Agent for healthcare capacity management. Based on capacity intelligence, orchestrate load-balancing recommendations, suggest operational protocols, and provide strategic guidance. CRITICAL CONSTRAINT: You CANNOT and MUST NOT authorize autonomous resource reallocation. All resource changes require human approval. Focus on recommendations and protocols only."
        },
        "toolDescription": "Orchestrates load-balancing recommendations and operational protocols. Provides strategic guidance on capacity optimization, workflow adjustments, and resource distribution strategies. CANNOT authorize autonomous resource reallocation."
      },
      "typeVersion": 3
    },
    {
      "id": "107d9d9d-52a9-4f26-8b2f-ae3fa18b2897",
      "name": "Operations Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1344,
        928
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "id",
          "value": "gpt-4o"
        },
        "options": {
          "temperature": 0.2
        },
        "builtInTools": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "55e31ddd-6c46-4c0b-a987-e939777d51b0",
      "name": "Escalation Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1728,
        720
      ],
      "parameters": {
        "text": "={{ $fromAI('situation', 'The capacity situation requiring escalation assessment') }}",
        "options": {
          "systemMessage": "You are an Escalation Agent for healthcare capacity management. Evaluate capacity situations and determine appropriate escalation protocols. Define escalation severity (normal, warning, critical), identify stakeholders to notify, and specify communication channels. Always flag situations requiring human approval for resource changes."
        },
        "toolDescription": "Manages escalation protocols based on capacity severity levels. Determines when to escalate to department heads, administrators, or emergency response teams. Triggers appropriate notification channels."
      },
      "typeVersion": 3
    },
    {
      "id": "3e2f4cde-1e77-4c93-93c4-2a216fa2b481",
      "name": "Escalation Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1840,
        928
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "id",
          "value": "gpt-4o"
        },
        "options": {
          "temperature": 0.1
        },
        "builtInTools": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "ce64251a-7a7c-4d34-b103-932259f93c0c",
      "name": "Reporting Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        2016,
        720
      ],
      "parameters": {
        "text": "={{ $fromAI('reportData', 'The data and analysis to include in the operational report') }}",
        "options": {
          "systemMessage": "You are a Reporting Agent for healthcare capacity management. Generate comprehensive operational reports that summarize capacity intelligence findings, operational recommendations, escalation decisions, and required actions. Format reports clearly for different stakeholder audiences (executives, department heads, operations teams). Include key metrics, trends, and actionable insights."
        },
        "toolDescription": "Generates comprehensive operational reports summarizing capacity analysis, recommendations, and actions taken. Creates formatted reports for stakeholders including executives, department heads, and operations teams."
      },
      "typeVersion": 3
    },
    {
      "id": "9194abcc-6c8c-4112-80fa-9f969a86813b",
      "name": "Reporting Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2128,
        928
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "id",
          "value": "gpt-4o"
        },
        "options": {
          "temperature": 0.3
        },
        "builtInTools": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "7c8d7cca-93e7-42ab-b4b0-b501465033aa",
      "name": "Calculator Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        2304,
        720
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f2de83b7-d0df-4e42-8b63-5460ccdaa5f4",
      "name": "Code Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        2432,
        720
      ],
      "parameters": {
        "description": "Execute custom capacity analysis algorithms including trend detection, anomaly identification, and predictive modeling for resource utilization."
      },
      "typeVersion": 1.3
    },
    {
      "id": "b253b9fd-91c2-4a0c-8663-e1cd479fae96",
      "name": "Store Capacity History",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        3296,
        496
      ],
      "parameters": {
        "columns": {
          "value": null,
          "mappingMode": "autoMapInputData"
        },
        "options": {},
        "dataTableId": {
          "__rl": true,
          "mode": "id",
          "value": "<__PLACEHOLDER_VALUE__capacity_history_table__>"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "743f3fee-ac84-4dc1-9a13-5b8d50b83313",
      "name": "Prepare History Data",
      "type": "n8n-nodes-base.set",
      "position": [
        3072,
        496
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "id-1",
              "name": "timestamp",
              "type": "string",
              "value": "={{ $now }}"
            },
            {
              "id": "id-2",
              "name": "bedUtilization",
              "type": "number",
              "value": "={{ $json.bedUtilization }}"
            },
            {
              "id": "id-3",
              "name": "staffUtilization",
              "type": "number",
              "value": "={{ $json.staffUtilization }}"
            },
            {
              "id": "id-4",
              "name": "equipmentUtilization",
              "type": "number",
              "value": "={{ $json.equipmentUtilization }}"
            },
            {
              "id": "id-5",
              "name": "department",
              "type": "string",
              "value": "={{ $json.department }}"
            },
            {
              "id": "id-6",
              "name": "analysis",
              "type": "string",
              "value": "={{ $json.analysis }}"
            },
            {
              "id": "id-7",
              "name": "severity",
              "type": "string",
              "value": "={{ $json.severity }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "b34de345-d6f6-4e27-928c-bdb4590e4560",
      "name": "Historical Data Tool",
      "type": "n8n-nodes-base.dataTableTool",
      "position": [
        2560,
        720
      ],
      "parameters": {
        "operation": "get",
        "dataTableId": {
          "__rl": true,
          "mode": "id",
          "value": "<__PLACEHOLDER_VALUE__capacity_history_table__>"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "34a42d79-d9d7-41b3-a2f2-1f7a818130e3",
      "name": "Route by Severity",
      "type": "n8n-nodes-base.switch",
      "position": [
        3520,
        480
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "conditions": {
                "options": {
                  "leftValue": "",
                  "caseSensitive": true
                },
                "combinator": "and",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.severity }}",
                    "rightValue": "critical"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "leftValue": "",
                  "caseSensitive": true
                },
                "combinator": "and",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.severity }}",
                    "rightValue": "warning"
                  }
                ]
              }
            },
            {
              "conditions": {
                "options": {
                  "leftValue": "",
                  "caseSensitive": true
                },
                "combinator": "and",
                "conditions": [
                  {
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.severity }}",
                    "rightValue": "normal"
                  }
                ]
              }
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.4
    },
    {
      "id": "4ef38309-5ed8-4aa3-9efc-f4d7b8af22b1",
      "name": "Slack Alert Tool",
      "type": "n8n-nodes-base.slackTool",
      "position": [
        2688,
        720
      ],
      "parameters": {
        "text": "={{ $fromAI('message', 'The alert message to send', 'string') }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $fromAI('channel', 'The Slack channel ID to send the alert to', 'string') }}"
        },
        "otherOptions": {},
        "authentication": "oAuth2",
        "descriptionType": "manual",
        "toolDescription": "Send capacity alerts and escalation notifications to Slack channels when thresholds are exceeded."
      },
      "credentials": {
        "slackOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.4
    },
    {
      "id": "5d471a0c-016d-4dfd-9688-c175c0b971db",
      "name": "Email Approval Tool",
      "type": "n8n-nodes-base.emailSendHitlTool",
      "position": [
        1552,
        928
      ],
      "parameters": {
        "message": "={{ $fromAI('approvalRequest', 'Detailed approval request message', 'string') }}",
        "options": {},
        "subject": "={{ $fromAI('subject', 'Email subject describing the approval request', 'string') }}",
        "toEmail": "={{ $fromAI('approver', 'Email address of the approver for resource reallocation', 'string') }}",
        "fromEmail": "<__PLACEHOLDER_VALUE__operations_email__>"
      },
      "typeVersion": 2.1
    },
    {
      "id": "755f10f5-3ad8-4476-9584-8316ded7e02d",
      "name": "Send Critical Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        3824,
        464
      ],
      "parameters": {
        "text": "=\ud83d\udea8 CRITICAL CAPACITY ALERT\n\nDepartment: {{ $json.department }}\nBed Utilization: {{ $json.bedUtilization }}%\nStaff Utilization: {{ $json.staffUtilization }}%\nEquipment Utilization: {{ $json.equipmentUtilization }}%\n\nAnalysis: {{ $json.analysis }}\n\nRecommendations:\n{{ $json.recommendations.join('\\n') }}\n\n\u26a0\ufe0f Human approval required for resource reallocation",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "id",
          "value": "<__PLACEHOLDER_VALUE__critical_alerts_channel__>"
        },
        "otherOptions": {},
        "authentication": "oAuth2"
      },
      "credentials": {
        "slackOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.4
    },
    {
      "id": "198c1cfa-ad6e-47ba-a614-b9d7996d3aa1",
      "name": "Send Warning Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        3824,
        656
      ],
      "parameters": {
        "text": "=\u26a0\ufe0f CAPACITY WARNING\n\nDepartment: {{ $json.department }}\nBed Utilization: {{ $json.bedUtilization }}%\nStaff Utilization: {{ $json.staffUtilization }}%\nEquipment Utilization: {{ $json.equipmentUtilization }}%\n\nAnalysis: {{ $json.analysis }}\n\nRecommendations:\n{{ $json.recommendations.join('\\n') }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "id",
          "value": "<__PLACEHOLDER_VALUE__warning_alerts_channel__>"
        },
        "otherOptions": {},
        "authentication": "oAuth2"
      },
      "credentials": {
        "slackOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.4
    },
    {
      "id": "6e1a3a75-6099-4528-8470-bbb6c789822b",
      "name": "Send Operations Report",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        4272,
        560
      ],
      "parameters": {
        "html": "=HEALTHCARE CAPACITY OPERATIONS REPORT\n\nGenerated: {{ $now.toFormat('yyyy-MM-dd HH:mm:ss') }}\n\n=== CAPACITY ANALYSIS ===\n{{ $json.analysis }}\n\n=== RECOMMENDATIONS ===\n{{ $json.recommendations.join('\\n') }}\n\n=== SEVERITY LEVEL ===\n{{ $json.severity.toUpperCase() }}\n\n=== ESCALATION STATUS ===\nEscalation Required: {{ $json.escalationRequired ? 'YES' : 'NO' }}\nHuman Approval Required: {{ $json.requiresHumanApproval ? 'YES' : 'NO' }}\n\nThis is an automated report from the Healthcare Capacity Intelligence System.",
        "options": {},
        "subject": "=Healthcare Capacity Operations Report - {{ $now.toFormat('yyyy-MM-dd HH:mm') }}",
        "toEmail": "<__PLACEHOLDER_VALUE__operations_team_email__>",
        "fromEmail": "<__PLACEHOLDER_VALUE__operations_email__>"
      },
      "typeVersion": 2.1
    },
    {
      "id": "37bd21a7-935d-4e7a-80ae-ff096734931a",
      "name": "Log to Operations Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        4272,
        752
      ],
      "parameters": {
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "9cdbfcd9-7966-4b30-bfbc-1cdae3c8b88d",
      "name": "Format Report Data",
      "type": "n8n-nodes-base.set",
      "position": [
        3824,
        848
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "id-1",
              "name": "reportTimestamp",
              "type": "string",
              "value": "={{ $now.toISO() }}"
            },
            {
              "id": "id-2",
              "name": "department",
              "type": "string",
              "value": "={{ $json.department }}"
            },
            {
              "id": "id-3",
              "name": "bedUtilization",
              "type": "number",
              "value": "={{ $json.bedUtilization }}"
            },
            {
              "id": "id-4",
              "name": "staffUtilization",
              "type": "number",
              "value": "={{ $json.staffUtilization }}"
            },
            {
              "id": "id-5",
              "name": "equipmentUtilization",
              "type": "number",
              "value": "={{ $json.equipmentUtilization }}"
            },
            {
              "id": "id-6",
              "name": "severity",
              "type": "string",
              "value": "={{ $json.severity }}"
            },
            {
              "id": "id-7",
              "name": "analysis",
              "type": "string",
              "value": "={{ $json.analysis }}"
            },
            {
              "id": "id-8",
              "name": "recommendations",
              "type": "string",
              "value": "={{ $json.recommendations.join('; ') }}"
            },
            {
              "id": "id-9",
              "name": "escalationRequired",
              "type": "boolean",
              "value": "={{ $json.escalationRequired }}"
            },
            {
              "id": "id-10",
              "name": "requiresHumanApproval",
              "type": "boolean",
              "value": "={{ $json.requiresHumanApproval }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "37b2ba2b-d372-4444-9411-648adc9e91b5",
      "name": "Merge Severity Paths",
      "type": "n8n-nodes-base.merge",
      "position": [
        4048,
        640
      ],
      "parameters": {
        "numberInputs": 3
      },
      "typeVersion": 3.2
    },
    {
      "id": "3cb6f73e-2991-43f8-879b-0e4492e35350",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1328,
        -80
      ],
      "parameters": {
        "color": 6,
        "width": 720,
        "height": 352,
        "content": "## Prerequisites\nn8n, Nvidia/OpenAI API, Google Sheets, Gmail credentials\n\n## Use Cases\nSemiconductor reliability, predictive maintenance, capacity monitoring\n\n## Customization\nAdd models, adjust thresholds, extend alerts\n\n## Benefits\nAutomation, faster insights, improved reliability"
      },
      "typeVersion": 1
    },
    {
      "id": "eeffe2da-f02d-4498-b765-151e3f42aa94",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        80
      ],
      "parameters": {
        "width": 336,
        "height": 192,
        "content": "## Setup Steps\n1. Configure Nvidia/OpenAI credentials\n2. Connect Google Sheets data\n3. Configure Gmail alerts\n4. Map input fields\n5. Activate workflow"
      },
      "typeVersion": 1
    },
    {
      "id": "55fca1a3-9ef7-4273-bc1a-056d3262e086",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        80
      ],
      "parameters": {
        "width": 768,
        "height": 192,
        "content": "## How It Works\nThis workflow automates semiconductor board-level reliability monitoring using AI agents. It targets reliability engineers, manufacturing teams, and quality analysts. The system collects capacity, history, and sensor data, then applies intelligent agents to detect anomalies, predict failures, and trigger alerts. Data flows through capacity checks, operations analysis, and reliability evaluation. AI models assess thermal stress, material risks, and performance deviations. Results are merged, severity is classified, and automated alerts and reports are generated. This reduces manual monitoring and improves reliability decisions."
      },
      "typeVersion": 1
    },
    {
      "id": "b817e2ae-4763-4785-aae0-f666357ba817",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3440,
        352
      ],
      "parameters": {
        "color": 7,
        "width": 736,
        "height": 624,
        "content": "## Severity Routing\nWhat-Classify risks\nWhy-Prioritize actions"
      },
      "typeVersion": 1
    },
    {
      "id": "ffac3e57-915d-48f4-8ea4-c2e037bb7d9b",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        912,
        352
      ],
      "parameters": {
        "color": 7,
        "width": 2512,
        "height": 752,
        "content": "## AI Agents\nWhat-Analyze reliability\nWhy-Predict failures"
      },
      "typeVersion": 1
    },
    {
      "id": "82f0f208-6f9b-4c5e-89ef-593ce586e612",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        352
      ],
      "parameters": {
        "color": 7,
        "width": 768,
        "height": 512,
        "content": "## Capacity Check\nWhat-Collect data\nWhy-Detect anomalies early"
      },
      "typeVersion": 1
    },
    {
      "id": "0ee22394-cf3d-4b21-8de1-d2e10568c100",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4192,
        352
      ],
      "parameters": {
        "color": 7,
        "width": 288,
        "height": 640,
        "content": "## Alerts & Reports\nWhat-Send notifications\nWhy-Enable response"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "binaryMode": "separate",
    "executionOrder": "v1"
  },
  "versionId": "50851aae-1a6a-4149-bdec-9ed1b98c7b57",
  "connections": {
    "Code Tool": {
      "ai_tool": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Calculator Tool": {
      "ai_tool": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Reporting Agent": {
      "ai_tool": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Reporting Model": {
      "ai_languageModel": [
        [
          {
            "node": "Reporting Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Escalation Agent": {
      "ai_tool": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Escalation Model": {
      "ai_languageModel": [
        [
          {
            "node": "Escalation Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Operations Agent": {
      "ai_tool": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Operations Model": {
      "ai_languageModel": [
        [
          {
            "node": "Operations Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Slack Alert Tool": {
      "ai_tool": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Supervisor Agent": {
      "main": [
        [
          {
            "node": "Prepare History Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Supervisor Model": {
      "ai_languageModel": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Route by Severity": {
      "main": [
        [
          {
            "node": "Send Critical Alert",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Warning Alert",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Format Report Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Report Data": {
      "main": [
        [
          {
            "node": "Merge Severity Paths",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Send Warning Alert": {
      "main": [
        [
          {
            "node": "Merge Severity Paths",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Email Approval Tool": {
      "ai_tool": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "Operations Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send Critical Alert": {
      "main": [
        [
          {
            "node": "Merge Severity Paths",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Historical Data Tool": {
      "ai_tool": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Merge Severity Paths": {
      "main": [
        [
          {
            "node": "Send Operations Report",
            "type": "main",
            "index": 0
          },
          {
            "node": "Log to Operations Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare History Data": {
      "main": [
        [
          {
            "node": "Store Capacity History",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Capacity Data": {
      "main": [
        [
          {
            "node": "Supervisor Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Utilization Data": {
      "main": [
        [
          {
            "node": "Prepare Capacity Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Capacity History": {
      "main": [
        [
          {
            "node": "Route by Severity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Real-time Capacity Alert": {
      "main": [
        [
          {
            "node": "Prepare Capacity Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scheduled Capacity Check": {
      "main": [
        [
          {
            "node": "Fetch Utilization Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Capacity Intelligence Agent": {
      "ai_tool": [
        [
          {
            "node": "Supervisor Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Capacity Intelligence Model": {
      "ai_languageModel": [
        [
          {
            "node": "Capacity Intelligence Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}