Bright DataとGoogle Geminiを使ってアマゾンの電子製品ベストセラー情報を抽出

中級

これはSales, AI, Marketing分野の自動化ワークフローで、8個のノードを含みます。主にSet, HttpRequest, ManualTrigger, LmChatGoogleGemini, InformationExtractorなどのノードを使用、AI技術を活用したスマート自動化を実現。 Bright DataとGoogle Geminiを使ってAmazonの電子書籍セールスランキング情報を抽出

前提条件
  • ターゲットAPIの認証情報が必要な場合あり
  • Google Gemini API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "H95uJY2gjSOsxRps",
  "meta": {
    "instanceId": "885b4fb4a6a9c2cb5621429a7b972df0d05bb724c20ac7dac7171b62f1c7ef40",
    "templateCredsSetupCompleted": true
  },
  "name": "Extract Amazon Best Seller Electronic Information with Bright Data and Google Gemini",
  "tags": [
    {
      "id": "Kujft2FOjmOVQAmJ",
      "name": "Engineering",
      "createdAt": "2025-04-09T01:31:00.558Z",
      "updatedAt": "2025-04-09T01:31:00.558Z"
    },
    {
      "id": "ddPkw7Hg5dZhQu2w",
      "name": "AI",
      "createdAt": "2025-04-13T05:38:08.053Z",
      "updatedAt": "2025-04-13T05:38:08.053Z"
    }
  ],
  "nodes": [
    {
      "id": "328c84bb-eef0-41cc-a392-8e58e3599f9b",
      "name": "「Test workflow」クリック時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        340,
        -440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b0e35bc1-473f-44b7-8959-9683adabb8b7",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        820,
        -640
      ],
      "parameters": {
        "width": 420,
        "height": 140,
        "content": "## LLM Usages\n\nGoogle Gemini Flash Exp model is being used.\n\nInformation Extraction for building the structured data"
      },
      "typeVersion": 1
    },
    {
      "id": "a0f32fbd-a7d0-4aeb-b930-59480066e87b",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1088,
        -220
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash-exp"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "YeO7dHZnuGBVQKVZ",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "3e64fe4a-7746-4b56-b845-3359e38648d9",
      "name": "HTTP Amazonベストセラー商品取得リクエスト",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        780,
        -440
      ],
      "parameters": {
        "url": "https://api.brightdata.com/request",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "zone",
              "value": "={{ $json.zone }}"
            },
            {
              "name": "url",
              "value": "={{ $json.url }}"
            },
            {
              "name": "format",
              "value": "raw"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {}
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "kdbqXuxIR8qIxF7y",
          "name": "Header Auth account"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "8e27bd37-b879-4fb2-bf80-1cd609170600",
      "name": "構造化データ抽出ツール",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        1000,
        -440
      ],
      "parameters": {
        "text": "={{ $json.data }}",
        "options": {
          "systemPromptTemplate": "You are an expert extraction algorithm.\nOnly extract relevant information from the text.\nIf you do not know the value of an attribute asked to extract, you may omit the attribute's value."
        },
        "schemaType": "manual",
        "inputSchema": "{\n  \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n  \"title\": \"Amazon Bestsellers - Smartphones & Basic Mobiles\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"category\": {\n      \"type\": \"string\",\n      \"example\": \"Smartphones & Basic Mobiles\"\n    },\n    \"description\": {\n      \"type\": \"string\",\n      \"example\": \"Our most popular products based on sales. Updated frequently.\"\n    },\n    \"page\": {\n      \"type\": \"string\",\n      \"example\": \"Page 1 of 2\"\n    },\n    \"bestsellers\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"rank\": {\n            \"type\": \"integer\",\n            \"example\": 1\n          },\n          \"title\": {\n            \"type\": \"string\",\n            \"example\": \"OnePlus Nord CE4 (Dark Chrome, 8GB RAM, 256GB Storage)\"\n          },\n          \"image\": {\n            \"type\": \"string\",\n            \"format\": \"uri\",\n            \"example\": \"https://images-eu.ssl-images-amazon.com/images/I/61g1pqSjAhL._AC_UL300_SR300,200_.jpg\"\n          },\n          \"rating\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"stars\": {\n                \"type\": \"number\",\n                \"example\": 4.2\n              },\n              \"total_ratings\": {\n                \"type\": \"integer\",\n                \"example\": 8051\n              }\n            },\n            \"required\": [\"stars\", \"total_ratings\"]\n          },\n          \"offer\": {\n            \"type\": \"string\",\n            \"example\": \"1 offer from ₹23,998.00\"\n          },\n          \"product_url\": {\n            \"type\": \"string\",\n            \"format\": \"uri\",\n            \"example\": \"https://www.amazon.in/Oneplus-Nord-Chrome-256GB-Storage/dp/B0CX5BZXLF/\"\n          }\n        },\n        \"required\": [\"rank\", \"title\", \"image\", \"rating\", \"offer\", \"product_url\"]\n      }\n    }\n  },\n  \"required\": [\"category\", \"description\", \"page\", \"bestsellers\"]\n}\n"
      },
      "typeVersion": 1
    },
    {
      "id": "584944a3-a5a8-456f-bd5a-57fc1fd5d69f",
      "name": "Bright Dataゾーンを使用したAmazon URLの設定",
      "type": "n8n-nodes-base.set",
      "notes": "Set the URL which you are interested to scrap the data",
      "position": [
        560,
        -440
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "1c132dd6-31e4-453b-a8cf-cad9845fe55b",
              "name": "url",
              "type": "string",
              "value": "https://www.amazon.in/gp/bestsellers/electronics/1389432031?product=unlocker&method=api"
            },
            {
              "id": "0fa387df-2511-4228-b6aa-237cceb3e9c7",
              "name": "zone",
              "type": "string",
              "value": "web_unlocker1"
            }
          ]
        }
      },
      "notesInFlow": true,
      "typeVersion": 3.4
    },
    {
      "id": "bc2507a8-a9b6-4b47-9bce-2cef9a0d1e3e",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        -720
      ],
      "parameters": {
        "width": 400,
        "height": 220,
        "content": "## Note\n\nDeals with the Amazon Best Seller Electronic data extraction using the Bright Data and LLM for Information Extraction.\n\n**Please make sure to update the \"Set Amazon URL with the Bright Data Zone\" and the Webhook Notification URL**"
      },
      "typeVersion": 1
    },
    {
      "id": "36a14230-e791-4996-8457-311a496833cd",
      "name": "Webhook 構造化データ抽出ツール用通知",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1376,
        -440
      ],
      "parameters": {
        "url": "https://webhook.site/bc804ce5-4a45-4177-a68a-99c80e5c86e6",
        "options": {},
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "summary",
              "value": "={{ $json.output }}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2e44bd30-9100-43a9-b177-b15867b8488b",
  "connections": {
    "a0f32fbd-a7d0-4aeb-b930-59480066e87b": {
      "ai_languageModel": [
        [
          {
            "node": "8e27bd37-b879-4fb2-bf80-1cd609170600",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "8e27bd37-b879-4fb2-bf80-1cd609170600": {
      "main": [
        [
          {
            "node": "36a14230-e791-4996-8457-311a496833cd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "328c84bb-eef0-41cc-a392-8e58e3599f9b": {
      "main": [
        [
          {
            "node": "584944a3-a5a8-456f-bd5a-57fc1fd5d69f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "584944a3-a5a8-456f-bd5a-57fc1fd5d69f": {
      "main": [
        [
          {
            "node": "3e64fe4a-7746-4b56-b845-3359e38648d9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3e64fe4a-7746-4b56-b845-3359e38648d9": {
      "main": [
        [
          {
            "node": "8e27bd37-b879-4fb2-bf80-1cd609170600",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - 営業, 人工知能, マーケティング

有料ですか?

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

関連ワークフロー

Bright Data と Google Gemini を使用した LinkedIn から企業ストーリーの生成
Bright DataとGoogle Geminiを使ってLinkedInから企業のストーリー生成
If
Set
Wait
+
If
Set
Wait
19 ノード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
人工知能
Amazon製品の価格下落をBright Dataで抽出・要約・分析
Bright DataとGoogle GeminiでAmazonの価格下落情報を抽出・要約・分析
Set
Wait
Merge
+
Set
Wait
Merge
26 ノードRanjan Dailata
人工知能
Bright Data MCPサーバーとGoogle Geminiを使ったLinkedInウェブスクレイピング
Bright Data MCPサーバーとGoogle Geminiを使用したLinkedInデータの抽出・変換
Set
Code
Merge
+
Set
Code
Merge
20 ノードRanjan Dailata
人工知能
Googleトレンドデータ抽出、Bright DataとGoogle Geminiを使用して要約生成
Bright DataとGoogle Geminiを利用したGoogleトレンドデータ抽出と要約生成
Set
Gmail
Function
+
Set
Gmail
Function
16 ノードRanjan Dailata
エンジニアリング
ワークフロー情報
難易度
中級
ノード数8
カテゴリー3
ノードタイプ6
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34