Google Drive 벡터 데이터베이스 로드기
중급
이것은Building Blocks, AI, IT Ops분야의자동화 워크플로우로, 15개의 노드를 포함합니다.주로 Switch, GoogleDrive, ManualTrigger, SplitInBatches, ExtractFromFile 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. 📥 Google Drive 문서를 벡터 임베딩으로 변환
사전 요구사항
- •Google Drive API 인증 정보
- •OpenAI API Key
사용된 노드 (15)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "WceMkVib0VLlF1BZ",
"meta": {
"instanceId": "ecc960f484e18b0e09045fd93acf0d47f4cfff25cc212ea348a08ac3aae81850",
"templateCredsSetupCompleted": true
},
"name": "Vector DB Loader from Google Drive",
"tags": [
{
"id": "6rb8rVhKZj4t0Kne",
"name": "Current",
"createdAt": "2025-02-04T18:13:17.427Z",
"updatedAt": "2025-02-04T18:13:17.427Z"
}
],
"nodes": [
{
"id": "6652e41a-d14a-4e17-9dcd-34df114d219a",
"name": "기본 데이터 로더",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
1240,
1100
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "8ae38b72-52fd-46bc-ab47-50bebe5ac4ee",
"name": "재귀 문자 텍스트 분할기",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"position": [
1320,
1300
],
"parameters": {
"options": {},
"chunkOverlap": 50
},
"typeVersion": 1
},
{
"id": "57ce64af-88d4-4dc4-8c8e-01717c1bd47d",
"name": "Embeddings OpenAI",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
1120,
1100
],
"parameters": {
"model": "text-embedding-3-small",
"options": {}
},
"credentials": {
"openAiApi": {
"id": "fzLcLisovaZjIqma",
"name": "AlexK OpenAi account"
}
},
"typeVersion": 1
},
{
"id": "e6bed8bc-f629-41fd-aa6e-9158b1cbc323",
"name": "Postgres PGVector 저장소",
"type": "@n8n/n8n-nodes-langchain.vectorStorePGVector",
"position": [
1140,
880
],
"parameters": {
"mode": "insert",
"options": {
"collection": {
"values": {
"useCollection": true,
"collectionName": "n8n_wfs"
}
}
},
"tableName": "n8n_vectors_wfs"
},
"credentials": {
"postgres": {
"id": "UkNm7VVkmuXOwMVa",
"name": "KBB Postgres account"
}
},
"typeVersion": 1.1
},
{
"id": "96fbc1f3-920d-44c9-9314-742efa3a698a",
"name": "워크플로우 테스트 시",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-280,
740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4cd7a934-04cc-47b5-a771-db554680ba77",
"name": "항목 순환",
"type": "n8n-nodes-base.splitInBatches",
"position": [
160,
740
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "778593d8-fe1c-4eb9-865a-e6ce9ed5f900",
"name": "파일 이동",
"type": "n8n-nodes-base.googleDrive",
"position": [
1500,
880
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $('Loop Over Items').item.json.id }}"
},
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1Re6vg-PZxBoUU6sTRDbGs-77bAJ40u8F",
"cachedResultUrl": "https://drive.google.com/drive/folders/1Re6vg-PZxBoUU6sTRDbGs-77bAJ40u8F",
"cachedResultName": "vectorized"
},
"operation": "move"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "kxXwhBLKOmB8CkBW",
"name": "AlexK Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "3a6584f5-ed86-4900-9177-40ffe82d0ad3",
"name": "파일 다운로드",
"type": "n8n-nodes-base.googleDrive",
"position": [
380,
680
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"options": {},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "kxXwhBLKOmB8CkBW",
"name": "AlexK Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "e1931ab6-4391-46c3-9d7d-22cbfbf90327",
"name": "폴더 검색",
"type": "n8n-nodes-base.googleDrive",
"position": [
-60,
740
],
"parameters": {
"filter": {
"folderId": {
"__rl": true,
"mode": "list",
"value": "1mBHrP8UzUnfn3dj_3QS1r0XhQQyVPAGX",
"cachedResultUrl": "https://drive.google.com/drive/folders/1mBHrP8UzUnfn3dj_3QS1r0XhQQyVPAGX",
"cachedResultName": "n8n Workflow JSON Files"
},
"whatToSearch": "files"
},
"options": {},
"resource": "fileFolder",
"returnAll": true
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "kxXwhBLKOmB8CkBW",
"name": "AlexK Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "95134ab4-806f-4c47-96a6-e261b3176ebf",
"name": "스케줄 트리거",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-280,
940
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 3
}
]
}
},
"typeVersion": 1.2
},
{
"id": "0fe604ed-e886-4aa3-856f-c46fb79ce0de",
"name": "스티키 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
1700,
960
],
"parameters": {
"color": 7,
"width": 380,
"height": 240,
"content": "## Creative Commons License\n*License*: **Creative Commons Attribution-ShareAlike 4.0 International** (CC BY-SA 4.0)\n\n*Author*: **AlexK1919**\nYou are free to use, adapt, and share this workflow—even commercially—under the terms of this license.\n\nFull license details: https://creativecommons.org/licenses/by-sa/4.0/"
},
"typeVersion": 1
},
{
"id": "f8055452-b487-46c7-92fe-14b3c88d193f",
"name": "스위치",
"type": "n8n-nodes-base.switch",
"position": [
560,
680
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "pdf",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "7b4e792b-ab6d-4b9b-88a1-d8e51bea6853",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{$binary[\"data\"].mimeType}}",
"rightValue": "application/pdf"
}
]
},
"renameOutput": true
},
{
"outputKey": "text",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "09b7d7c5-5353-4719-b4e2-072e4da39948",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{$binary[\"data\"].mimeType}}",
"rightValue": "text/plain"
}
]
},
"renameOutput": true
},
{
"outputKey": "json",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d2763a45-a592-47c8-868f-59dfcd17a71c",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{$binary[\"data\"].mimeType}}",
"rightValue": "application/json"
}
]
},
"renameOutput": true
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "c704f48e-a1f5-4539-bde2-545862d21bc6",
"name": "PDF에서 추출",
"type": "n8n-nodes-base.extractFromFile",
"position": [
780,
480
],
"parameters": {
"options": {},
"operation": "pdf"
},
"typeVersion": 1
},
{
"id": "63b3a751-5726-4821-8379-72af15226584",
"name": "텍스트에서 추출",
"type": "n8n-nodes-base.extractFromFile",
"position": [
780,
680
],
"parameters": {
"options": {},
"operation": "text"
},
"typeVersion": 1
},
{
"id": "44a5980a-17aa-4a09-8040-a7d9804c7998",
"name": "JSON에서 추출",
"type": "n8n-nodes-base.extractFromFile",
"position": [
780,
880
],
"parameters": {
"options": {},
"operation": "fromJson"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"timezone": "America/Los_Angeles",
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": "lYgdNzdEapw2W8gK",
"executionOrder": "v1"
},
"versionId": "4f54c70a-b18b-4e4c-8959-ace70dd41218",
"connections": {
"f8055452-b487-46c7-92fe-14b3c88d193f": {
"main": [
[
{
"node": "c704f48e-a1f5-4539-bde2-545862d21bc6",
"type": "main",
"index": 0
}
],
[
{
"node": "63b3a751-5726-4821-8379-72af15226584",
"type": "main",
"index": 0
}
],
[
{
"node": "44a5980a-17aa-4a09-8040-a7d9804c7998",
"type": "main",
"index": 0
}
]
]
},
"778593d8-fe1c-4eb9-865a-e6ce9ed5f900": {
"main": [
[
{
"node": "4cd7a934-04cc-47b5-a771-db554680ba77",
"type": "main",
"index": 0
}
]
]
},
"3a6584f5-ed86-4900-9177-40ffe82d0ad3": {
"main": [
[
{
"node": "f8055452-b487-46c7-92fe-14b3c88d193f",
"type": "main",
"index": 0
}
]
]
},
"e1931ab6-4391-46c3-9d7d-22cbfbf90327": {
"main": [
[
{
"node": "4cd7a934-04cc-47b5-a771-db554680ba77",
"type": "main",
"index": 0
}
]
]
},
"4cd7a934-04cc-47b5-a771-db554680ba77": {
"main": [
[],
[
{
"node": "3a6584f5-ed86-4900-9177-40ffe82d0ad3",
"type": "main",
"index": 0
}
]
]
},
"c704f48e-a1f5-4539-bde2-545862d21bc6": {
"main": [
[
{
"node": "e6bed8bc-f629-41fd-aa6e-9158b1cbc323",
"type": "main",
"index": 0
}
]
]
},
"95134ab4-806f-4c47-96a6-e261b3176ebf": {
"main": [
[
{
"node": "e1931ab6-4391-46c3-9d7d-22cbfbf90327",
"type": "main",
"index": 0
}
]
]
},
"57ce64af-88d4-4dc4-8c8e-01717c1bd47d": {
"ai_embedding": [
[
{
"node": "e6bed8bc-f629-41fd-aa6e-9158b1cbc323",
"type": "ai_embedding",
"index": 0
}
]
]
},
"44a5980a-17aa-4a09-8040-a7d9804c7998": {
"main": [
[
{
"node": "e6bed8bc-f629-41fd-aa6e-9158b1cbc323",
"type": "main",
"index": 0
}
]
]
},
"63b3a751-5726-4821-8379-72af15226584": {
"main": [
[
{
"node": "e6bed8bc-f629-41fd-aa6e-9158b1cbc323",
"type": "main",
"index": 0
}
]
]
},
"6652e41a-d14a-4e17-9dcd-34df114d219a": {
"ai_document": [
[
{
"node": "e6bed8bc-f629-41fd-aa6e-9158b1cbc323",
"type": "ai_document",
"index": 0
}
]
]
},
"e6bed8bc-f629-41fd-aa6e-9158b1cbc323": {
"main": [
[
{
"node": "778593d8-fe1c-4eb9-865a-e6ce9ed5f900",
"type": "main",
"index": 0
}
]
]
},
"8ae38b72-52fd-46bc-ab47-50bebe5ac4ee": {
"ai_textSplitter": [
[
{
"node": "6652e41a-d14a-4e17-9dcd-34df114d219a",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"96fbc1f3-920d-44c9-9314-742efa3a698a": {
"main": [
[
{
"node": "e1931ab6-4391-46c3-9d7d-22cbfbf90327",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 빌딩 블록, 인공지능, IT 운영
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
[템플릿] AI 반려동물 가게 v8
🐶 AI 펫 샵 어시스턴트 - GPT-4o, Google 캘린더 및 WhatsApp/Instagram/Facebook 통합
If
N8n
Set
+
If
N8n
Set
244 노드Amanda Benks
영업
AI 스마트 어시스턴트: Supabase 스토리지 및 Google Drive 파일과 대화
AI스마트어시스턴트:与Supabase存储및Google Drive文件对话
If
Set
Wait
+
If
Set
Wait
62 노드Mark Shcherbakov
엔지니어링
Supabase 스토리지 내 파일과 대화하는 AI 에이전트
与Supabase存储中文件对话의AI스마트体
If
Merge
Switch
+
If
Merge
Switch
33 노드Mark Shcherbakov
엔지니어링
AI 대리인 레스토랑 [템플릿]
🤖 WhatsApp, 인스타그램, 메신저의 AI 레스토랑 도우미
If
N8n
Set
+
If
N8n
Set
239 노드Amanda Benks
기타
AI 기반 RAG 문서 처리 및 챗봇 - Google Drive, Supabase, OpenAI
Google Drive, Supabase 및 OpenAI를 활용한 AI 기반 RAG 문서 처리 및 챗봇
Set
Code
Limit
+
Set
Code
Limit
35 노드Billy Christi
인공지능
텍스트, 음성, 이미지 및 PDF를 지원하는 AI 기반 WhatsApp 챗봇(RAG)
텍스트, 음성, 이미지 및 PDF 지원 AI 기반 WhatsApp 챗봇(RAG)
Set
Code
Switch
+
Set
Code
Switch
35 노드NovaNode
엔지니어링