RAG
上級
これはInternal Wiki, AI RAG分野の自動化ワークフローで、28個のノードを含みます。主にSet, Slack, GoogleDrive, SlackTrigger, Agentなどのノードを使用。 Pineconeを使用してSlackから文脈に基づく推奨事項を生成
前提条件
- •Slack Bot Token または Webhook URL
- •Google Drive API認証情報
- •Google Sheets API認証情報
- •OpenAI API Key
- •Pinecone API Key
使用ノード (28)
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "oK6nDjVJjDLtlWYt",
"meta": {
"instanceId": "8443f10082278c46aa5cf3acf8ff0f70061a2c58bce76efac814b16290845177"
},
"name": "RAG",
"tags": [],
"nodes": [
{
"id": "0c522a5e-eab3-492b-8875-3035725641f1",
"name": "Slack トリガー",
"type": "n8n-nodes-base.slackTrigger",
"position": [
0,
0
],
"webhookId": "419966a1-e8f1-481b-a27f-9389f1204001",
"parameters": {},
"typeVersion": 1
},
{
"id": "90fcd76e-2089-4283-8632-e2a543dd5697",
"name": "AI エージェント1",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1264,
0
],
"parameters": {},
"typeVersion": 2
},
{
"id": "48964ea1-4b35-45a2-af44-1e6ef906e1b2",
"name": "Azure OpenAI Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
1040,
224
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d164286c-cc67-4885-8587-cc7df25f6b85",
"name": "Pinecone ベクトルストア2",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
1168,
224
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "3346c942-a5ec-400c-9ad7-e6f5a385553e",
"name": "Embeddings Azure OpenAI2",
"type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
"position": [
1184,
432
],
"parameters": {},
"typeVersion": 1
},
{
"id": "807f938a-9684-46da-9204-0506cf7ac1a8",
"name": "Get row(s) in sheet in Google スプレッドシート",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
1456,
224
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "2f3b98d3-d326-4454-9ce4-3fe9cd5c8c1f",
"name": "Reranker Cohere1",
"type": "@n8n/n8n-nodes-langchain.rerankerCohere",
"position": [
1312,
432
],
"parameters": {},
"typeVersion": 1
},
{
"id": "54d785d1-db28-4d21-b9e2-a23d160c633a",
"name": "構造化出力パーサー1",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1584,
224
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "cc23fd1b-5f6b-442b-9405-34fd3841bb9e",
"name": "Pinecone ベクトルストア5",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
1776,
0
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "6d4c94ef-6df7-4a48-83d2-e2d10fda1678",
"name": "Embeddings Azure OpenAI5",
"type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
"position": [
1808,
224
],
"parameters": {},
"typeVersion": 1
},
{
"id": "26c39fa6-ec81-47e0-ba5c-b21bec4d045e",
"name": "Reranker Cohere3",
"type": "@n8n/n8n-nodes-langchain.rerankerCohere",
"position": [
1920,
224
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f2a81baa-7035-4947-a6ab-c55d567a420b",
"name": "AI エージェント3",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2160,
0
],
"parameters": {},
"typeVersion": 2
},
{
"id": "4441929d-cb5e-4ec2-bb59-6779d58e3e02",
"name": "Azure OpenAI Chat Model3",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
2176,
416
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2e056c6a-8261-4159-a1d7-2a25d01c0f13",
"name": "自動修正出力パーサー",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
2240,
224
],
"parameters": {},
"typeVersion": 1
},
{
"id": "aab927a0-9bef-4680-92e6-5f72e08c5cc3",
"name": "構造化出力パーサー2",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
2352,
416
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "1774d8b6-f0a4-4d7f-827f-ce8cf2ba356f",
"name": "AI エージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
224,
0
],
"parameters": {},
"typeVersion": 2
},
{
"id": "cc8e9c3e-bc06-4dbc-a37e-99219527c9ff",
"name": "Azure OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
256,
224
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4ff1e95e-5022-4021-8afc-ae9cc8084e37",
"name": "構造化出力パーサー",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
368,
224
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "ee9d3653-e25c-4688-a3fa-6196781c8e40",
"name": "Download file",
"type": "n8n-nodes-base.googleDrive",
"position": [
608,
0
],
"parameters": {},
"typeVersion": 3
},
{
"id": "b0a29268-2e3a-4b69-ad4c-785b8d3b37c4",
"name": "ファイルから抽出",
"type": "n8n-nodes-base.extractFromFile",
"position": [
816,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "715b6321-360c-4dcf-b8f1-1bb3de5de5bf",
"name": "Send a message",
"type": "n8n-nodes-base.slack",
"position": [
2752,
0
],
"webhookId": "d1c00971-d4db-44ed-b7ea-402ce20d534e",
"parameters": {},
"typeVersion": 2.3
},
{
"id": "e066f9cd-8179-4a59-bf3c-ebf2ae82781c",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
2528,
0
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "93f1bbac-6b17-4e6a-bed6-5372ca30adcf",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
64,
-208
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "adae4fb9-0d69-4a21-801d-c17e45b0be4f",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
512,
-208
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5f4c6a5a-6397-4bec-9d10-c26924b915a5",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1760,
-384
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "69f3f08b-6202-43dc-95c5-34c121bc8938",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
2128,
-384
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d74e2916-3c23-4b37-a1ba-0d95cf3a8a39",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2672,
-384
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a0880474-5190-4db5-bebc-c62cc96b1fb4",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
1264,
-384
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "fdf7f61f-95e6-42f5-8fd7-d55c38e83d20",
"connections": {
"AI Agent": {
"main": [
[
{
"node": "ee9d3653-e25c-4688-a3fa-6196781c8e40",
"type": "main",
"index": 0
}
]
]
},
"AI Agent1": {
"main": [
[
{
"node": "Pinecone Vector Store5",
"type": "main",
"index": 0
}
]
]
},
"AI Agent3": {
"main": [
[
{
"node": "e066f9cd-8179-4a59-bf3c-ebf2ae82781c",
"type": "main",
"index": 0
}
]
]
},
"e066f9cd-8179-4a59-bf3c-ebf2ae82781c": {
"main": [
[
{
"node": "715b6321-360c-4dcf-b8f1-1bb3de5de5bf",
"type": "main",
"index": 0
}
]
]
},
"ee9d3653-e25c-4688-a3fa-6196781c8e40": {
"main": [
[
{
"node": "Extract from File",
"type": "main",
"index": 0
}
]
]
},
"Slack Trigger": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"2f3b98d3-d326-4454-9ce4-3fe9cd5c8c1f": {
"ai_reranker": [
[
{
"node": "Pinecone Vector Store2",
"type": "ai_reranker",
"index": 0
}
]
]
},
"26c39fa6-ec81-47e0-ba5c-b21bec4d045e": {
"ai_reranker": [
[
{
"node": "Pinecone Vector Store5",
"type": "ai_reranker",
"index": 0
}
]
]
},
"Extract from File": {
"main": [
[
{
"node": "AI Agent1",
"type": "main",
"index": 0
}
]
]
},
"Pinecone Vector Store2": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
},
"Pinecone Vector Store5": {
"main": [
[
{
"node": "AI Agent3",
"type": "main",
"index": 0
}
]
]
},
"cc8e9c3e-bc06-4dbc-a37e-99219527c9ff": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"48964ea1-4b35-45a2-af44-1e6ef906e1b2": {
"ai_languageModel": [
[
{
"node": "AI Agent1",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"4441929d-cb5e-4ec2-bb59-6779d58e3e02": {
"ai_languageModel": [
[
{
"node": "AI Agent3",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Auto-fixing Output Parser",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"3346c942-a5ec-400c-9ad7-e6f5a385553e": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store2",
"type": "ai_embedding",
"index": 0
}
]
]
},
"6d4c94ef-6df7-4a48-83d2-e2d10fda1678": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store5",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Auto-fixing Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Agent3",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser1": {
"ai_outputParser": [
[
{
"node": "AI Agent1",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser2": {
"ai_outputParser": [
[
{
"node": "Auto-fixing Output Parser",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Get row(s) in sheet in Google Sheets": {
"ai_tool": [
[
{
"node": "AI Agent1",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - 内部Wiki, AI RAG検索拡張
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
SlackメッセージをPineconeにアップデート
Google Sheets、Pinecone、GPT-4oを使って文脈 Awareness のSlackアシスタントを作成する
Set
Slack
Slack Trigger
+
Set
Slack
Slack Trigger
24 ノードRahul Joshi
内部Wiki
Azure OpenAI とGoogle Workspace で DEI 資格フィルター Automation
Azure GPT-4o、Googleドライブ、テーブルを使ってDEI資格フィルタリングを自動化
If
Code
Gmail
+
If
Code
Gmail
19 ノードRahul Joshi
コンテンツ作成
GPT-5・知識検索・文書文脈でHighLevel CRMを自動化
GPT-5、知識検索、ドキュメント文脈によるHighLevel CRMの自動化
Set
Gmail
Slack
+
Set
Gmail
Slack
55 ノードPaul
顧客管理
Claude、RAG、Perplexity、Driveを統合した完全な源泉知識アシスタントの構築
Claude、RAG、Perplexity、Driveを統合した全源の知識アシスタントの構築
Set
Switch
Google Drive
+
Set
Switch
Google Drive
38 ノードPaul
内部Wiki
ビジネスのAIコマンドセンター:Google Workspaceモジュール型アクター、ベクター検索、マルチチャネルレポート
ビジネスAIコマンドセンター:Google Workspaceモジュール型アジンス、ベクター検索、マルチチャネルレポート
Set
Gmail
Slack
+
Set
Gmail
Slack
80 ノードPaul
文書抽出
RAGを使ったよくある質問
Google Drive PDF と Azure GPT-4o-mini を使用したRAG顧客 frequently asked questions ボット
Set
Webhook
Google Drive
+
Set
Webhook
Google Drive
20 ノードRahul Joshi
サポートチャットボット
ワークフロー情報
難易度
上級
ノード数28
カテゴリー2
ノードタイプ14
作成者
Rahul Joshi
@rahul08Rahul Joshi is a seasoned technology leader specializing in the n8n automation tool and AI-driven workflow automation. With deep expertise in building open-source workflow automation and self-hosted automation platforms, he helps organizations eliminate manual processes through intelligent n8n ai agent automation solutions.
外部リンク
n8n.ioで表示 →
このワークフローを共有