Bright Data MCPサーバーとGoogle Geminiを使ったLinkedInウェブスクレイピング

上級

これはAI, Marketing, IT Ops分野の自動化ワークフローで、20個のノードを含みます。主にSet, Code, Merge, Function, McpClientなどのノードを使用、AI技術を活用したスマート自動化を実現。 Bright Data MCPサーバーとGoogle Geminiを使用したLinkedInデータの抽出・変換

前提条件
  • ターゲットAPIの認証情報が必要な場合あり
  • Google Gemini API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "D2RkoPZlkKFRUrNu",
  "meta": {
    "instanceId": "885b4fb4a6a9c2cb5621429a7b972df0d05bb724c20ac7dac7171b62f1c7ef40",
    "templateCredsSetupCompleted": true
  },
  "name": "LinkedIn Web Scraping with Bright Data MCP Server & Google Gemini",
  "tags": [
    {
      "id": "ZOwtAMLepQaGW76t",
      "name": "Building Blocks",
      "createdAt": "2025-04-13T15:23:40.462Z",
      "updatedAt": "2025-04-13T15:23:40.462Z"
    },
    {
      "id": "ddPkw7Hg5dZhQu2w",
      "name": "AI",
      "createdAt": "2025-04-13T05:38:08.053Z",
      "updatedAt": "2025-04-13T05:38:08.053Z"
    }
  ],
  "nodes": [
    {
      "id": "68715d64-ce99-4e23-81ed-fe8f7d08ebd7",
      "name": "「Test workflow」クリック時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -640,
        -50
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e0295397-2926-4964-8be5-c0341de29a02",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        -420
      ],
      "parameters": {
        "color": 3,
        "width": 440,
        "height": 320,
        "content": "## Bright Data LinkedIn Person Scraper"
      },
      "typeVersion": 1
    },
    {
      "id": "cdf42164-569e-4140-9847-4751d69c6b7b",
      "name": "URLを設定",
      "type": "n8n-nodes-base.set",
      "position": [
        -200,
        -300
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "214e61a0-3587-453f-baf5-eac013990857",
              "name": "url",
              "type": "string",
              "value": "https://www.linkedin.com/in/ranjan-dailata/"
            },
            {
              "id": "45014942-0a2e-4f46-b395-f82f97bfa93e",
              "name": "webhook_url",
              "type": "string",
              "value": "https://webhook.site/ce41e056-c097-48c8-a096-9b876d3abbf7"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "5769fce6-bcd7-4a13-b992-cd6d955a2cf1",
      "name": "Bright Data MCP Client For LinkedIn Person",
      "type": "n8n-nodes-mcp.mcpClient",
      "notes": "Scrape a single webpage URL with advanced options for content extraction and get back the results in MarkDown language.",
      "position": [
        20,
        -300
      ],
      "parameters": {
        "toolName": "web_data_linkedin_person_profile",
        "operation": "executeTool",
        "toolParameters": "={\n   \"url\": \"{{ $json.url }}\"\n} "
      },
      "credentials": {
        "mcpClientApi": {
          "id": "JtatFSfA2kkwctYa",
          "name": "MCP Client (STDIO) account"
        }
      },
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "56e37aa6-9719-4879-80af-a10c091377fb",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        -60
      ],
      "parameters": {
        "color": 4,
        "width": 440,
        "height": 320,
        "content": "## Bright Data LinkedIn Company Scraper"
      },
      "typeVersion": 1
    },
    {
      "id": "69afab25-32c6-4849-b2f9-4a2b25657c37",
      "name": "Bright Dataの全ツールをリスト表示",
      "type": "n8n-nodes-mcp.mcpClient",
      "position": [
        -420,
        50
      ],
      "parameters": {},
      "credentials": {
        "mcpClientApi": {
          "id": "JtatFSfA2kkwctYa",
          "name": "MCP Client (STDIO) account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "feb16a2b-fdf7-49d4-bcd5-848ccaf66639",
      "name": "Bright Data MCP Client For LinkedIn Company",
      "type": "n8n-nodes-mcp.mcpClient",
      "notes": "Scrape a single webpage URL with advanced options for content extraction and get back the results in MarkDown language.",
      "position": [
        20,
        50
      ],
      "parameters": {
        "toolName": "web_data_linkedin_company_profile",
        "operation": "executeTool",
        "toolParameters": "={\n   \"url\": \"{{ $json.url }}\"\n} "
      },
      "credentials": {
        "mcpClientApi": {
          "id": "JtatFSfA2kkwctYa",
          "name": "MCP Client (STDIO) account"
        }
      },
      "notesInFlow": true,
      "typeVersion": 1
    },
    {
      "id": "e5117eb1-a757-4c28-965e-87ea03213ed1",
      "name": "LinkedIn Company URLを設定",
      "type": "n8n-nodes-base.set",
      "position": [
        -200,
        50
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "214e61a0-3587-453f-baf5-eac013990857",
              "name": "url",
              "type": "string",
              "value": "https://www.linkedin.com/company/bright-data/"
            },
            {
              "id": "45014942-0a2e-4f46-b395-f82f97bfa93e",
              "name": "webhook_url",
              "type": "string",
              "value": "https://webhook.site/ce41e056-c097-48c8-a096-9b876d3abbf7"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "99f45d7f-ad79-4ffc-8299-c71bd870f8fb",
      "name": "Webhook for LinkedIn Company Web Scraper",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1060,
        40
      ],
      "parameters": {
        "url": "={{ $('Set the LinkedIn Company URL').item.json.webhook_url }}",
        "options": {},
        "jsonBody": "={\n  \"about\": {{ JSON.stringify($json.about[0]) }},\n \"story\": {{ JSON.stringify($json.company_story[0]) }}\n}",
        "sendBody": true,
        "specifyBody": "json"
      },
      "typeVersion": 4.2
    },
    {
      "id": "5dfd2630-17d9-4a13-8cd6-57a564ef4a26",
      "name": "LinkedIn Data Extractor",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        240,
        200
      ],
      "parameters": {
        "text": "=Write a complete story of the provided company information in JSON. Use the following Company info to produce a story or a blog post. Make sure to incorporate all the provided company context.\n\nHere's the Company Info in JSON - {{ $json.input }}",
        "options": {
          "systemPromptTemplate": "You are an expert data formatter"
        },
        "attributes": {
          "attributes": [
            {
              "name": "company_story",
              "required": true,
              "description": "Detailed Company Info"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d1927c08-5ded-4b0b-b60b-bed126040d38",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        328,
        420
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash-exp"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "YeO7dHZnuGBVQKVZ",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "0de1d200-c35a-41df-b512-8b97b92f14db",
      "name": "Bright Dataの利用可能な全ツールをリスト表示",
      "type": "n8n-nodes-mcp.mcpClient",
      "position": [
        -420,
        -300
      ],
      "parameters": {},
      "credentials": {
        "mcpClientApi": {
          "id": "JtatFSfA2kkwctYa",
          "name": "MCP Client (STDIO) account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "3f884694-b8f3-478a-b1a3-f46326a0c96f",
      "name": "コード",
      "type": "n8n-nodes-base.code",
      "position": [
        318,
        -100
      ],
      "parameters": {
        "jsCode": "jsonContent = JSON.parse($input.first().json.result.content[0].text) \nreturn jsonContent\n"
      },
      "typeVersion": 2
    },
    {
      "id": "67036198-4d7d-42d9-93cf-ffc65649bae0",
      "name": "マージ",
      "type": "n8n-nodes-base.merge",
      "position": [
        616,
        50
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "77423290-bd08-4dc8-9f37-cf8fec9f6a63",
      "name": "集計",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        836,
        50
      ],
      "parameters": {
        "options": {},
        "fieldsToAggregate": {
          "fieldToAggregate": [
            {
              "fieldToAggregate": "about"
            },
            {
              "fieldToAggregate": "output.company_story"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "91d25405-afb3-4ed6-b8fa-52ab64a654e2",
      "name": "LinkedIn person情報抽出用バイナリデータ作成",
      "type": "n8n-nodes-base.function",
      "position": [
        320,
        -500
      ],
      "parameters": {
        "functionCode": "items[0].binary = {\n  data: {\n    data: new Buffer(JSON.stringify(items[0].json, null, 2)).toString('base64')\n  }\n};\nreturn items;"
      },
      "typeVersion": 1
    },
    {
      "id": "3e74c49e-eb31-43b1-b8e1-ed960bd83ca1",
      "name": "LinkedIn person情報をディスクに書き込み",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        520,
        -500
      ],
      "parameters": {
        "options": {},
        "fileName": "d:\\LinkedIn-Person.json",
        "operation": "write"
      },
      "typeVersion": 1
    },
    {
      "id": "f92b3505-2af6-42aa-bf4b-8b7b6cb97364",
      "name": "LinkedIn company情報抽出用バイナリデータ作成",
      "type": "n8n-nodes-base.function",
      "position": [
        1000,
        -180
      ],
      "parameters": {
        "functionCode": "items[0].binary = {\n  data: {\n    data: new Buffer(JSON.stringify(items[0].json, null, 2)).toString('base64')\n  }\n};\nreturn items;"
      },
      "typeVersion": 1
    },
    {
      "id": "6ed1402b-4858-4311-bede-f0b8f28acb9f",
      "name": "LinkedIn company情報をディスクに書き込み",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        1220,
        -180
      ],
      "parameters": {
        "options": {},
        "fileName": "d:\\LinkedIn-Company.json",
        "operation": "write"
      },
      "typeVersion": 1
    },
    {
      "id": "335efc2b-80e3-4fac-b31f-82fff4ac4e65",
      "name": "Webhook for LinkedIn Person Web Scraper",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        318,
        -300
      ],
      "parameters": {
        "url": "={{ $('Set the URLs').item.json.webhook_url }}",
        "options": {},
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "response",
              "value": "={{ $json.result.content[0].text }}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "35815900-1729-40c7-b128-778eabb62ec1",
  "connections": {
    "3f884694-b8f3-478a-b1a3-f46326a0c96f": {
      "main": [
        [
          {
            "node": "67036198-4d7d-42d9-93cf-ffc65649bae0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "67036198-4d7d-42d9-93cf-ffc65649bae0": {
      "main": [
        [
          {
            "node": "77423290-bd08-4dc8-9f37-cf8fec9f6a63",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "77423290-bd08-4dc8-9f37-cf8fec9f6a63": {
      "main": [
        [
          {
            "node": "99f45d7f-ad79-4ffc-8299-c71bd870f8fb",
            "type": "main",
            "index": 0
          },
          {
            "node": "f92b3505-2af6-42aa-bf4b-8b7b6cb97364",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cdf42164-569e-4140-9847-4751d69c6b7b": {
      "main": [
        [
          {
            "node": "5769fce6-bcd7-4a13-b992-cd6d955a2cf1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5dfd2630-17d9-4a13-8cd6-57a564ef4a26": {
      "main": [
        [
          {
            "node": "67036198-4d7d-42d9-93cf-ffc65649bae0",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "d1927c08-5ded-4b0b-b60b-bed126040d38": {
      "ai_languageModel": [
        [
          {
            "node": "5dfd2630-17d9-4a13-8cd6-57a564ef4a26",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "e5117eb1-a757-4c28-965e-87ea03213ed1": {
      "main": [
        [
          {
            "node": "feb16a2b-fdf7-49d4-bcd5-848ccaf66639",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "69afab25-32c6-4849-b2f9-4a2b25657c37": {
      "main": [
        [
          {
            "node": "e5117eb1-a757-4c28-965e-87ea03213ed1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "68715d64-ce99-4e23-81ed-fe8f7d08ebd7": {
      "main": [
        [
          {
            "node": "0de1d200-c35a-41df-b512-8b97b92f14db",
            "type": "main",
            "index": 0
          },
          {
            "node": "69afab25-32c6-4849-b2f9-4a2b25657c37",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "335efc2b-80e3-4fac-b31f-82fff4ac4e65": {
      "main": [
        []
      ]
    },
    "0de1d200-c35a-41df-b512-8b97b92f14db": {
      "main": [
        [
          {
            "node": "cdf42164-569e-4140-9847-4751d69c6b7b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5769fce6-bcd7-4a13-b992-cd6d955a2cf1": {
      "main": [
        [
          {
            "node": "335efc2b-80e3-4fac-b31f-82fff4ac4e65",
            "type": "main",
            "index": 0
          },
          {
            "node": "91d25405-afb3-4ed6-b8fa-52ab64a654e2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "feb16a2b-fdf7-49d4-bcd5-848ccaf66639": {
      "main": [
        [
          {
            "node": "3f884694-b8f3-478a-b1a3-f46326a0c96f",
            "type": "main",
            "index": 0
          },
          {
            "node": "5dfd2630-17d9-4a13-8cd6-57a564ef4a26",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "91d25405-afb3-4ed6-b8fa-52ab64a654e2": {
      "main": [
        [
          {
            "node": "3e74c49e-eb31-43b1-b8e1-ed960bd83ca1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f92b3505-2af6-42aa-bf4b-8b7b6cb97364": {
      "main": [
        [
          {
            "node": "6ed1402b-4858-4311-bede-f0b8f28acb9f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級 - 人工知能, マーケティング, IT運用

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

関連ワークフロー

Amazon製品の価格下落をBright Dataで抽出・要約・分析
Bright DataとGoogle GeminiでAmazonの価格下落情報を抽出・要約・分析
Set
Wait
Merge
+
Set
Wait
Merge
26 ノードRanjan Dailata
人工知能
Bright Data MCPとGoogle Geminiを使用した法の事例研究抽出ツール、データマイニングツール
Bright Data MCPとGoogle Geminiを使用した法のケーススタディ抽出データマイニングツール
Set
Code
Wait
+
Set
Code
Wait
22 ノードRanjan Dailata
人工知能
Bright Data を使用して Google Gemini で Etsy データをスクレイピングし自動化
Etsy データマイニングの自動化を実現:Bright Data によるスクレピング、Google Gemini
Set
Function
Split Out
+
Set
Function
Split Out
19 ノードRanjan Dailata
プロダクト
Bright Dataを使用したブランドコンテンツの抽出・要約・感情分析
Bright DataとGoogle Geminiを使用してブランドコンテンツを抽出および分析
Set
Function
Http Request
+
Set
Function
Http Request
23 ノードRanjan Dailata
人工知能
AIアゲント駆動のProduct Huntデータ抽出と検索(Bright DataとGoogle Geminiを使用)
Bright Data MCPとGoogle Gemini AIを使ってProduct Huntデータをクロールして検索
Set
Function
Mcp Client
+
Set
Function
Mcp Client
21 ノードRanjan Dailata
人工知能
Brave検索による構造化データ抽出(Bright Data MCP + Google Gemini)
Bright Data MCPとGoogle Geminiを使用してBrave検索から構造化されたデータを抽出
Set
Switch
Function
+
Set
Switch
Function
24 ノードRanjan Dailata
人工知能
ワークフロー情報
難易度
上級
ノード数20
カテゴリー3
ノードタイプ12
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34