RAGとドキュメント对话:Google DriveからGPT-5へ、SupabaseベクターDBを使用
上級
これはInternal Wiki, Multimodal AI分野の自動化ワークフローで、30個のノードを含みます。主にSet, Gmail, Slack, SplitOut, Telegramなどのノードを使用。 RAGでドキュメントと対話:Google DriveからGPT-5まで、Supabaseベクトルデータベースを使用
前提条件
- •Googleアカウント + Gmail API認証情報
- •Slack Bot Token または Webhook URL
- •Telegram Bot Token
- •Google Drive API認証情報
- •OpenAI API Key
- •PostgreSQLデータベース接続情報
- •Supabase URL と API Key
使用ノード (30)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"meta": {
"instanceId": "e7ccf4281d5afb175c79c02db95b45f15d5b53862cb6bc357c5e5bc26567f35c",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "dfe1ae3f-fd2c-4cec-a81e-82e7de790096",
"name": "ファイルをダウンロード4",
"type": "n8n-nodes-base.googleDrive",
"position": [
-592,
240
],
"parameters": {},
"executeOnce": true,
"typeVersion": 3
},
{
"id": "b85b554c-ae75-4f11-a638-7398215d14bf",
"name": "分割出力1",
"type": "n8n-nodes-base.splitOut",
"position": [
-256,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6ae0af49-4d04-4415-ac85-4eeee3dbb7f9",
"name": "デフォルトデータローダー4",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
0,
480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3a904246-7878-436f-a12d-d5a164f1d33b",
"name": "Embeddings OpenAI8",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
-176,
400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c3feb2c0-e711-4f21-99ff-3fc5b1593a73",
"name": "文字テキスト分割器4",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"position": [
64,
752
],
"parameters": {},
"typeVersion": 1
},
{
"id": "dc9e6f60-3996-4098-b227-f83a8a9e16c6",
"name": "Supabaseベクトルストアに挿入3",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
-48,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "63f2dbfe-15f1-427d-84ca-ae25a734bc31",
"name": "ファイル作成",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-752,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f5642a04-3818-4f9c-89e8-d27e8586d4ee",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-784,
160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "bc75067f-e18d-4b22-8b27-57caff76c9f2",
"name": "OCR",
"type": "n8n-nodes-base.mistralAi",
"position": [
-432,
240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ad37191b-2847-4416-9c44-e80045ab67c9",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-496,
176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ecdf1a61-cbd4-4d95-86c7-3178d9e9ebb6",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
128
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "27b562c8-1708-4177-bc8d-0132c1bab584",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
672
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2a433682-be25-4f10-b38b-e56cbe6934f4",
"name": "Supabaseベクトルストア",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
-160,
-240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7148a746-a723-468f-86df-4aa42fda3e06",
"name": "Embeddings OpenAI6",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
-112,
-80
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "8b9790ea-f753-4586-b1e1-6df39bb955bd",
"name": "チャットメモリ",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
-544,
-192
],
"parameters": {},
"notesInFlow": false,
"typeVersion": 1
},
{
"id": "17e8e483-d9c0-49b7-98f9-7b615820452c",
"name": "チャットメッセージ受信時",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-1216,
-224
],
"webhookId": "dcbda26a-6bb2-4b80-8fcc-09660c04ddee",
"parameters": {},
"typeVersion": 1.3
},
{
"id": "90f9af99-eb0c-4921-b8dd-db0238d659b8",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-800,
-288
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "376403c7-50c6-41b8-a487-4f5a6af44af4",
"name": "GPT 5",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-736,
-192
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "578aec7d-fa0a-4996-a300-9339b49805e0",
"name": "RAGエージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-448,
-528
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "614d9174-a893-464c-ae0c-28b54bb0564d",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2496,
-1040
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1cd60b8b-b70d-4ba5-b59c-415a781604d5",
"name": "Slackトリガー",
"type": "n8n-nodes-base.slackTrigger",
"position": [
-1552,
-512
],
"webhookId": "74ec72e0-6007-4f91-9767-245bd2822825",
"parameters": {},
"typeVersion": 1
},
{
"id": "559fcf34-5d23-4298-991f-9ec189e9bb1a",
"name": "Telegramトリガー",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-1536,
-864
],
"webhookId": "d68442bd-ea54-4190-ad36-1b413aa6efb9",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "92f872f7-787a-49a9-a8e8-08713ecf78ab",
"name": "Gmailトリガー",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-1536,
-704
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "dfca2c74-9f66-4fb6-a3c4-922dae558452",
"name": "WhatsAppトリガー",
"type": "n8n-nodes-base.whatsAppTrigger",
"disabled": true,
"position": [
-1552,
-320
],
"webhookId": "e744ea57-9ad4-40bb-b468-bf51d8295373",
"parameters": {},
"typeVersion": 1
},
{
"id": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"name": "フィールド編集",
"type": "n8n-nodes-base.set",
"position": [
-848,
-528
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "9ac97ba9-4982-49d4-a10c-d7b60bdfa1a1",
"name": "テキストメッセージ送信",
"type": "n8n-nodes-base.telegram",
"position": [
272,
-784
],
"webhookId": "be0f5e9f-0231-43f3-8ee7-cc02ab9ac01f",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "9ff5abc5-e467-4acb-9554-a6661fb6597a",
"name": "メッセージ送信",
"type": "n8n-nodes-base.whatsApp",
"disabled": true,
"position": [
272,
-624
],
"webhookId": "21ce03e2-b672-49f5-8e5e-f187a644523e",
"parameters": {},
"typeVersion": 1
},
{
"id": "b9e9b89c-3849-4d35-9f72-e3a94e179926",
"name": "メッセージを送信",
"type": "n8n-nodes-base.slack",
"position": [
272,
-448
],
"webhookId": "1eeadb85-d39f-4373-be60-f2ba89fee6e3",
"parameters": {},
"typeVersion": 2.3
},
{
"id": "748940f6-f906-4d83-8144-43fc809b802a",
"name": "メッセージを送信1",
"type": "n8n-nodes-base.gmail",
"position": [
272,
-272
],
"webhookId": "39551306-44d1-45a0-947c-8ed49c46edce",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "8ae36f9b-ed19-4de1-a9af-961d1391373a",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1632,
-1040
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"bc75067f-e18d-4b22-8b27-57caff76c9f2": {
"main": [
[
{
"node": "b85b554c-ae75-4f11-a638-7398215d14bf",
"type": "main",
"index": 0
}
]
]
},
"376403c7-50c6-41b8-a487-4f5a6af44af4": {
"ai_languageModel": [
[
{
"node": "578aec7d-fa0a-4996-a300-9339b49805e0",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"578aec7d-fa0a-4996-a300-9339b49805e0": {
"main": [
[
{
"node": "9ac97ba9-4982-49d4-a10c-d7b60bdfa1a1",
"type": "main",
"index": 0
},
{
"node": "9ff5abc5-e467-4acb-9554-a6661fb6597a",
"type": "main",
"index": 0
},
{
"node": "b9e9b89c-3849-4d35-9f72-e3a94e179926",
"type": "main",
"index": 0
},
{
"node": "748940f6-f906-4d83-8144-43fc809b802a",
"type": "main",
"index": 0
}
]
]
},
"b85b554c-ae75-4f11-a638-7398215d14bf": {
"main": [
[
{
"node": "dc9e6f60-3996-4098-b227-f83a8a9e16c6",
"type": "main",
"index": 0
}
]
]
},
"8b9790ea-f753-4586-b1e1-6df39bb955bd": {
"ai_memory": [
[
{
"node": "578aec7d-fa0a-4996-a300-9339b49805e0",
"type": "ai_memory",
"index": 0
}
]
]
},
"63f2dbfe-15f1-427d-84ca-ae25a734bc31": {
"main": [
[
{
"node": "dfe1ae3f-fd2c-4cec-a81e-82e7de790096",
"type": "main",
"index": 0
}
]
]
},
"21e7f363-afcd-4dd0-961d-dc5f9df1f06a": {
"main": [
[
{
"node": "578aec7d-fa0a-4996-a300-9339b49805e0",
"type": "main",
"index": 0
}
]
]
},
"92f872f7-787a-49a9-a8e8-08713ecf78ab": {
"main": [
[
{
"node": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"type": "main",
"index": 0
}
]
]
},
"1cd60b8b-b70d-4ba5-b59c-415a781604d5": {
"main": [
[
{
"node": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"type": "main",
"index": 0
}
]
]
},
"dfe1ae3f-fd2c-4cec-a81e-82e7de790096": {
"main": [
[
{
"node": "bc75067f-e18d-4b22-8b27-57caff76c9f2",
"type": "main",
"index": 0
}
]
]
},
"559fcf34-5d23-4298-991f-9ec189e9bb1a": {
"main": [
[
{
"node": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"type": "main",
"index": 0
}
]
]
},
"dfca2c74-9f66-4fb6-a3c4-922dae558452": {
"main": [
[
{
"node": "21e7f363-afcd-4dd0-961d-dc5f9df1f06a",
"type": "main",
"index": 0
}
]
]
},
"7148a746-a723-468f-86df-4aa42fda3e06": {
"ai_embedding": [
[
{
"node": "2a433682-be25-4f10-b38b-e56cbe6934f4",
"type": "ai_embedding",
"index": 0
}
]
]
},
"3a904246-7878-436f-a12d-d5a164f1d33b": {
"ai_embedding": [
[
{
"node": "dc9e6f60-3996-4098-b227-f83a8a9e16c6",
"type": "ai_embedding",
"index": 0
}
]
]
},
"6ae0af49-4d04-4415-ac85-4eeee3dbb7f9": {
"ai_document": [
[
{
"node": "dc9e6f60-3996-4098-b227-f83a8a9e16c6",
"type": "ai_document",
"index": 0
}
]
]
},
"2a433682-be25-4f10-b38b-e56cbe6934f4": {
"ai_tool": [
[
{
"node": "578aec7d-fa0a-4996-a300-9339b49805e0",
"type": "ai_tool",
"index": 0
}
]
]
},
"c3feb2c0-e711-4f21-99ff-3fc5b1593a73": {
"ai_textSplitter": [
[
{
"node": "6ae0af49-4d04-4415-ac85-4eeee3dbb7f9",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"17e8e483-d9c0-49b7-98f9-7b615820452c": {
"main": [
[
{
"node": "578aec7d-fa0a-4996-a300-9339b49805e0",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - 内部Wiki, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
GPT-5・知識検索・文書文脈でHighLevel CRMを自動化
GPT-5、知識検索、ドキュメント文脈によるHighLevel CRMの自動化
Set
Gmail
Slack
+
Set
Gmail
Slack
55 ノードPaul
顧客管理
ビジネスのAIコマンドセンター:Google Workspaceモジュール型アクター、ベクター検索、マルチチャネルレポート
ビジネスAIコマンドセンター:Google Workspaceモジュール型アジンス、ベクター検索、マルチチャネルレポート
Set
Gmail
Slack
+
Set
Gmail
Slack
80 ノードPaul
文書抽出
Danelfin、TwelveData、Alpha Vantage を基にした AI 株式分析
Danelfin、TwelveData、Alpha Vantage を統合した AI 株式分析システム
Set
Code
Gmail
+
Set
Code
Gmail
74 ノードPaul
仮想通貨取引
ブログ h
SEO最適化されたWordPressブログを自動作成(Perplexity、Google Trends利用)
Set
Gmail
Limit
+
Set
Gmail
Limit
49 ノードPaul
コンテンツ作成
Claude、RAG、Perplexity、Driveを統合した完全な源泉知識アシスタントの構築
Claude、RAG、Perplexity、Driveを統合した全源の知識アシスタントの構築
Set
Switch
Google Drive
+
Set
Switch
Google Drive
38 ノードPaul
内部Wiki
n8nノードの探索(可視化リファレンスライブラリ内)
n8nノードを可視化リファレンスライブラリで探索
If
Ftp
Set
+
If
Ftp
Set
113 ノードI versus AI
その他
ワークフロー情報
難易度
上級
ノード数30
カテゴリー2
ノードタイプ22
作成者
Paul
@diagoplAutomation expert & n8n power user. I build advanced workflows combining AI, outbound, and business logic. Grab my templates or reach out for custom builds.
外部リンク
n8n.ioで表示 →
このワークフローを共有