AIチームによる自動化株式ファンダメンタル分析 - 質問応答ワークフロー

上級

これはAI分野の自動化ワークフローで、17個のノードを含みます。主にWebhook, GoogleDrive, ManualTrigger, RespondToWebhook, LmChatOpenAiなどのノードを使用、AI技術を活用したスマート自動化を実現。 AIチームによる自動化株式ファンダメンタル分析 - 質問応答ワークフロー

前提条件
  • HTTP Webhookエンドポイント(n8nが自動生成)
  • Google Drive API認証情報
  • OpenAI API Key
  • Qdrantサーバー接続情報

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "01730710-e299-4e66-93e9-6079fdf9b8b7",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2120,
        0
      ],
      "parameters": {
        "color": 6,
        "width": 903.0896125323785,
        "height": 733.5099670584011,
        "content": "## Step 2: Setup the Q&A \n### The incoming message from the webhook is queried from the Supabase Vector Store.  The response is provided in the response webhook.  "
      },
      "typeVersion": 1
    },
    {
      "id": "66aed89e-fd72-4067-82bf-d480be27e5d6",
      "name": "「ワークフローを実行」をクリックしたとき",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        840,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9dc8f2a7-eeff-4a35-be52-05c42b71eee4",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1140,
        140
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "list",
          "value": "1LZezppYrWpMStr4qJXtoIX-Dwzvgehll",
          "cachedResultUrl": "https://drive.google.com/file/d/1LZezppYrWpMStr4qJXtoIX-Dwzvgehll/view?usp=drivesdk",
          "cachedResultName": "crowdstrike.pdf"
        },
        "options": {},
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "yOwz41gMQclOadgu",
          "name": "Google Drive account"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "1dd3d3fd-6c2e-4e23-9c82-b0d07b199de3",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        0
      ],
      "parameters": {
        "color": 6,
        "width": 772.0680602743597,
        "height": 732.3675002130781,
        "content": "## Step 1: Upserting the PDF\n### Fetch file from Google Drive, split it into chunks and insert into Supabase index\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "4796124f-bc12-4353-b7ea-ec8cd7653e68",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "color": 6,
        "width": 710.9124489067698,
        "height": 726.4452519516944,
        "content": "## Start here: Step-by Step Youtube Tutorial :star:\n\n[![Building an AI Crew to Analyze Financial Data with CrewAI and n8n](https://img.youtube.com/vi/pMvizUx5n1g/sddefault.jpg)](https://www.youtube.com/watch?v=pMvizUx5n1g)\n"
      },
      "typeVersion": 1
    },
    {
      "id": "1e2ecc88-c8c7-4687-a2a1-b20b0da9b772",
      "name": "デフォルトデータローダー",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        1400,
        320
      ],
      "parameters": {
        "options": {
          "splitPages": true
        },
        "dataType": "binary"
      },
      "typeVersion": 1
    },
    {
      "id": "6dd8545d-df8c-49ff-acf6-f8c150723ee8",
      "name": "再帰的文字分割器1",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        1400,
        460
      ],
      "parameters": {
        "options": {},
        "chunkSize": 3000,
        "chunkOverlap": 200
      },
      "typeVersion": 1
    },
    {
      "id": "6899e2d6-965a-40cd-a34f-a61de8fd32ef",
      "name": "Qdrantベクターストア",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        1480,
        140
      ],
      "parameters": {
        "mode": "insert",
        "options": {},
        "qdrantCollection": {
          "__rl": true,
          "mode": "id",
          "value": "crowd"
        }
      },
      "credentials": {
        "qdrantApi": {
          "id": "NyinAS3Pgfik66w5",
          "name": "QdrantApi account"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "6136c6fb-3d20-44a7-ab00-6c5671bafa10",
      "name": "チャットメッセージ受信時",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "disabled": true,
      "position": [
        2180,
        120
      ],
      "webhookId": "551107fb-b349-4e2b-a888-febe5e282734",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "c970f654-4c79-4637-bec0-73f79a01ab59",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        2180,
        320
      ],
      "webhookId": "55b825ad-8987-4618-ae92-d9b08966324b",
      "parameters": {
        "path": "19f5499a-3083-4783-93a0-e8ed76a9f742",
        "options": {},
        "httpMethod": "POST",
        "responseMode": "responseNode"
      },
      "typeVersion": 2
    },
    {
      "id": "e05e9046-de17-4ca1-b1ac-2502ee123e5f",
      "name": "検索QAチェーン",
      "type": "@n8n/n8n-nodes-langchain.chainRetrievalQa",
      "position": [
        2420,
        120
      ],
      "parameters": {
        "text": "={{ $json.chatInput || $json.body.input }}",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.5
    },
    {
      "id": "ecf0d248-a8a9-45ed-8786-8864547f79b6",
      "name": "ベクターストア検索器",
      "type": "@n8n/n8n-nodes-langchain.retrieverVectorStore",
      "position": [
        2580,
        320
      ],
      "parameters": {
        "topK": 5
      },
      "typeVersion": 1
    },
    {
      "id": "4fb1d8ac-bc6f-4f99-965f-7d38ea0680e0",
      "name": "Qdrantベクターストア1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        2540,
        460
      ],
      "parameters": {
        "options": {},
        "qdrantCollection": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.body.company }}"
        }
      },
      "credentials": {
        "qdrantApi": {
          "id": "NyinAS3Pgfik66w5",
          "name": "QdrantApi account"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "66868422-39c9-4e76-99b9-a77bb613b248",
      "name": "OpenAI チャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2420,
        340
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "8gccIjcuf3gvaoEr",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "f290f809-3b4e-42e3-bfb5-d505566d9275",
      "name": "埋め込み OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        2520,
        580
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "8gccIjcuf3gvaoEr",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "c360f7b3-2ae4-4ebd-85ca-f64c3966e65d",
      "name": "埋め込み OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        1700,
        320
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "8gccIjcuf3gvaoEr",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "9223d119-b5a7-40d4-b8da-f85951b52bde",
      "name": "Webhook に応答",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2840,
        120
      ],
      "parameters": {
        "options": {},
        "respondWith": "text",
        "responseBody": "={{ $json.response.text }}"
      },
      "typeVersion": 1.1
    }
  ],
  "pinData": {},
  "connections": {
    "c970f654-4c79-4637-bec0-73f79a01ab59": {
      "main": [
        [
          {
            "node": "e05e9046-de17-4ca1-b1ac-2502ee123e5f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9dc8f2a7-eeff-4a35-be52-05c42b71eee4": {
      "main": [
        [
          {
            "node": "6899e2d6-965a-40cd-a34f-a61de8fd32ef",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c360f7b3-2ae4-4ebd-85ca-f64c3966e65d": {
      "ai_embedding": [
        [
          {
            "node": "6899e2d6-965a-40cd-a34f-a61de8fd32ef",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "66868422-39c9-4e76-99b9-a77bb613b248": {
      "ai_languageModel": [
        [
          {
            "node": "e05e9046-de17-4ca1-b1ac-2502ee123e5f",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "f290f809-3b4e-42e3-bfb5-d505566d9275": {
      "ai_embedding": [
        [
          {
            "node": "4fb1d8ac-bc6f-4f99-965f-7d38ea0680e0",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "e05e9046-de17-4ca1-b1ac-2502ee123e5f": {
      "main": [
        [
          {
            "node": "9223d119-b5a7-40d4-b8da-f85951b52bde",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1e2ecc88-c8c7-4687-a2a1-b20b0da9b772": {
      "ai_document": [
        [
          {
            "node": "6899e2d6-965a-40cd-a34f-a61de8fd32ef",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "4fb1d8ac-bc6f-4f99-965f-7d38ea0680e0": {
      "ai_vectorStore": [
        [
          {
            "node": "ecf0d248-a8a9-45ed-8786-8864547f79b6",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "ecf0d248-a8a9-45ed-8786-8864547f79b6": {
      "ai_retriever": [
        [
          {
            "node": "e05e9046-de17-4ca1-b1ac-2502ee123e5f",
            "type": "ai_retriever",
            "index": 0
          }
        ]
      ]
    },
    "6136c6fb-3d20-44a7-ab00-6c5671bafa10": {
      "main": [
        [
          {
            "node": "e05e9046-de17-4ca1-b1ac-2502ee123e5f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "66aed89e-fd72-4067-82bf-d480be27e5d6": {
      "main": [
        [
          {
            "node": "9dc8f2a7-eeff-4a35-be52-05c42b71eee4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6dd8545d-df8c-49ff-acf6-f8c150723ee8": {
      "ai_textSplitter": [
        [
          {
            "node": "1e2ecc88-c8c7-4687-a2a1-b20b0da9b772",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

上級 - 人工知能

有料ですか?

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

ワークフロー情報
難易度
上級
ノード数17
カテゴリー1
ノードタイプ13
難易度説明

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

作成者
Derek Cheung

Derek Cheung

@derekcheungsa

Derek is an engineer, instructor, and investor based in Canada. He is publicly building AI applications to solve real-world problems, leveraging his technical expertise to develop practical solutions.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34