LlamaIndex + Azure OpenAI를 사용하여 Google 드라이브에서 지식 베이스 자동 업데이트
중급
이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 12개의 노드를 포함합니다.주로 If, Wait, GoogleDrive, HttpRequest, GoogleDriveTrigger 등의 노드를 사용하며. Google Drive, LlamaIndex 및 Azure OpenAI 임베딩을 사용하여 지식 베이스 자동 업데이트
사전 요구사항
- •Google Drive API 인증 정보
- •대상 API의 인증 정보가 필요할 수 있음
- •OpenAI API Key
사용된 노드 (12)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "049HY4CxQZX4a53d",
"meta": {
"instanceId": "c2650793f644091dc80fb900fe63448ad1f4b774008de9608064d67294f8307c"
},
"name": "Auto-Update Knowledge Base from Google Drive using LlamaIndex + Azure OpenAI",
"tags": [],
"nodes": [
{
"id": "222eab66-2d34-40a5-9748-5c701324962d",
"name": "고정 메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"color": 5,
"width": 1888,
"height": 1004,
"content": "\n# Knowledge Base"
},
"typeVersion": 1
},
{
"id": "d9eb38a7-38af-4dae-97a4-0fbb21b26c87",
"name": "저장소에 데이터 삽입",
"type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
"position": [
1488,
336
],
"parameters": {
"mode": "insert",
"memoryKey": {
"__rl": true,
"mode": "list",
"value": "n8n KB"
}
},
"typeVersion": 1.2
},
{
"id": "542da5cc-ad0f-408a-babe-ce8fce3cced6",
"name": "Azure OpenAI 임베딩",
"type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
"position": [
1488,
560
],
"parameters": {
"model": "3small",
"options": {}
},
"credentials": {
"azureOpenAiApi": {
"id": "PyHApZfeVvAxoF4c",
"name": "3small embedd"
}
},
"typeVersion": 1
},
{
"id": "53e26710-ff6e-4325-8dc0-88380f5c4ffe",
"name": "기본 데이터 로더1",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
1680,
560
],
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "4c86de41-8cce-49f5-93c5-44bf7127d46a",
"name": "파싱 완료 확인1",
"type": "n8n-nodes-base.if",
"position": [
1040,
384
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "921ff875-817d-47fd-bd47-530ebdc21902",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "SUCCESS"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "6dae5398-fe30-4415-84e2-74eacbad9401",
"name": "고정 메모1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1952,
0
],
"parameters": {
"width": 688,
"height": 1008,
"content": "# 📋 Credentials Setup Guide\n\n## Required Credentials\n\n### 1. Azure OpenAI API\n**Node:** Embeddings Azure OpenAI\n- **Purpose:** Generate embeddings for vector storage\n- **Setup:**\n 1. Go to [Azure Portal](https://portal.azure.com)\n 2. Create/access Azure OpenAI resource\n 3. Navigate to \"Keys and Endpoint\"\n 4. Copy API Key and Endpoint\n 5. In n8n: Add credential \"Azure OpenAI\"\n 6. Paste API Key, Endpoint, and set deployment name to \"3small\"\n\n### 2. LlamaIndex API\n**Node:** Parse Document via LlamaIndex1\n- **Purpose:** Parse documents using LlamaIndex cloud service\n- **Setup:**\n 1. Visit [LlamaIndex Cloud](https://cloud.llamaindex.ai)\n 2. Sign up/login to account\n 3. Go to API Settings\n 4. Generate new API key\n 5. In n8n: Add \"HTTP Header Auth\" credential\n 6. Header Name: `Authorization`\n 7. Header Value: `Bearer YOUR_API_KEY`\n\n### 3. Google Drive OAuth2\n**Node:** Knowledge Base Updated Trigger1 & Download Knowledge Document1\n- **Purpose:** Monitor and download files from Google Drive\n- **Setup:**\n 1. Go to [Google Cloud Console](https://console.cloud.google.com)\n 2. Create new project or select existing\n 3. Enable Google Drive API\n 4. Create OAuth 2.0 credentials\n 5. Add authorized redirect URI from n8n\n 6. In n8n: Add \"Google Drive OAuth2\" credential\n 7. Enter Client ID and Client Secret\n 8. Complete OAuth flow"
},
"typeVersion": 1
},
{
"id": "b6840dfd-cfbe-4362-a9df-2b7fce796a1f",
"name": "지식 베이스 업데이트 트리거",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
144,
464
],
"parameters": {
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFile",
"fileToWatch": {
"__rl": true,
"mode": "list",
"value": "10maY1IaeelAKV5xBe5DsHiKEXCoAeAFuH2sWfZkvXa4",
"cachedResultUrl": "https://docs.google.com/document/d/10maY1IaeelAKV5xBe5DsHiKEXCoAeAFuH2sWfZkvXa4/edit?usp=drivesdk",
"cachedResultName": "n8n Template Guideline"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "qhTzSrkPoDyRkz5w",
"name": "contactkhmuhtadin@gmail.com"
}
},
"typeVersion": 1
},
{
"id": "944bc27a-4d5d-450e-a4be-6a3fa361dbf5",
"name": "지식 문서 다운로드",
"type": "n8n-nodes-base.googleDrive",
"position": [
368,
464
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "list",
"value": "10maY1IaeelAKV5xBe5DsHiKEXCoAeAFuH2sWfZkvXa4",
"cachedResultUrl": "https://docs.google.com/document/d/10maY1IaeelAKV5xBe5DsHiKEXCoAeAFuH2sWfZkvXa4/edit?usp=drivesdk",
"cachedResultName": "n8n Template Guideline"
},
"options": {},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "qhTzSrkPoDyRkz5w",
"name": "contactkhmuhtadin@gmail.com"
}
},
"typeVersion": 3
},
{
"id": "36d2a934-2b82-42f8-9296-bd72099f97bf",
"name": "LlamaIndex를 통한 문서 파싱",
"type": "n8n-nodes-base.httpRequest",
"position": [
592,
464
],
"parameters": {
"url": "https://api.cloud.llamaindex.ai/api/v1/parsing/upload",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "multipart-form-data",
"sendHeaders": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "file",
"parameterType": "formBinaryData",
"inputDataFieldName": "data"
}
]
},
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "4hJbMGqzerAxpVEw",
"name": "llamaindex"
}
},
"typeVersion": 4.2
},
{
"id": "dc9d019c-5d7b-494f-afb2-e22fd602f6de",
"name": "문서 처리 모니터링",
"type": "n8n-nodes-base.httpRequest",
"position": [
816,
464
],
"parameters": {
"url": "=https://api.cloud.llamaindex.ai/api/v1/parsing/job/{{ $json.id }}",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "4hJbMGqzerAxpVEw",
"name": "llamaindex"
}
},
"typeVersion": 4.2
},
{
"id": "431b88a4-7b20-424c-afd4-cf3afab67f69",
"name": "파싱된 콘텐츠 검색",
"type": "n8n-nodes-base.httpRequest",
"position": [
1264,
336
],
"parameters": {
"url": "=https://api.cloud.llamaindex.ai/api/v1/parsing/job/{{ $json.id }}/result/markdown",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "4hJbMGqzerAxpVEw",
"name": "llamaindex"
}
},
"typeVersion": 4.2
},
{
"id": "5ffdad42-66de-4899-838e-83aacacd231e",
"name": "상태 재확인 전 대기",
"type": "n8n-nodes-base.wait",
"position": [
1264,
560
],
"webhookId": "ba3e8cc1-4b9e-4eee-bf41-78862eea8023",
"parameters": {
"amount": 10
},
"typeVersion": 1.1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "db6d5f9f-520b-4b72-a4fc-f1985143580f",
"connections": {
"53e26710-ff6e-4325-8dc0-88380f5c4ffe": {
"ai_document": [
[
{
"node": "d9eb38a7-38af-4dae-97a4-0fbb21b26c87",
"type": "ai_document",
"index": 0
}
]
]
},
"542da5cc-ad0f-408a-babe-ce8fce3cced6": {
"ai_embedding": [
[
{
"node": "d9eb38a7-38af-4dae-97a4-0fbb21b26c87",
"type": "ai_embedding",
"index": 0
}
]
]
},
"431b88a4-7b20-424c-afd4-cf3afab67f69": {
"main": [
[
{
"node": "d9eb38a7-38af-4dae-97a4-0fbb21b26c87",
"type": "main",
"index": 0
}
]
]
},
"4c86de41-8cce-49f5-93c5-44bf7127d46a": {
"main": [
[
{
"node": "431b88a4-7b20-424c-afd4-cf3afab67f69",
"type": "main",
"index": 0
}
],
[
{
"node": "5ffdad42-66de-4899-838e-83aacacd231e",
"type": "main",
"index": 0
}
]
]
},
"5ffdad42-66de-4899-838e-83aacacd231e": {
"main": [
[
{
"node": "dc9d019c-5d7b-494f-afb2-e22fd602f6de",
"type": "main",
"index": 0
}
]
]
},
"944bc27a-4d5d-450e-a4be-6a3fa361dbf5": {
"main": [
[
{
"node": "36d2a934-2b82-42f8-9296-bd72099f97bf",
"type": "main",
"index": 0
}
]
]
},
"dc9d019c-5d7b-494f-afb2-e22fd602f6de": {
"main": [
[
{
"node": "4c86de41-8cce-49f5-93c5-44bf7127d46a",
"type": "main",
"index": 0
}
]
]
},
"36d2a934-2b82-42f8-9296-bd72099f97bf": {
"main": [
[
{
"node": "dc9d019c-5d7b-494f-afb2-e22fd602f6de",
"type": "main",
"index": 0
}
]
]
},
"b6840dfd-cfbe-4362-a9df-2b7fce796a1f": {
"main": [
[
{
"node": "944bc27a-4d5d-450e-a4be-6a3fa361dbf5",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 콘텐츠 제작, 멀티모달 AI
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
Google Maps, GPT-4, WhatsApp을 사용한 비즈니스 파트너 확장 자동화
Google Maps, GPT-4, WhatsApp을 사용한 비즈니스 파트너 확장 자동화
If
Set
Code
+
If
Set
Code
64 노드Khairul Muhtadin
AI 챗봇
자동 채용 공고 추출 및 게시 템플릿
자동 채용 공고 추출 및 게시 템플릿
If
Set
Code
+
If
Set
Code
53 노드Khairul Muhtadin
인사
Gemini와 LlamaIndex를 사용하여 워크플로우 JSON에서 AI 주도의 Markdown 문서 생성
Gemini와 LlamaIndex를 사용하여 워크플로우 JSON에서 AI 주도 Markdown 문서 생성
If
Wait
Form Trigger
+
If
Wait
Form Trigger
18 노드Khairul Muhtadin
Rag를 사용한 작업 자동 재게시
RAG, Jina AI, OpenAI에서 WordPress로의 자동 채용 공고 추출 및 게시
If
Set
Code
+
If
Set
Code
56 노드Khairul Muhtadin
인사
AI驱动의이메일分诊与자동回复系统,통합OpenAI에이전트및Gmail
AI驱动의이메일分诊与자동回复系统,통합OpenAI에이전트및Gmail
If
Set
Gmail
+
If
Set
Gmail
68 노드Abdullahi Ahmed
콘텐츠 제작
IG 자막 자동화 프록시 워크플로
Google Drive와 Submagic으로 Instagram/TikTok 비디오 자동 자막 추가
If
Wait
Google Drive
+
If
Wait
Google Drive
14 노드Automate With Marc
콘텐츠 제작