{
  "name": "Score telematics driving risk with Claude and adjust insurance premiums via HTTP, Gmail, and Slack",
  "nodes": [
    {
      "id": "b84c9006-eddc-4d37-9df3-715558c43257",
      "name": "Daily/Weekly Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2176,
        80
      ]
    },
    {
      "id": "8162ae8f-94a4-435c-bbb7-612b6cf17ad3",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -1952,
        80
      ]
    },
    {
      "id": "bd5a09f0-0956-4513-aa55-4296e2cc7110",
      "name": "Fetch Telematics Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1728,
        80
      ]
    },
    {
      "id": "52b47cf7-d0b8-4b22-8a3b-2b43a29ed8c6",
      "name": "Risk Scoring AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1504,
        80
      ]
    },
    {
      "id": "6e427d82-59f3-41c7-ab05-aad0372d96f3",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        -1496,
        304
      ]
    },
    {
      "id": "3da03df8-613c-46b2-907a-facc1bc4d105",
      "name": "Risk Score Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1368,
        304
      ]
    },
    {
      "id": "6c0c5c7d-8714-4362-a1d5-ad83b595206f",
      "name": "Calculate Premium Adjustment",
      "type": "n8n-nodes-base.set",
      "position": [
        -1152,
        80
      ]
    },
    {
      "id": "08064466-067e-4f6b-afc6-375808be09aa",
      "name": "Update Premium in System",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -928,
        80
      ]
    },
    {
      "id": "b526c7c8-25c1-4360-b8ea-a2d76cc86ca8",
      "name": "Check for High Risk",
      "type": "n8n-nodes-base.if",
      "position": [
        -704,
        80
      ]
    },
    {
      "id": "6fa147ad-b26c-4258-b3f0-24cdcd5e16ae",
      "name": "Send Risk Alert Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -480,
        64
      ]
    },
    {
      "id": "8e3d85fb-b599-480c-a1a0-4fc3cd444690",
      "name": "Send Slack Notification",
      "type": "n8n-nodes-base.slack",
      "position": [
        -464,
        240
      ]
    },
    {
      "id": "253b9261-e8da-4d4b-be47-d23cd091434a",
      "name": "Sync with Underwriting Rules",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -256,
        80
      ]
    },
    {
      "id": "9775cb12-e3e0-4aaf-8bf0-5096b68b4447",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1056,
        -384
      ],
      "parameters": {
        "width": 560,
        "height": 288,
        "content": "## Prerequisites\nAnthropic API key, telematics data platform API access\n## Use Cases\nAuto insurance carriers implementing usage-based insurance programs\n## Customization\nModify AI prompts to incorpora"
      }
    },
    {
      "id": "211ebaca-3aaf-4afe-9d40-f201ee3fc213",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1520,
        -336
      ],
      "parameters": {
        "width": 416,
        "height": 240,
        "content": "## Setup Steps\n1. Configure Schedule node for desired analysis frequency \n2. Set up HTTP node with telematics platform API  \n3. Add Anthropic API key to Chat Model node for behavioral risk analysis\n4."
      }
    },
    {
      "id": "a4e6d45f-88af-4295-8a87-fe7caa4d0190",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2240,
        -336
      ],
      "parameters": {
        "width": 688,
        "height": 240,
        "content": "## How It Works\nThis workflow automates insurance premium adjustments by analyzing telematics data with AI-driven risk assessment and syncing changes across underwriting systems. Designed for carriers"
      }
    },
    {
      "id": "3d088e21-20e6-4fcb-824a-13682fe4bcb6",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -736,
        -48
      ],
      "parameters": {
        "width": 640,
        "height": 576,
        "content": "\n## **High-Risk Handling**\n**What:** IF node flags high-risk drivers, triggering Gmail alerts to underwriters and Slack  \n**Why:** Proactive flagging enables early intervention, while synchronized rul"
      }
    },
    {
      "id": "51403dcf-bf95-487a-9fa8-5465e6793673",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1200,
        -48
      ],
      "parameters": {
        "width": 432,
        "height": 352,
        "content": "## **Premium Update**\n**What:** Calculator node applies risk scores to premium formulas;  \n**Why:** Automated calculations eliminate manual errors ."
      }
    },
    {
      "id": "7f4d081f-97cd-43d4-9654-dc0e7e56d5ac",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2256,
        -48
      ],
      "parameters": {
        "width": 1040,
        "height": 496,
        "content": "## **Document Analysis & Risk Scoring**\n**What:** Schedule triggers periodic execution; HTTP node fetches telematics data.  \n**Why:** AI detects subtle risk patterns missed by rule-based systems, and "
      }
    }
  ],
  "connections": {
    "Check for High Risk": {
      "main": [
        [
          {
            "node": "Send Risk Alert Email",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Slack Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Risk Scoring AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Daily/Weekly Schedule": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Telematics Data": {
      "main": [
        [
          {
            "node": "Risk Scoring AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Risk Scoring AI Agent": {
      "main": [
        [
          {
            "node": "Calculate Premium Adjustment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Risk Alert Email": {
      "main": [
        [
          {
            "node": "Sync with Underwriting Rules",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Fetch Telematics Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Slack Notification": {
      "main": [
        [
          {
            "node": "Sync with Underwriting Rules",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Risk Score Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Risk Scoring AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Update Premium in System": {
      "main": [
        [
          {
            "node": "Check for High Risk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Premium Adjustment": {
      "main": [
        [
          {
            "node": "Update Premium in System",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}