{
  "name": "Extract & search ProductHunt data with Bright Data MCP and Google Gemini AI",
  "nodes": [
    {
      "id": "5af692c1-c035-49c0-84ac-d9dcff94269b",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -640,
        -20
      ]
    },
    {
      "id": "c6f927ef-1664-4a4a-b9b0-faf9f9e052b6",
      "name": "List all tools for Bright Data",
      "type": "n8n-nodes-mcp.mcpClient",
      "position": [
        -420,
        -20
      ]
    },
    {
      "id": "08175de9-ddc7-4664-87e9-cf3b6e9008b6",
      "name": "Set the Input Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -200,
        -20
      ]
    },
    {
      "id": "cba889d2-71b7-46fa-a723-00d41e1e891d",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        280,
        -20
      ]
    },
    {
      "id": "e2f19c38-899d-475f-87f8-2305c27560ab",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        100,
        220
      ]
    },
    {
      "id": "bae60554-4022-4af3-a2c7-067235b2f03a",
      "name": "MCP Client for Google Search",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        280,
        220
      ]
    },
    {
      "id": "b1ca5ed5-e0e5-4434-897b-25efad53577f",
      "name": "MCP Client for Markdown Data Extract",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        480,
        220
      ]
    },
    {
      "id": "57305e8e-2731-45e7-b1d8-d9f73786f1da",
      "name": "Set the Agent Operation",
      "type": "n8n-nodes-base.set",
      "position": [
        20,
        -20
      ]
    },
    {
      "id": "be721837-c5e8-4ade-98fc-01b6aae10dd9",
      "name": "Create a binary data for Structured Data Extract",
      "type": "n8n-nodes-base.function",
      "position": [
        760,
        -20
      ]
    },
    {
      "id": "83cf444d-4b85-4688-ac1c-67fb6027b2ec",
      "name": "Write the structured content to disk",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        980,
        -20
      ]
    },
    {
      "id": "2f179451-1a1d-437a-bddd-370d5deed3a2",
      "name": "Initiate a Webhook Notification for Structured Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        180
      ]
    },
    {
      "id": "7431be44-2bc5-466a-aa24-cff3aa97ecef",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        -420
      ],
      "parameters": {
        "width": 440,
        "height": 120,
        "content": "## Disclaimer\nThis template is only available on n8n self-hosted as it's making use of the community node for MCP Client."
      }
    },
    {
      "id": "2c01a180-4202-4287-a656-c9afb052c950",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        -300
      ],
      "parameters": {
        "width": 440,
        "height": 220,
        "content": "## LLM Usages\n\nGoogle Gemini LLM is being utilized for the AI Agent handling"
      }
    },
    {
      "id": "02ba0f5d-f210-46fa-888a-53740f2f57d7",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -840
      ],
      "parameters": {
        "width": 400,
        "height": 400,
        "content": "## Logo\n\n\n![logo](https://images.seeklogo.com/logo-png/43/1/brightdata-logo-png_seeklogo-439974.png)\n"
      }
    },
    {
      "id": "2561fbea-ac79-4a48-a141-9906bec656ed",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -400
      ],
      "parameters": {
        "width": 400,
        "height": 320,
        "content": "## Note\n\nDeals with the ProductHunt data extraction by utilizing the Bright Data MCP and Google Gemini LLM.\n\n**Please make sure to set the input fields node and the agent operation node to fulfill you"
      }
    },
    {
      "id": "7c7e69f2-393e-4725-9bc6-0fd6e3271ea0",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        -460
      ],
      "parameters": {
        "width": 440,
        "height": 120,
        "content": "## Agent Operation\n\n1. Perform a Product Hunt data extract\n2. Google search and extract data"
      }
    },
    {
      "id": "823039f1-e41f-4286-adde-4da05924f8cf",
      "name": "Structured Data Extractor",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        760,
        440
      ]
    },
    {
      "id": "467a58f7-b480-4975-9045-17ffef12553b",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        980,
        640
      ]
    },
    {
      "id": "c6a9ef1d-f1d8-469c-a149-20b70613a7a4",
      "name": "Google Gemini Chat Model Structured Data Extract",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        740,
        640
      ]
    },
    {
      "id": "d9ca7a55-ccb8-4c34-aec1-792f67e7cab4",
      "name": "Update Google Sheets for Structured Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1200,
        440
      ]
    },
    {
      "id": "380351d4-2b49-4824-bbb6-3bba45f9fb37",
      "name": "Update Google Sheets for AI Agent",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        760,
        -220
      ]
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Create a binary data for Structured Data Extract",
            "type": "main",
            "index": 0
          },
          {
            "node": "Initiate a Webhook Notification for Structured Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Update Google Sheets for AI Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Structured Data Extractor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set the Input Fields": {
      "main": [
        [
          {
            "node": "Set the Agent Operation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set the Agent Operation": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Structured Data Extractor",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Data Extractor": {
      "main": [
        [
          {
            "node": "Update Google Sheets for Structured Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MCP Client for Google Search": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "List all tools for Bright Data": {
      "main": [
        [
          {
            "node": "Set the Input Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MCP Client for Markdown Data Extract": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "List all tools for Bright Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a binary data for Structured Data Extract": {
      "main": [
        [
          {
            "node": "Write the structured content to disk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model Structured Data Extract": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Data Extractor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}