{
  "name": "Prioritize vehicle maintenance with Anthropic Claude using telemetry and history",
  "nodes": [
    {
      "id": "f1c73a67-d7eb-4305-9c1f-894ac0697543",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -448,
        96
      ]
    },
    {
      "id": "7ed83566-3aef-4029-af69-55eee768015c",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -224,
        96
      ]
    },
    {
      "id": "69c11ff8-291b-4797-9c58-6bde5584c053",
      "name": "Fetch Real-Time Vehicle Telemetry",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "5d6743dc-8249-4e9d-90df-3d154e552c44",
      "name": "Fetch Historical Vehicle Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        192
      ]
    },
    {
      "id": "be28613f-457a-4ab1-9fc9-1a53dd8ee0d3",
      "name": "Merge Telemetry and Historical Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        224,
        96
      ]
    },
    {
      "id": "77a4e133-563b-4ae6-a53e-b6e00fdfbe18",
      "name": "Anthropic Model - Anomaly Detection Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        456,
        320
      ]
    },
    {
      "id": "ec24740a-4c6d-49dd-b4f8-1f5b21bbbeeb",
      "name": "Anomaly Detection Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        624,
        320
      ]
    },
    {
      "id": "ee2321dc-5456-4370-a9e8-ebbaec536464",
      "name": "Anomaly Detection Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        448,
        96
      ]
    },
    {
      "id": "3c45a377-6314-40cc-ada2-807326fa47d1",
      "name": "Anthropic Model - Maintenance Prioritization Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        800,
        320
      ]
    },
    {
      "id": "149838be-9219-42e6-a799-b33cedb7731e",
      "name": "Maintenance Prioritization Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1120,
        320
      ]
    },
    {
      "id": "064d7af5-3317-4263-9102-45ebfff8b9a9",
      "name": "RUL Calculation Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        960,
        320
      ]
    },
    {
      "id": "196132d1-7add-4533-a840-b186f40e2b0e",
      "name": "Maintenance Prioritization Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        856,
        96
      ]
    },
    {
      "id": "dd32d853-3965-44ef-b997-ce6965b4c6a8",
      "name": "Check Urgency Level",
      "type": "n8n-nodes-base.if",
      "position": [
        1264,
        96
      ]
    },
    {
      "id": "44e044ea-5eca-41ff-85f4-a84da5440211",
      "name": "Format Urgent Alert",
      "type": "n8n-nodes-base.set",
      "position": [
        1488,
        0
      ]
    },
    {
      "id": "eb52a987-9f1b-4f81-a0fc-813b4d6ab1e3",
      "name": "Format Standard Maintenance Record",
      "type": "n8n-nodes-base.set",
      "position": [
        1488,
        192
      ]
    },
    {
      "id": "04ef852e-8208-4bea-9674-38495e7d2e87",
      "name": "Generate Audit Log",
      "type": "n8n-nodes-base.code",
      "position": [
        1712,
        96
      ]
    },
    {
      "id": "618c52a4-d2c4-4413-8dec-bb56e3d1098a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -528
      ],
      "parameters": {
        "width": 544,
        "height": 368,
        "content": "## Prerequisites\nActive Anthropic API account, fleet telemetry system with API access, historical maintenance database \n## Use Cases\nCommercial fleet preventive maintenance, vehicle health monitoring,"
      }
    },
    {
      "id": "a1e92d84-269d-4569-909b-621d524791f2",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        -496
      ],
      "parameters": {
        "width": 416,
        "height": 320,
        "content": "\n## Setup Steps\n1. Configure Schedule Trigger with desired monitoring frequency for fleet checks\n2. Set up API credentials for Fetch Real-Time Vehicle Telemetry node with fleet management system\n3. Co"
      }
    },
    {
      "id": "63a1c013-f5cc-414f-9419-f5c511e4c30b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        -448
      ],
      "parameters": {
        "width": 704,
        "height": 272,
        "content": "## How It Works\nThis workflow automates predictive maintenance for vehicle fleets by combining real-time telemetry analysis with historical pattern recognition to identify potential failures before th"
      }
    },
    {
      "id": "be046d72-8a64-4b55-b978-1c817fc47808",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -144
      ],
      "parameters": {
        "width": 848,
        "height": 624,
        "content": "## Dual Data Stream Acquisition and Integration\n**Why:** Simultaneously retrieves real-time vehicle telemetry (sensor readings, performance metrics, error codes) and historical maintenance records, th"
      }
    },
    {
      "id": "e452cf45-dffb-4583-92ac-bda5a94e5fb2",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        384,
        -144
      ],
      "parameters": {
        "width": 848,
        "height": 656,
        "content": "## AI-Powered Anomaly Detection and Maintenance Prioritization\n**Why:** Deploys two specialized Anthropic Claude agents—one identifying abnormal patterns in telemetry data using anomaly detection mode"
      }
    },
    {
      "id": "7af54179-301a-42fd-8d17-b1cd29567812",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1248,
        -144
      ],
      "parameters": {
        "width": 656,
        "height": 656,
        "content": "## Alert Formatting and Urgency-Based Routing\n**Why:** Transforms AI findings into standardized maintenance records and urgent alerts, checks urgency thresholds to route critical issues for immediate "
      }
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Urgency Level": {
      "main": [
        [
          {
            "node": "Format Urgent Alert",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Format Standard Maintenance Record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Urgent Alert": {
      "main": [
        [
          {
            "node": "Generate Audit Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RUL Calculation Tool": {
      "ai_tool": [
        [
          {
            "node": "Maintenance Prioritization Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Fetch Real-Time Vehicle Telemetry",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Historical Vehicle Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anomaly Detection Agent": {
      "main": [
        [
          {
            "node": "Maintenance Prioritization Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Historical Vehicle Data": {
      "main": [
        [
          {
            "node": "Merge Telemetry and Historical Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Anomaly Detection Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Anomaly Detection Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Maintenance Prioritization Agent": {
      "main": [
        [
          {
            "node": "Check Urgency Level",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Real-Time Vehicle Telemetry": {
      "main": [
        [
          {
            "node": "Merge Telemetry and Historical Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Standard Maintenance Record": {
      "main": [
        [
          {
            "node": "Generate Audit Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Telemetry and Historical Data": {
      "main": [
        [
          {
            "node": "Anomaly Detection Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Maintenance Prioritization Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Maintenance Prioritization Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Model - Anomaly Detection Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Anomaly Detection Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Model - Maintenance Prioritization Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Maintenance Prioritization Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}