{
  "name": "AI-powered product research & comparison with GPT-4o and SerpAPI",
  "nodes": [
    {
      "id": "947b3118-19f5-4f91-9fa2-11ec04f955fa",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -660,
        1060
      ]
    },
    {
      "id": "5c2efc66-bbdf-47d8-b6fe-223467aaf5d5",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -360,
        1300
      ]
    },
    {
      "id": "81ef7f2d-1bab-4891-86d1-24669e8acbcb",
      "name": "Window Buffer Memory1",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -220,
        1300
      ]
    },
    {
      "id": "c5724fcc-1740-4efe-bd53-34f8f4746d20",
      "name": "SerpAPI1",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        -100,
        1300
      ]
    },
    {
      "id": "3ddfa322-69d8-4f77-b1f2-ed38b41fa6c8",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        40,
        1300
      ]
    },
    {
      "id": "65cfae11-7e46-4722-9745-495207168b66",
      "name": "Merge1",
      "type": "n8n-nodes-base.merge",
      "position": [
        1420,
        1020
      ]
    },
    {
      "id": "b6a2894c-fce5-46bd-8c1e-3cf7a470f274",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1660,
        1060
      ]
    },
    {
      "id": "dfcf324b-7726-4a2d-88f2-1b3d3ad13c10",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1880,
        1240
      ]
    },
    {
      "id": "373b43c5-0073-4d62-bb2d-0e7db8c90e27",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        900,
        600
      ]
    },
    {
      "id": "6bd27fb8-fbc6-46ca-ab6e-55de783dfce5",
      "name": "SerpAPI3",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        900,
        1240
      ]
    },
    {
      "id": "1ff649d8-4486-492e-8585-40fae0577b3c",
      "name": "SerpAPI4",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        900,
        1600
      ]
    },
    {
      "id": "7e43b85c-8b65-4ce1-8441-25a977f450af",
      "name": "SerpAPI5",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        900,
        1960
      ]
    },
    {
      "id": "dc0b29fc-ad70-4349-971a-c460c93c148e",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        620,
        600
      ]
    },
    {
      "id": "77f9fe28-e0dd-4dce-a963-0f5f0c983c20",
      "name": "SerpAPI2",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        900,
        920
      ]
    },
    {
      "id": "026f54c0-15cf-4213-95e4-636f6db63bc0",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        620,
        920
      ]
    },
    {
      "id": "b4bf906b-eb7d-4859-bbac-faa286d52aae",
      "name": "OpenAI Chat Model4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        620,
        1240
      ]
    },
    {
      "id": "991f273d-9c42-4bbd-9138-d4aacb940108",
      "name": "OpenAI Chat Model5",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        620,
        1600
      ]
    },
    {
      "id": "9044ad4c-7bed-4df4-a34f-5b102c247c00",
      "name": "OpenAI Chat Model6",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        640,
        1940
      ]
    },
    {
      "id": "a4c6a71f-4dcf-4a8f-ab8a-e68d6d12e6e3",
      "name": "Item Finder",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -220,
        1060
      ]
    },
    {
      "id": "382e28d2-3526-47f3-83db-3875403d2e27",
      "name": "Reviewer 1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        680,
        420
      ]
    },
    {
      "id": "bfd3ffa9-83af-4d5f-af82-54290b251412",
      "name": "Reviewer 2",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        680,
        740
      ]
    },
    {
      "id": "51b222a9-e44b-46fe-95ac-d34eefeb2013",
      "name": "Reviewer 3",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        700,
        1060
      ]
    },
    {
      "id": "2b23e388-0bec-42b1-8f78-147a7097bfe7",
      "name": "Reviewer 4",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        700,
        1400
      ]
    },
    {
      "id": "a144739d-d7f1-48c1-9fcd-f9cfd6842d44",
      "name": "Reviewer 5",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        700,
        1760
      ]
    },
    {
      "id": "ba725e88-621f-417b-bdb2-358cb0ec18d6",
      "name": "Compiler",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1940,
        1060
      ]
    },
    {
      "id": "dab84cc6-d029-4238-9f6e-7b40eee00df8",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Merge1": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI": {
      "ai_tool": [
        [
          {
            "node": "Reviewer 1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Compiler": {
      "main": [
        []
      ]
    },
    "SerpAPI1": {
      "ai_tool": [
        [
          {
            "node": "Item Finder",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI2": {
      "ai_tool": [
        [
          {
            "node": "Reviewer 2",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI3": {
      "ai_tool": [
        [
          {
            "node": "Reviewer 3",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI4": {
      "ai_tool": [
        [
          {
            "node": "Reviewer 4",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI5": {
      "ai_tool": [
        [
          {
            "node": "Reviewer 5",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "Compiler",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reviewer 1": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reviewer 2": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Reviewer 3": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Reviewer 4": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Reviewer 5": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Item Finder": {
      "main": [
        [
          {
            "node": "Reviewer 1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Reviewer 2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Reviewer 3",
            "type": "main",
            "index": 0
          },
          {
            "node": "Reviewer 4",
            "type": "main",
            "index": 0
          },
          {
            "node": "Reviewer 5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Compiler",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Item Finder",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Reviewer 1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Reviewer 2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Reviewer 3",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model5": {
      "ai_languageModel": [
        [
          {
            "node": "Reviewer 4",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model6": {
      "ai_languageModel": [
        [
          {
            "node": "Reviewer 5",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory1": {
      "ai_memory": [
        [
          {
            "node": "Item Finder",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Item Finder",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Item Finder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}