{
  "name": "Test WAF security interactively with an AI agent and WAFtester MCP",
  "nodes": [
    {
      "id": "f22a0b1c-3c36-4ca0-87b7-a2eb1b08ed91",
      "name": "Chat Trigger",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -192,
        288
      ]
    },
    {
      "id": "fe0e963b-e2f8-44ef-9047-a658abe23a49",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        48,
        288
      ]
    },
    {
      "id": "87146f4d-a2ba-4cfc-98ac-5e83612fbde1",
      "name": "WAFtester MCP",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        192,
        496
      ]
    },
    {
      "id": "4d2d9f26-1870-4ea1-82b6-1b45d070d0f1",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        48,
        496
      ]
    },
    {
      "id": "60117f92-b6c4-4de6-a8d8-3304545f5725",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -960,
        0
      ],
      "parameters": {
        "width": 640,
        "height": 780,
        "content": "### How it works\n\nChat with an AI agent that has access to WAFtester's 18 security testing tools via MCP (Model Context Protocol).\n\n**Chat Trigger** receives your message, **AI Agent** decides which t"
      }
    },
    {
      "id": "236b3768-06a3-4b28-8968-bf1fea98c548",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        0
      ],
      "parameters": {
        "width": 720,
        "height": 144,
        "content": "## AI Agent chain\n\nChat Trigger sends messages to the AI Agent, which calls WAFtester MCP tools with OpenAI as the reasoning layer."
      }
    }
  ],
  "connections": {
    "Chat Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WAFtester MCP": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}