Drive 폴더와 RAG 대화
고급
이것은AI RAG, Multimodal AI분야의자동화 워크플로우로, 20개의 노드를 포함합니다.주로 GoogleDrive, Agent, GoogleDriveTrigger, ChatTrigger, LmChatOpenAi 등의 노드를 사용하며. GPT, Pinecone, RAG를 사용하여 Google Drive 문서와 대화합니다.
사전 요구사항
- •Google Drive API 인증 정보
- •OpenAI API Key
- •Pinecone API Key
사용된 노드 (20)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "9RKrZdyiAYeuGv6W",
"meta": {
"instanceId": "c23cb86fa0050ec3afbd7900d224878abccb334ae42c0f7ffb061d805dfe19c7",
"templateCredsSetupCompleted": true
},
"name": "Talk with your Drive folder RAG",
"tags": [
{
"id": "GNqLf5pjefdKGbgv",
"name": "Agent",
"createdAt": "2025-08-28T08:18:53.209Z",
"updatedAt": "2025-08-28T08:18:53.209Z"
}
],
"nodes": [
{
"id": "b30ce82d-44b4-46d7-810c-eb64257b4327",
"name": "OpenAI 채팅 모델",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
60,
400
],
"parameters": {
"model": "gpt-4o-2024-08-06",
"options": {}
},
"credentials": {
"openAiApi": {
"id": "gKM5mJZRrP7c1SlE",
"name": "OpenAi account"
}
},
"typeVersion": 1
},
{
"id": "18f18c72-0066-4803-8128-5d7d143d2c85",
"name": "윈도우 버퍼 메모리",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
100,
620
],
"parameters": {
"sessionKey": "=docs-{{ $json.messages[0].from }}",
"sessionIdType": "customKey"
},
"typeVersion": 1.2
},
{
"id": "950f35d8-fb93-4b6f-b528-c47c25c60301",
"name": "벡터 스토어 Tool",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"position": [
300,
420
],
"parameters": {
"name": "get_documents",
"description": "Retrieve information from any company documents"
},
"typeVersion": 1
},
{
"id": "5603154c-8a32-48f5-9750-1e2aca633e31",
"name": "Generate Embeddings for Search with OpenAI",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
200,
760
],
"parameters": {
"model": "text-embedding-3-small",
"options": {}
},
"credentials": {
"openAiApi": {
"id": "gKM5mJZRrP7c1SlE",
"name": "OpenAi account"
}
},
"typeVersion": 1
},
{
"id": "dfd9a08b-ec49-48a5-984f-55cc270de0ae",
"name": "OpenAI 채팅 모델1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
580,
720
],
"parameters": {
"model": "gpt-4o-2024-08-06",
"options": {}
},
"credentials": {
"openAiApi": {
"id": "gKM5mJZRrP7c1SlE",
"name": "OpenAi account"
}
},
"typeVersion": 1
},
{
"id": "2b385fec-c2f9-43a9-bb28-e42b38346c44",
"name": "OpenAI 임베딩1",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
-960,
340
],
"parameters": {
"model": "text-embedding-3-small",
"options": {}
},
"credentials": {
"openAiApi": {
"id": "gKM5mJZRrP7c1SlE",
"name": "OpenAi account"
}
},
"typeVersion": 1
},
{
"id": "5431b1f1-1c98-4073-a15e-f46bc04a9481",
"name": "Default Data Loader",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
-820,
240
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "f4ffd33e-8a9b-4f5a-b4a9-ec286b13ce68",
"name": "재귀적 문자 텍스트 분할기",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"position": [
-660,
400
],
"parameters": {
"options": {},
"chunkSize": 2000,
"chunkOverlap": 100
},
"typeVersion": 1
},
{
"id": "918aa3af-19fa-48d3-8669-3dc841a9ba0b",
"name": "메모1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1000,
-80
],
"parameters": {
"color": 7,
"width": 614.6875,
"height": 731.1875,
"content": "## 2. Create a Vector Store\n[Read more about the In-Memory Vector Store](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.vectorstoreinmemory/)"
},
"typeVersion": 1
},
{
"id": "95668d63-a834-47a2-82f3-3039d2cb9d84",
"name": "메모5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-60
],
"parameters": {
"color": 7,
"width": 746.6875,
"height": 929.1875,
"content": "## 4. AI Agent Responds\n[Learn more about using AI Agents](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/)\n\nn8n's AI agents are powerful nodes which make it incredibly easy to use state-of-the-art AI in your workflows. Not only do they have the ability to remember conversations per individual customer but also tap into resources such as our product catalogue vector store to pull factual information and data for every question."
},
"typeVersion": 1
},
{
"id": "f2a080c7-5fbe-4426-b7d7-226934e76f3f",
"name": "AI Sales 에이전트",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
60,
220
],
"parameters": {
"text": "={{ $json.chatInput }}",
"options": {
"systemMessage": "You a personal assistant that helps me make decisions based on my internal information pdfs. Your goal is not to facilitate a explain any questions user might have about the documents.\n\nDo your best to answer any questions factually. If you don't know the answer or unable to obtain the information from the datastore, then tell the user so.\n\nAlways answer in short message, in the size of one paragraph: between 100 and 200 words. Better to answer in short messages, human like."
},
"promptType": "define"
},
"typeVersion": 1.6
},
{
"id": "20a21f7b-e05e-4300-853e-7c1efbb6dfc7",
"name": "Download File From Google 드라이브",
"type": "n8n-nodes-base.googleDrive",
"position": [
-1260,
140
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"options": {
"fileName": "={{ $json.name }}"
},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "null",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "c81c5d09-a9d2-41b1-a0a6-d00eb1a7b58a",
"name": "Google 드라이브 File Updated",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-1580,
360
],
"parameters": {
"event": "fileUpdated",
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFolder",
"folderToWatch": {
"__rl": true,
"mode": "list",
"value": "1WlejjfGrijAhMsJ2zWUa-2OZsiXIj4Bu",
"cachedResultUrl": "https://drive.google.com/drive/folders/null",
"cachedResultName": "4. Personal Helper"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "null",
"name": "Google Drive account"
}
},
"typeVersion": 1
},
{
"id": "186f3de8-cdb9-4190-91ec-aceba939a70c",
"name": "Google 드라이브 File Created",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-1580,
160
],
"parameters": {
"event": "fileCreated",
"options": {
"fileType": "all"
},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFolder",
"folderToWatch": {
"__rl": true,
"mode": "list",
"value": "1WlejjfGrijAhMsJ2zWUa-2OZsiXIj4Bu",
"cachedResultUrl": "https://drive.google.com/drive/folders/null",
"cachedResultName": "4. Personal Helper"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "6k5Fu82oEMsV1a3A",
"name": "Google Drive account"
}
},
"typeVersion": 1
},
{
"id": "91e7cd3d-e35b-4483-b092-0350873fdb7c",
"name": "메모3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2060,
-680
],
"parameters": {
"width": 320,
"content": "## Add documents to vector store when updating or creating new documents in Google Drive"
},
"typeVersion": 1
},
{
"id": "bcda0f55-7251-48b0-b3ed-b2739b151dbe",
"name": "메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1700,
-60
],
"parameters": {
"color": 7,
"width": 640,
"height": 655,
"content": "## 1. Build Databse\n[Read more about the HTTP Request Tool](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest)\n\nImport your marketing PDF document to build your vector store. This will be used as the knowledgebase by the Tourist guide AI Agent."
},
"typeVersion": 1
},
{
"id": "d74cef89-3f35-4a1e-b0db-fcced3f11227",
"name": "채팅 메시지 수신 시",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-240,
220
],
"webhookId": "7d2ecd50-140d-4b7d-a07b-42300ce295b0",
"parameters": {
"public": true,
"options": {}
},
"typeVersion": 1.1
},
{
"id": "d1ecb940-335c-40c9-9880-d899b50aaa1b",
"name": "Pinecone 벡터 스토어",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
-900,
40
],
"parameters": {
"mode": "insert",
"options": {},
"pineconeIndex": {
"__rl": true,
"mode": "list",
"value": "my-docs",
"cachedResultName": "my-docs"
}
},
"credentials": {
"pineconeApi": {
"id": "oXLXLM4QUaxoxCQM",
"name": "PineconeApi account - M "
}
},
"typeVersion": 1
},
{
"id": "4e62dd9c-6c3a-4f13-9f0f-fef2df99a304",
"name": "Pinecone 벡터 스토어 (Retrieval)",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
280,
600
],
"parameters": {
"options": {},
"pineconeIndex": {
"__rl": true,
"mode": "list",
"value": "my-docs",
"cachedResultName": "my-docs"
}
},
"credentials": {
"pineconeApi": {
"id": "oXLXLM4QUaxoxCQM",
"name": "PineconeApi account - M "
}
},
"typeVersion": 1
},
{
"id": "0efaa10f-2908-41a6-aeda-cd54c168f4ba",
"name": "Download File From Google 드라이브1",
"type": "n8n-nodes-base.googleDrive",
"position": [
-1300,
380
],
"parameters": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "0AGMjmhIM2B3eUk9PVA",
"cachedResultUrl": "https://drive.google.com/drive/folders/0AGMjmhIM2B3eUk9PVA",
"cachedResultName": "Shape Labs"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1WlejjfGrijAhMsJ2zWUa-2OZsiXIj4Bu",
"cachedResultUrl": "https://drive.google.com/drive/folders/1WlejjfGrijAhMsJ2zWUa-2OZsiXIj4Bu",
"cachedResultName": "4. Personal Helper"
},
"resource": "folder"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "6k5Fu82oEMsV1a3A",
"name": "Google Drive account"
}
},
"typeVersion": 3
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "e1019cc3-1fb9-421f-a440-ad87d0dc8d53",
"connections": {
"AI Sales Agent": {
"main": [
[]
]
},
"Embeddings OpenAI": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store (Retrieval)",
"type": "ai_embedding",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Sales Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Vector Store Tool": {
"ai_tool": [
[
{
"node": "AI Sales Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Embeddings OpenAI1": {
"ai_embedding": [
[
{
"node": "Pinecone Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "Vector Store Tool",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"5431b1f1-1c98-4073-a15e-f46bc04a9481": {
"ai_document": [
[
{
"node": "Pinecone Vector Store",
"type": "ai_document",
"index": 0
}
]
]
},
"Window Buffer Memory": {
"ai_memory": [
[
{
"node": "AI Sales Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Google Drive File Created": {
"main": [
[
{
"node": "Download File From Google Drive",
"type": "main",
"index": 0
}
]
]
},
"Google Drive File Updated": {
"main": [
[
{
"node": "Download File From Google Drive",
"type": "main",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Sales Agent",
"type": "main",
"index": 0
}
]
]
},
"Download File From Google Drive": {
"main": [
[
{
"node": "Pinecone Vector Store",
"type": "main",
"index": 0
}
]
]
},
"Pinecone Vector Store (Retrieval)": {
"ai_vectorStore": [
[
{
"node": "Vector Store Tool",
"type": "ai_vectorStore",
"index": 0
}
]
]
},
"Recursive Character Text Splitter": {
"ai_textSplitter": [
[
{
"node": "5431b1f1-1c98-4073-a15e-f46bc04a9481",
"type": "ai_textSplitter",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
고급 - AI RAG, 멀티모달 AI
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
RAG 기반 LLM 채팅 로봇
RAG, Pinecone 벡터 데이터베이스와 OpenAI로 회사 정책 채팅 로봇 생성
Google Drive
Agent
Google Drive Trigger
+
Google Drive
Agent
Google Drive Trigger
17 노드Pramod Kumar Rathoure
AI RAG
간단한 RAG 챗봇
OpenAI와 Pinecone을 사용한 고객 지원 RAG 채팅 로봇
Google Drive
Agent
Google Drive Trigger
+
Google Drive
Agent
Google Drive Trigger
15 노드Ilyass Kanissi
AI RAG
컨텍스트 혼합 RAG AI 콘텐츠
Google Drive에서 Supabase 상황 벡터 데이터베이스로 동기화, RAG 애플리케이션 사용
If
Set
Code
+
If
Set
Code
76 노드Michael Taleb
AI RAG
Webhook, Pinecone + OpenAI + n8n을 기반으로 한 지능형 문서 질문 응답 시스템
기반 OpenAI GPT, Pinecone 벡터 데이터베이스 및 Google Drive 통합의 문서 질문 답변 시스템
Webhook
Google Drive
Manual Trigger
+
Webhook
Google Drive
Manual Trigger
30 노드Mohan Gopal
내부 위키
문서 수집
Google Drive, Sheets 및 OpenAI를 사용한 문서 수집 및 RAG 시스템 자동화
If
Form
Crypto
+
If
Form
Crypto
28 노드Mohamed Abdelwahab
기타
리드 캡처 및 비즈니스 Q&A를 위한 AI 챗봇
GPT-4o, Pinecone, Google Sheets 기반 자동 리드 캡처 및 비즈니스 Q&A
Google Drive
Agent
Google Sheets Tool
+
Google Drive
Agent
Google Sheets Tool
17 노드Belgacem Dhiflaoui
리드 육성
워크플로우 정보
난이도
고급
노드 수20
카테고리2
노드 유형12
저자
Marko
@perspectalogBackend engineer with 10+ years of experience designing and optimizing database-driven systems. I help teams build scalable, secure, and high-performance infrastructure using modern backend stacks. Book a call to discuss how I can support your API, data, or automation workflows.
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유