{
  "name": "DNB company search & extract with Bright Data and OpenAI 4o mini",
  "nodes": [
    {
      "id": "647ba3af-65c7-40ae-954d-1eacfd032057",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1140,
        440
      ]
    },
    {
      "id": "5ac1546f-0215-4ba4-996d-8b8298e8813b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1140,
        120
      ],
      "parameters": {
        "width": 400,
        "height": 240,
        "content": "## Note\n\nDeals with the DNB (https://www.dnb.com/) data extract using the Bright Data MCP Search and Markdown Web scraper\n\n**Please make sure to update the search query and the Webhook Notification UR"
      }
    },
    {
      "id": "98264472-dec1-4930-8759-cd7765aebbb7",
      "name": "Set input fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -700,
        440
      ]
    },
    {
      "id": "a888ec8a-9211-4196-8577-4a93c0ebda51",
      "name": "List all tools for Bright Data",
      "type": "n8n-nodes-mcp.mcpClient",
      "position": [
        -920,
        440
      ]
    },
    {
      "id": "f06c235a-7726-4580-8ea3-1f34a789b153",
      "name": "MCP Client for Search Engine",
      "type": "n8n-nodes-mcp.mcpClient",
      "position": [
        -480,
        440
      ]
    },
    {
      "id": "7462d4bf-eb0e-48e2-988f-64874a8e5c51",
      "name": "Bright Data MCP Client For DNB",
      "type": "n8n-nodes-mcp.mcpClient",
      "position": [
        116,
        440
      ]
    },
    {
      "id": "1adbe55f-3649-45f3-825a-70ec021452dd",
      "name": "DNB URL Data Extract Using LLM",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -260,
        440
      ]
    },
    {
      "id": "2fd7b177-2ac7-4cae-82af-47ea2cef08ed",
      "name": "DNB Structured Data Extract Using LLM",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        336,
        440
      ]
    },
    {
      "id": "7d2101c1-edc6-4f2b-8d2e-577bc07ac2ee",
      "name": "Create a binary data for Structured Data Extract",
      "type": "n8n-nodes-base.function",
      "position": [
        712,
        340
      ]
    },
    {
      "id": "937e7a23-32c8-4894-88c9-4c2d5b8fe274",
      "name": "Write the structured content to disk",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        932,
        340
      ]
    },
    {
      "id": "0a40a4f0-6dba-4638-944d-192cd6e0c3a6",
      "name": "Initiate a Webhook Notification for Structured Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        712,
        540
      ]
    },
    {
      "id": "de9da4f8-126d-48bd-a391-92f69a44a613",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -220,
        240
      ],
      "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": "534cc990-a9fe-4d8c-813c-19f864e92dd8",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        120
      ],
      "parameters": {
        "width": 440,
        "height": 240,
        "content": "## LLM Usages\n\nOpenAI 4o mini LLM is being utilized for the structured data extraction handling."
      }
    },
    {
      "id": "95d188e1-8e68-4843-a4d7-fd25d066b4aa",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1140,
        -300
      ],
      "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": "439f4da4-5055-4281-895f-38768bb62168",
      "name": "Structured Output Parser for URL",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -80,
        660
      ]
    },
    {
      "id": "82b4a20c-2046-4314-8179-6123f18ea97f",
      "name": "Structured Output Parser for Structured Extract",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        520,
        660
      ]
    },
    {
      "id": "a08383bf-b90b-4b82-9698-2f6c842749e2",
      "name": "OpenAI Chat Model for URL Data Extract",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -280,
        660
      ]
    },
    {
      "id": "5e577d2d-240a-4851-a1d7-04b66442049e",
      "name": "OpenAI Chat Model for DNB Structured Data Extract",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        320,
        660
      ]
    }
  ],
  "connections": {
    "Set input fields": {
      "main": [
        [
          {
            "node": "MCP Client for Search Engine",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MCP Client for Search Engine": {
      "main": [
        [
          {
            "node": "DNB URL Data Extract Using LLM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bright Data MCP Client For DNB": {
      "main": [
        [
          {
            "node": "DNB Structured Data Extract Using LLM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DNB URL Data Extract Using LLM": {
      "main": [
        [
          {
            "node": "Bright Data MCP Client For DNB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List all tools for Bright Data": {
      "main": [
        [
          {
            "node": "Set input fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser for URL": {
      "ai_outputParser": [
        [
          {
            "node": "DNB URL Data Extract Using LLM",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "List all tools for Bright Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DNB Structured Data Extract Using LLM": {
      "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
          }
        ]
      ]
    },
    "OpenAI Chat Model for URL Data Extract": {
      "ai_languageModel": [
        [
          {
            "node": "DNB URL Data Extract Using LLM",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser for Structured Extract": {
      "ai_outputParser": [
        [
          {
            "node": "DNB Structured Data Extract Using LLM",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Create a binary data for Structured Data Extract": {
      "main": [
        [
          {
            "node": "Write the structured content to disk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model for DNB Structured Data Extract": {
      "ai_languageModel": [
        [
          {
            "node": "DNB Structured Data Extract Using LLM",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}