Bright DataとGoogle Geminiを使用して名言を抽出

初級

これはOther, AI分野の自動化ワークフローで、5個のノードを含みます。主にSet, HttpRequest, ManualTrigger, LmChatGoogleGemini, InformationExtractorなどのノードを使用、AI技術を活用したスマート自動化を実現。 Bright DataとGeminiを利用したGoodreadsからの名言抽出

前提条件
  • ターゲットAPIの認証情報が必要な場合あり
  • Google Gemini API Key

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "lpCfR0fpgqHfgTDW",
  "meta": {
    "instanceId": "885b4fb4a6a9c2cb5621429a7b972df0d05bb724c20ac7dac7171b62f1c7ef40",
    "templateCredsSetupCompleted": true
  },
  "name": "Quotes Extract with Bright Data and Google Gemini",
  "tags": [
    {
      "id": "ddPkw7Hg5dZhQu2w",
      "name": "AI",
      "createdAt": "2025-04-13T05:38:08.053Z",
      "updatedAt": "2025-04-13T05:38:08.053Z"
    }
  ],
  "nodes": [
    {
      "id": "f24eddf0-1bbf-46fd-be31-a72019a92af3",
      "name": "ワークフローをテストクリック時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -700,
        -160
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d61df43f-b017-4beb-b83c-5d1d4043dc59",
      "name": "フィールドを設定",
      "type": "n8n-nodes-base.set",
      "position": [
        -460,
        -160
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "df8d8553-5db1-4d40-b602-abde5cbc8acb",
              "name": "url",
              "type": "string",
              "value": "https://www.goodreads.com/quotes/tag/free"
            },
            {
              "id": "e304247f-6ec9-4081-8245-3298af252c9a",
              "name": "zone",
              "type": "string",
              "value": "web_unlocker1"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "0ecc04bf-cafa-4c99-9895-f94aa25fdedc",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        0,
        20
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash-exp"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "YeO7dHZnuGBVQKVZ",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "cf048d4e-34e7-4d8d-8d44-5845a2cb5578",
      "name": "名言抽出器",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        -20,
        -160
      ],
      "parameters": {
        "text": "=Extract the quotes from  {{ $json.data }}",
        "options": {},
        "schemaType": "manual",
        "inputSchema": "{\n\t\"type\": \"array\",\n\t\"properties\": {\n\t\t\"quote\": {\n\t\t\t\"type\": \"string\"\n\t\t}\n\t}\n}"
      },
      "typeVersion": 1
    },
    {
      "id": "4c7e58f4-3fae-42c6-96fb-d2d08f554077",
      "name": "Bright Data Webリクエストを実行",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        -160
      ],
      "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"
            },
            {
              "name": "data_format",
              "value": "markdown"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {}
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "kdbqXuxIR8qIxF7y",
          "name": "Header Auth account"
        }
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "fcd551b3-a6b6-4689-bc32-afc3dcebff10",
  "connections": {
    "d61df43f-b017-4beb-b83c-5d1d4043dc59": {
      "main": [
        [
          {
            "node": "4c7e58f4-3fae-42c6-96fb-d2d08f554077",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0ecc04bf-cafa-4c99-9895-f94aa25fdedc": {
      "ai_languageModel": [
        [
          {
            "node": "cf048d4e-34e7-4d8d-8d44-5845a2cb5578",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "4c7e58f4-3fae-42c6-96fb-d2d08f554077": {
      "main": [
        [
          {
            "node": "cf048d4e-34e7-4d8d-8d44-5845a2cb5578",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f24eddf0-1bbf-46fd-be31-a72019a92af3": {
      "main": [
        [
          {
            "node": "d61df43f-b017-4beb-b83c-5d1d4043dc59",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

初級 - その他, 人工知能

有料ですか?

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

関連ワークフロー

ワークフロー情報
難易度
初級
ノード数5
カテゴリー2
ノードタイプ5
難易度説明

n8n初心者向け、1-5ノードのシンプルなワークフロー

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34