RAGアップロードバンドル

中級

これはAI, IT Ops分野の自動化ワークフローで、14個のノードを含みます。主にGoogleDrive, SplitInBatches, GoogleDriveTrigger, EmbeddingsOpenAi, VectorStorePineconeなどのノードを使用、AI技術を活用したスマート自動化を実現。 OpenAI埋め込みによるGoogle DriveドキュメントのPineconeへの索引化とRAG

前提条件
  • Google Drive API認証情報
  • OpenAI API Key
  • Pinecone API Key

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "OceYxCmiuf5W2X4y",
  "meta": {
    "instanceId": "REDACTED_ID",
    "templateCredsSetupCompleted": true
  },
  "name": "Bundle RAG Upload",
  "tags": [],
  "nodes": [
    {
      "id": "REDACTED_ID",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        180,
        0
      ],
      "parameters": {
        "filter": {
          "folderId": {
            "__rl": true,
            "mode": "list",
            "value": "REDACTED_ID",
            "cachedResultUrl": "REDACTED_URL",
            "cachedResultName": "Course Module Outline Folder for n8n"
          }
        },
        "options": {},
        "resource": "fileFolder",
        "returnAll": true
      },
      "typeVersion": 3
    },
    {
      "id": "REDACTED_ID",
      "name": "ドキュメント取得",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        440,
        0
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {},
        "operation": "download"
      },
      "typeVersion": 3
    },
    {
      "id": "REDACTED_ID",
      "name": "アイテムループ処理",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        660,
        0
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "REDACTED_ID",
      "name": "Pinecone ベクトルストア",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        900,
        20
      ],
      "parameters": {
        "mode": "insert",
        "options": {
          "pineconeNamespace": "Course Outlines"
        },
        "pineconeIndex": {
          "__rl": true,
          "mode": "list",
          "value": "REDACTED_ID",
          "cachedResultName": "REDACTED_ID"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "REDACTED_ID",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        920,
        160
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "REDACTED_ID",
      "name": "デフォルトデータローダー",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        1060,
        240
      ],
      "parameters": {
        "options": {
          "metadata": {
            "metadataValues": [
              {
                "name": "Type",
                "value": "Course Module Names"
              }
            ]
          }
        },
        "dataType": "binary"
      },
      "typeVersion": 1
    },
    {
      "id": "REDACTED_ID",
      "name": "再帰的文字テキスト分割器",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        1140,
        380
      ],
      "parameters": {
        "options": {},
        "chunkSize": 600,
        "chunkOverlap": 60
      },
      "typeVersion": 1
    },
    {
      "id": "REDACTED_ID",
      "name": "Google Driveトリガー",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -60,
        0
      ],
      "parameters": {
        "event": "fileCreated",
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "list",
          "value": "REDACTED_ID",
          "cachedResultUrl": "REDACTED_URL",
          "cachedResultName": "Course Module Outline Folder for n8n"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "REDACTED_ID",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        -120
      ],
      "parameters": {
        "color": 4,
        "width": 260,
        "height": 400,
        "content": "Google Folder Upload Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "REDACTED_ID",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        -120
      ],
      "parameters": {
        "color": 6,
        "width": 220,
        "height": 400,
        "content": "Google Search File from Folder"
      },
      "typeVersion": 1
    },
    {
      "id": "REDACTED_ID",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        -120
      ],
      "parameters": {
        "color": 2,
        "width": 220,
        "height": 400,
        "content": "Get File"
      },
      "typeVersion": 1
    },
    {
      "id": "REDACTED_ID",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        -120
      ],
      "parameters": {
        "color": 3,
        "width": 500,
        "height": 680,
        "content": "Upload to Pinecone Vector"
      },
      "typeVersion": 1
    },
    {
      "id": "REDACTED_ID",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        -120
      ],
      "parameters": {
        "color": 7,
        "width": 220,
        "height": 400,
        "content": "Loop for multiple files"
      },
      "typeVersion": 1
    },
    {
      "id": "REDACTED_ID",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        -120
      ],
      "parameters": {
        "color": 3,
        "width": 580,
        "height": 1300,
        "content": "REDACTED_URL"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {
    "Default Data Loader": [
      {
        "json": {
          "isArtificialRecoveredEventItem": true
        }
      }
    ],
    "Recursive Character Text Splitter": [
      {
        "json": {
          "isArtificialRecoveredEventItem": true
        }
      }
    ]
  },
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "REDACTED_ID",
  "connections": {
    "REDACTED_ID": {
      "ai_textSplitter": [
        [
          {
            "node": "REDACTED_ID",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - 人工知能, IT運用

有料ですか?

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

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

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

作成者
Automate With Marc

Automate With Marc

@marconi

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34