{
  "name": "Assess credential risk and route mitigation actions with GPT-4o-mini",
  "nodes": [
    {
      "id": "d785048f-fef9-4615-bda2-8dc1b167cfd0",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1872,
        160
      ]
    },
    {
      "id": "7f51e2d6-ab3d-4007-abad-dca9bf8e7e96",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -1648,
        160
      ]
    },
    {
      "id": "a926c066-2d6d-4acc-8670-daaf57937c4a",
      "name": "Generate Sample Credential Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -1424,
        160
      ]
    },
    {
      "id": "e5525c74-12b5-484a-9449-55aff30f7d16",
      "name": "OpenAI Model - Coordination Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1200,
        384
      ]
    },
    {
      "id": "57c918a1-c342-49d6-8ba7-837799165960",
      "name": "OpenAI Model - Validation Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1104,
        592
      ]
    },
    {
      "id": "c9f11c5f-7de6-43fb-9a4a-2c7203fca3b6",
      "name": "OpenAI Model - Verification Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -784,
        592
      ]
    },
    {
      "id": "6896146c-624b-4a58-acea-9279204a24dd",
      "name": "OpenAI Model - Risk Assessment Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -448,
        592
      ]
    },
    {
      "id": "0c36e736-1cd1-456a-b8ec-971b74a87b95",
      "name": "Validation Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -944,
        592
      ]
    },
    {
      "id": "927bead7-11b2-4591-9efd-e6c15daeaf02",
      "name": "Verification Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -624,
        592
      ]
    },
    {
      "id": "46f62ba7-bbe6-4b51-8b14-bcc3455ba5c9",
      "name": "Risk Assessment Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -272,
        576
      ]
    },
    {
      "id": "9a641341-f54e-44ac-86d7-ddf04376b302",
      "name": "Credential Validation Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1072,
        384
      ]
    },
    {
      "id": "b93c95de-78cd-4931-8eaf-1ab664cc4e0d",
      "name": "Credential Verification Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -784,
        384
      ]
    },
    {
      "id": "0acd6bce-9c71-4d62-9a42-50f9bee89094",
      "name": "Risk Assessment Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -496,
        384
      ]
    },
    {
      "id": "3cde4c27-fb90-4033-bbfd-0d27153f09fe",
      "name": "Coordination Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -912,
        160
      ]
    },
    {
      "id": "799a9776-83d6-42d4-b84b-3800b493c8e8",
      "name": "Route by Risk Level",
      "type": "n8n-nodes-base.switch",
      "position": [
        16,
        368
      ]
    },
    {
      "id": "6ad09feb-96b6-4923-a0b2-ea9e62f029c7",
      "name": "Process Critical Risk",
      "type": "n8n-nodes-base.set",
      "position": [
        240,
        112
      ]
    },
    {
      "id": "2ef0dc15-1403-4155-a9c3-31d2053895ef",
      "name": "Process High Risk",
      "type": "n8n-nodes-base.set",
      "position": [
        240,
        304
      ]
    },
    {
      "id": "ee6c3163-d19c-461e-9f87-6fb7dcee07b8",
      "name": "Process Medium Risk",
      "type": "n8n-nodes-base.set",
      "position": [
        240,
        496
      ]
    },
    {
      "id": "2096185b-795c-411a-adc7-c42a784eb24d",
      "name": "Process Low Risk",
      "type": "n8n-nodes-base.set",
      "position": [
        240,
        688
      ]
    },
    {
      "id": "a56648db-4362-49bb-a2c2-28deb7c4e572",
      "name": "Merge All Risk Paths",
      "type": "n8n-nodes-base.merge",
      "position": [
        512,
        368
      ]
    },
    {
      "id": "8d9797e2-f043-4b16-89b3-e60e05d05115",
      "name": "Final Report",
      "type": "n8n-nodes-base.set",
      "position": [
        736,
        400
      ]
    },
    {
      "id": "fb31b335-b96f-4122-9fe8-00332d3c9885",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1936,
        -384
      ],
      "parameters": {
        "width": 640,
        "height": 352,
        "content": "## How It Works\nThis workflow automates comprehensive enterprise risk assessment and mitigation planning for organizations managing complex operational, financial, and compliance risks. Designed for r"
      }
    },
    {
      "id": "00709a17-1b51-4506-8d0f-f037b6a16540",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1232,
        -336
      ],
      "parameters": {
        "width": 416,
        "height": 304,
        "content": "## Setup Steps\n1. Connect **Manual Trigger** for on-demand assessments or configure **Schedule Trigger** for routine evaluations\n2. Configure **risk data sources** \n3. Add **AI model API keys** to Coo"
      }
    },
    {
      "id": "ee5218d3-e27b-486c-b780-4c8fc2360e88",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        -400
      ],
      "parameters": {
        "width": 480,
        "height": 352,
        "content": "## Prerequisites\nEnterprise risk management system access, AI service accounts\n## Use Cases\nCybersecurity risk assessments, fraud risk evaluations, third-party vendor risk reviews\n## Customization\nMod"
      }
    },
    {
      "id": "550c1a22-1fe4-4584-8810-9d8fb298f78e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        448,
        -32
      ],
      "parameters": {
        "width": 448,
        "height": 944,
        "content": "## Unified Report Generation\n**What**: Merges all risk assessments into consolidated report with prioritized recommendations  \n**Why**: Single comprehensive view enables executive decision-making and "
      }
    },
    {
      "id": "9c4a2a7d-68bd-4682-956e-728b999640fd",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -96,
        -32
      ],
      "parameters": {
        "width": 496,
        "height": 928,
        "content": "## Priority-Based Routing\n**What**: Routes findings by severity—critical/high/medium/low through conditional logic for appropriate handling  \n**Why**: Risk stratification ensures urgent threats receiv"
      }
    },
    {
      "id": "0ae4b154-58f5-4e5d-ba83-92ff673cf1b4",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1920,
        16
      ],
      "parameters": {
        "width": 1760,
        "height": 768,
        "content": "## Flexible Assessment & Multi-Agent Risk Analysis\n**What**: Coordination Agent orchestrates three specialized agents for credential validation, verification, and risk scoring  \n**Why**: Parallel expe"
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Low Risk": {
      "main": [
        [
          {
            "node": "Merge All Risk Paths",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Process High Risk": {
      "main": [
        [
          {
            "node": "Merge All Risk Paths",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Coordination Agent": {
      "main": [
        [
          {
            "node": "Route by Risk Level",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Medium Risk": {
      "main": [
        [
          {
            "node": "Merge All Risk Paths",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Route by Risk Level": {
      "main": [
        [
          {
            "node": "Process Critical Risk",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process High Risk",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process Medium Risk",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Process Low Risk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge All Risk Paths": {
      "main": [
        [
          {
            "node": "Final Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Critical Risk": {
      "main": [
        [
          {
            "node": "Merge All Risk Paths",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Generate Sample Credential Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validation Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Credential Validation Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Risk Assessment Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Coordination Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Verification Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Credential Verification Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Risk Assessment Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Risk Assessment Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Generate Sample Credential Data": {
      "main": [
        [
          {
            "node": "Coordination Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Validation Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Credential Validation Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Credential Validation Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Coordination Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Coordination Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Coordination Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Verification Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Credential Verification Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Credential Verification Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Coordination Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Risk Assessment Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Risk Assessment Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}