インスタントRAGビルダー
中級
これはEngineering, AI, IT Ops分野の自動化ワークフローで、12個のノードを含みます。主にGoogleDrive, Agent, GoogleDriveTrigger, ChatTrigger, LmChatOpenAiなどのノードを使用、AI技術を活用したスマート自動化を実現。 Google Drive、OpenAI GPT-4o-mini、Pineconeを使ってRAGシステムの構築と照会
前提条件
- •Google Drive API認証情報
- •OpenAI API Key
- •Pinecone API Key
使用ノード (12)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "xOFhKr29kjrBDnlw",
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
"templateCredsSetupCompleted": true
},
"name": "Instant RaG Builder",
"tags": [],
"nodes": [
{
"id": "71812204-ccca-4757-a52f-0cd30c7ef393",
"name": "Google ドライブ Trigger",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-440,
-80
],
"parameters": {
"event": "fileCreated",
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFolder",
"folderToWatch": {
"__rl": true,
"mode": "list",
"value": "1uf6zZN51rgAuQgid4-Oi314f6mJIQdiB",
"cachedResultUrl": "https://drive.google.com/drive/folders/1uf6zZN51rgAuQgid4-Oi314f6mJIQdiB",
"cachedResultName": "ETOO power"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "IPz4dCJVFC8uaoHw",
"name": "Google Drive account 2"
}
},
"typeVersion": 1
},
{
"id": "e4302b23-c964-421e-a8fd-3e84935a1fea",
"name": "Google ドライブ",
"type": "n8n-nodes-base.googleDrive",
"position": [
-220,
-80
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"options": {},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "IPz4dCJVFC8uaoHw",
"name": "Google Drive account 2"
}
},
"typeVersion": 3
},
{
"id": "9990d9d8-3c56-49af-beb9-d9a335ed7874",
"name": "Pinecone ベクトルストア",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
40,
-80
],
"parameters": {
"mode": "insert",
"options": {},
"pineconeIndex": {
"__rl": true,
"mode": "list",
"value": "ragfile",
"cachedResultName": "ragfile"
}
},
"credentials": {
"pineconeApi": {
"id": "Q5ey0Vpj2rWRrb7p",
"name": "PineconeApi account 2"
}
},
"typeVersion": 1.1
},
{
"id": "ee09de71-4146-4f51-a036-5eeb0d72044a",
"name": "OpenAI 埋め込み",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
-40,
140
],
"parameters": {
"options": {}
},
"credentials": {
"openAiApi": {
"id": "AAQM78g30SkuHYxB",
"name": "OpenAi success"
}
},
"typeVersion": 1.2
},
{
"id": "b1edcf2c-4b19-43dc-9985-dad03a0e6df2",
"name": "Default Data Loader",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
180,
140
],
"parameters": {
"options": {},
"dataType": "binary"
},
"typeVersion": 1
},
{
"id": "1db4c053-9953-4a63-91cc-676fc59d434d",
"name": "再帰的文字テキストスプリッター",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"position": [
200,
260
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "80e69d74-18ca-4d47-8900-9fa070fd2b22",
"name": "AI エージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-440,
440
],
"parameters": {
"options": {}
},
"typeVersion": 2
},
{
"id": "9679f79a-cbee-4d6e-9633-76c96e5c7ffc",
"name": "チャットメッセージ受信時",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-720,
440
],
"webhookId": "fa37c7db-d78c-4a86-9de3-7cb6805de74f",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "3ea509ac-f5dd-410f-b310-587382770773",
"name": "OpenAI チャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-440,
620
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "AAQM78g30SkuHYxB",
"name": "OpenAi success"
}
},
"typeVersion": 1.2
},
{
"id": "6bbee514-a4c6-4ea9-97fb-02d0343c93a9",
"name": "Pinecone ベクトルストア1",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
-140,
600
],
"parameters": {
"mode": "retrieve-as-tool",
"options": {},
"toolName": "knowledge_base",
"pineconeIndex": {
"__rl": true,
"mode": "list",
"value": "ragfile",
"cachedResultName": "ragfile"
},
"toolDescription": "call this tool to access the database"
},
"credentials": {
"pineconeApi": {
"id": "Q5ey0Vpj2rWRrb7p",
"name": "PineconeApi account 2"
}
},
"typeVersion": 1.2
},
{
"id": "37fd9772-35c6-4310-b449-f1b07b729f6d",
"name": "OpenAI 埋め込み1",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
60,
760
],
"parameters": {
"options": {}
},
"credentials": {
"openAiApi": {
"id": "AAQM78g30SkuHYxB",
"name": "OpenAi success"
}
},
"typeVersion": 1.2
},
{
"id": "51c6804d-6b49-4a5f-a475-26abef7925b0",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1220,
80
],
"parameters": {
"width": 460,
"height": 620,
"content": "## Instant RaG Builder: Drive to Pinecone\n\n**Author** **David Olusola**\n\n**Set Up** :✅ Connect credentials:\n Google Drive, OpenAI, Pinecone\n\n📁 Upload file to:\n Google Drive folder (auto-watched)\n\n🔄 Workflow does the rest:\n - Downloads file\n - Splits text\n - Creates embeddings\n - Stores in Pinecone\n\n💬 Send a chat message to the Agent\n → Query stored knowledge instantly!"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "f8ed5291-ab8f-428a-9728-8db5b3c04122",
"connections": {
"Google Drive": {
"main": [
[
{
"node": "Pinecone Vector Store",
"type": "main",
"index": 0
}
]
]
},
"Embeddings OpenAI": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Embeddings OpenAI1": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store1",
"type": "ai_embedding",
"index": 0
}
]
]
},
"b1edcf2c-4b19-43dc-9985-dad03a0e6df2": {
"ai_document": [
[
{
"node": "Pinecone Vector Store",
"type": "ai_document",
"index": 0
}
]
]
},
"Google Drive Trigger": {
"main": [
[
{
"node": "Google Drive",
"type": "main",
"index": 0
}
]
]
},
"Pinecone Vector Store1": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Recursive Character Text Splitter": {
"ai_textSplitter": [
[
{
"node": "b1edcf2c-4b19-43dc-9985-dad03a0e6df2",
"type": "ai_textSplitter",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - エンジニアリング, 人工知能, IT運用
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
AI スマートアシスタント: Supabase ストレージと Google Drive ファイルとの対話
AIワンチャットボット:SupabaseストレージとGoogle Driveのファイルと対話
If
Set
Wait
+
If
Set
Wait
62 ノードMark Shcherbakov
エンジニアリング
ドキュメントベースのメモリを持つチャットボット:OpenAI、Pinecone、Google Driveを使用
メモリ機能付きドキュメントベースのチャットボット:OpenAI、Pinecone、Google Drive
Merge
Airtable
Aggregate
+
Merge
Airtable
Aggregate
22 ノードSally
人工知能
AI駆動型カスタマーサポート:メール、ナレッジベース、リ Humanアップグレードの自動化
AIメールサポートシステム:Gmail、Gemini、GPT-4、Slack、Google Sheetsを統合したワークフロー
Set
Gmail
Slack
+
Set
Gmail
Slack
26 ノードDavid Olusola
チケット管理
Supabase ストレージ内のファイルと対話する AI エージェント
Supabaseストレージ内のファイルと対話するAIエージェント
If
Merge
Switch
+
If
Merge
Switch
33 ノードMark Shcherbakov
エンジニアリング
基于AIのMISエージェント
基于AIの管理信息系统エージェント
If
Set
Code
+
If
Set
Code
129 ノードKumar Shivam
サポート
AI駆動のRAGドキュメント処理とチャットボット - Google Drive、Supabase、OpenAI
Google Drive、Supabase、OpenAIを基盤としたAI駆動のRAGドキュメント処理とチャットボット
Set
Code
Limit
+
Set
Code
Limit
35 ノードBilly Christi
人工知能
ワークフロー情報
難易度
中級
ノード数12
カテゴリー3
ノードタイプ10
作成者
David Olusola
@dae221AI automation consultant working with ambitious businesses on their most complex operational challenges. For project inquiries, reach me at david@daexai.com
外部リンク
n8n.ioで表示 →
このワークフローを共有