AutomationFlowsSlack & Telegram › AI Infrastructure Analysis

AI Infrastructure Analysis

AI Infrastructure Analysis. Uses httpRequest, slack. Event-driven trigger; 6 nodes.

Event trigger★★★★☆ complexity6 nodesHTTP RequestSlack
Slack & Telegram Trigger: Event Nodes: 6 Complexity: ★★★★☆ Added:

This workflow follows the HTTP Request → Slack recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "AI Infrastructure Analysis",
  "nodes": [
    {
      "parameters": {},
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "url": "http://172.32.0.200:8000/proxmox/nodes",
        "options": {}
      },
      "name": "Get Infrastructure Data",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        460,
        300
      ]
    },
    {
      "parameters": {
        "functionCode": "// Prepare data for AI analysis\nconst nodes = items[0].json.nodes;\nlet infraSummary = \"Proxmox Infrastructure Summary:\\n\\n\";\n\nfor (const node of nodes) {\n  infraSummary += `Node: ${node.node}\\n`;\n  infraSummary += `Status: ${node.status}\\n`;\n  infraSummary += `CPU Usage: ${(node.cpu * 100).toFixed(2)}%\\n`;\n  infraSummary += `Memory: ${(node.mem / 1024 / 1024 / 1024).toFixed(2)}GB / ${(node.maxmem / 1024 / 1024 / 1024).toFixed(2)}GB\\n`;\n  infraSummary += `Uptime: ${Math.floor(node.uptime / 86400)} days\\n\\n`;\n}\n\nconst aiPrompt = `\nAnalyze this Proxmox infrastructure and provide recommendations:\n\n${infraSummary}\n\nPlease provide:\n1. Resource utilization assessment\n2. Potential optimization opportunities\n3. Security recommendations\n4. Capacity planning suggestions\n\nKeep the response concise and actionable.`;\n\nreturn [{\n  json: {\n    model: \"llama2\",\n    prompt: aiPrompt,\n    stream: false\n  }\n}];"
      },
      "name": "Prepare AI Prompt",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        680,
        300
      ]
    },
    {
      "parameters": {
        "url": "http://172.32.0.200:8000/ollama/generate",
        "options": {
          "bodyContentType": "json"
        },
        "jsonBody": "={{$json}}"
      },
      "name": "Generate AI Analysis",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        900,
        300
      ]
    },
    {
      "parameters": {
        "functionCode": "// Process AI response\nconst response = items[0].json.response;\nconst timestamp = new Date().toISOString();\n\nreturn [{\n  json: {\n    analysis: response,\n    timestamp: timestamp,\n    source: 'Proxmox MCP Server AI Analysis'\n  }\n}];"
      },
      "name": "Process AI Response",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        1120,
        300
      ]
    },
    {
      "parameters": {
        "channel": "#infrastructure",
        "text": "\ud83e\udd16 AI Infrastructure Analysis Report\n\nTimestamp: {{$json[\"timestamp\"]}}\n\n{{$json[\"analysis\"]}}\n\nGenerated by: {{$json[\"source\"]}}",
        "otherOptions": {}
      },
      "name": "Send to Slack",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 1,
      "position": [
        1340,
        300
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Get Infrastructure Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Infrastructure Data": {
      "main": [
        [
          {
            "node": "Prepare AI Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare AI Prompt": {
      "main": [
        [
          {
            "node": "Generate AI Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate AI Analysis": {
      "main": [
        [
          {
            "node": "Process AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process AI Response": {
      "main": [
        [
          {
            "node": "Send to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

AI Infrastructure Analysis. Uses httpRequest, slack. Event-driven trigger; 6 nodes.

Source: https://github.com/adrianlizman/proxmox-mcp-server-v2/blob/80feee305aa15b34bab4261f5021fd9fae617885/examples/n8n-workflows/ai-analysis.json — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

Webhook Slack. Uses theHiveProjectTrigger, stickyNote, httpRequest, theHiveProject. Event-driven trigger; 63 nodes.

The Hive Project Trigger, HTTP Request, The Hive Project +1
Slack & Telegram

Key Features: Direct Case Management: Modify case details such as assignee, severity, status, and more through intuitive form inputs embedded within Slack messages. Seamless Integration: Assumes match

The Hive Project Trigger, HTTP Request, The Hive Project +1
Slack & Telegram

Transform your lead list into an AI-powered calling machine. This workflow automates your entire cold calling process using Vapi's conversational AI to initiate calls, qualify leads, capture detailed

Google Sheets, HTTP Request, Slack
Slack & Telegram

Type in Slack. Walk away. Get a professional PDF report and a structured Excel fix sheet delivered to Google Drive and posted back in your Slack thread — fully automated, zero manual work.

Compression, HTTP Request, Google Drive +3
Slack & Telegram

This workflow automates the full company enrichment pipeline: Simply import CSV company lists to Slack and save time on enrichment and CRM maintenance. It processes uploaded files, extracts company do

Slack Trigger, Slack, HTTP Request +3