{
  "name": "Evaluate automotive component compliance with OpenAI GPT-4.1 and regulatory APIs",
  "nodes": [
    {
      "id": "a1d876ff-7682-4149-9267-c5315283ffdb",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "position": [
        16,
        384
      ]
    },
    {
      "id": "7a997d51-cd33-4bb8-8683-f905804760e0",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        240,
        384
      ]
    },
    {
      "id": "1e1adf66-3a71-459e-a6df-1195a5464f0e",
      "name": "Automotive Compliance Evaluator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1032,
        384
      ]
    },
    {
      "id": "39b637a2-6085-421f-9ff3-a85491d4afed",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        944,
        608
      ]
    },
    {
      "id": "0f787827-a9b4-43d9-8955-30906e63f53e",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1376,
        608
      ]
    },
    {
      "id": "487cc32e-8304-4875-b05c-3645b4180b98",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2688,
        384
      ]
    },
    {
      "id": "2d8d3911-f677-4f70-ab0e-6975aa277015",
      "name": "Check Evaluation Type",
      "type": "n8n-nodes-base.if",
      "position": [
        464,
        384
      ]
    },
    {
      "id": "0f25244c-c1dd-4bfb-afbb-a3d89d1ba3bd",
      "name": "Split Components",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        688,
        288
      ]
    },
    {
      "id": "860014ac-f5d2-4ca9-b70f-721c8a51414d",
      "name": "Aggregate Results",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1600,
        384
      ]
    },
    {
      "id": "8e636226-d742-4b1f-bb2f-4a9ef8216667",
      "name": "Calculate Risk Score",
      "type": "n8n-nodes-base.code",
      "position": [
        1792,
        384
      ]
    },
    {
      "id": "0ffa6fd7-6cce-41a7-ab91-641bbd93ce6a",
      "name": "Fetch Regulatory Database",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        688,
        480
      ]
    },
    {
      "id": "4dca6fa1-e952-48b3-94ce-af217dafe43e",
      "name": "Performance Simulation Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        1088,
        608
      ]
    },
    {
      "id": "e0e60d20-5cc8-46a5-a455-ed328bd84cf6",
      "name": "Calculator",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        1200,
        608
      ]
    },
    {
      "id": "3bc7203c-4690-443a-9fb7-002faa1b9ecb",
      "name": "Enrich with Metadata",
      "type": "n8n-nodes-base.set",
      "position": [
        2016,
        384
      ]
    },
    {
      "id": "aa3c6992-6bdb-4ec6-8ce9-9ce12e3d9b28",
      "name": "Check Compliance Status",
      "type": "n8n-nodes-base.if",
      "position": [
        2240,
        384
      ]
    },
    {
      "id": "74b30017-e154-4be8-9784-48a0e443b779",
      "name": "Log Non-Compliant to Database",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2464,
        448
      ]
    },
    {
      "id": "67e48414-8d0f-4044-b2b8-f86df0bd6a8d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -112
      ],
      "parameters": {
        "width": 800,
        "height": 240,
        "content": "## How It Works\nThis workflow automates automotive regulatory compliance evaluation by intelligently routing assessments through parallel evaluation paths based on component type. Designed for automot"
      }
    },
    {
      "id": "f25842de-c757-4de2-beb3-527526a87222",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1376,
        -208
      ],
      "parameters": {
        "width": 480,
        "height": 368,
        "content": "## Prerequisites\nActive OpenAI API account, automotive compliance evaluation system with webhook capability\n## Use Cases\nPre-production component compliance validation, supplier part certification\n## "
      }
    },
    {
      "id": "875bf29a-17d8-4a1d-aa58-4819872ff0ab",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        848,
        -176
      ],
      "parameters": {
        "width": 496,
        "height": 320,
        "content": "## Setup Steps\n1. Configure webhook endpoint URL for compliance evaluation system integration\n2. Set up OpenAI API credentials for Automotive Compliance Agent access\n3. Configure Check Evaluation Type"
      }
    },
    {
      "id": "8ed5b8c3-9983-4652-9201-6cee61926e26",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        192
      ],
      "parameters": {
        "width": 608,
        "height": 560,
        "content": "## Parallel AI Compliance Assessment with Specialized Tools\n**Why:** Processes components through OpenAI Chat Model equipped with Performance Simulation Tool for technical validation, Calculator for m"
      }
    },
    {
      "id": "a57ec553-fa48-46cd-a46d-d2a1a6e9da7d",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1552,
        192
      ],
      "parameters": {
        "width": 1280,
        "height": 528,
        "content": "## Risk Scoring and Compliance Status Reporting\n**Why:** Aggregates multi-dimensional assessment results, calculates overall risk scores using defined business rules, enriches findings with compliance"
      }
    },
    {
      "id": "f8f3d40f-5b46-49c5-a112-cc1e2fdf917b",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        176
      ],
      "parameters": {
        "width": 896,
        "height": 576,
        "content": "## Webhook Reception and Evaluation Type Routing\n**Why:** Captures compliance evaluation requests containing component specifications and regulatory requirements, intelligently determines whether asse"
      }
    }
  ],
  "connections": {
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "Automotive Compliance Evaluator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Components": {
      "main": [
        [
          {
            "node": "Automotive Compliance Evaluator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Results": {
      "main": [
        [
          {
            "node": "Calculate Risk Score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Automotive Compliance Evaluator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Risk Score": {
      "main": [
        [
          {
            "node": "Enrich with Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enrich with Metadata": {
      "main": [
        [
          {
            "node": "Check Compliance Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Evaluation Type": {
      "main": [
        [
          {
            "node": "Split Components",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Fetch Regulatory Database",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Check Evaluation Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Compliance Status": {
      "main": [
        [
          {
            "node": "Log Non-Compliant to Database",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Automotive Compliance Evaluator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Regulatory Database": {
      "main": [
        [
          {
            "node": "Automotive Compliance Evaluator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Performance Simulation Tool": {
      "ai_tool": [
        [
          {
            "node": "Automotive Compliance Evaluator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Log Non-Compliant to Database": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Automotive Compliance Evaluator": {
      "main": [
        [
          {
            "node": "Aggregate Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}