8
n8n 한국어amn8n.com

즉각적인 RAG 빌더

중급

이것은Engineering, AI, IT Ops분야의자동화 워크플로우로, 12개의 노드를 포함합니다.주로 GoogleDrive, Agent, GoogleDriveTrigger, ChatTrigger, LmChatOpenAi 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. 사용Google Drive、OpenAI GPT-4o-mini및Pinecone构建및쿼리RAG系统

사전 요구사항
  • Google Drive API 인증 정보
  • OpenAI API Key
  • Pinecone API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "xOFhKr29kjrBDnlw",
  "meta": {
    "instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc",
    "templateCredsSetupCompleted": true
  },
  "name": "Instant RaG Builder",
  "tags": [],
  "nodes": [
    {
      "id": "71812204-ccca-4757-a52f-0cd30c7ef393",
      "name": "Google Drive 트리거",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -440,
        -80
      ],
      "parameters": {
        "event": "fileCreated",
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "list",
          "value": "1uf6zZN51rgAuQgid4-Oi314f6mJIQdiB",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1uf6zZN51rgAuQgid4-Oi314f6mJIQdiB",
          "cachedResultName": "ETOO power"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "IPz4dCJVFC8uaoHw",
          "name": "Google Drive account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e4302b23-c964-421e-a8fd-3e84935a1fea",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -220,
        -80
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {},
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "IPz4dCJVFC8uaoHw",
          "name": "Google Drive account 2"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "9990d9d8-3c56-49af-beb9-d9a335ed7874",
      "name": "Pinecone 벡터 저장소",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        40,
        -80
      ],
      "parameters": {
        "mode": "insert",
        "options": {},
        "pineconeIndex": {
          "__rl": true,
          "mode": "list",
          "value": "ragfile",
          "cachedResultName": "ragfile"
        }
      },
      "credentials": {
        "pineconeApi": {
          "id": "Q5ey0Vpj2rWRrb7p",
          "name": "PineconeApi account 2"
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "ee09de71-4146-4f51-a036-5eeb0d72044a",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -40,
        140
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "AAQM78g30SkuHYxB",
          "name": "OpenAi success"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "b1edcf2c-4b19-43dc-9985-dad03a0e6df2",
      "name": "기본 데이터 로더",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        180,
        140
      ],
      "parameters": {
        "options": {},
        "dataType": "binary"
      },
      "typeVersion": 1
    },
    {
      "id": "1db4c053-9953-4a63-91cc-676fc59d434d",
      "name": "재귀 문자 텍스트 분할기",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        200,
        260
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "80e69d74-18ca-4d47-8900-9fa070fd2b22",
      "name": "AI 에이전트",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -440,
        440
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 2
    },
    {
      "id": "9679f79a-cbee-4d6e-9633-76c96e5c7ffc",
      "name": "채팅 메시지 수신 시",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -720,
        440
      ],
      "webhookId": "fa37c7db-d78c-4a86-9de3-7cb6805de74f",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "3ea509ac-f5dd-410f-b310-587382770773",
      "name": "OpenAI 채팅 모델",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -440,
        620
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "AAQM78g30SkuHYxB",
          "name": "OpenAi success"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "6bbee514-a4c6-4ea9-97fb-02d0343c93a9",
      "name": "Pinecone 벡터 저장소1",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        -140,
        600
      ],
      "parameters": {
        "mode": "retrieve-as-tool",
        "options": {},
        "toolName": "knowledge_base",
        "pineconeIndex": {
          "__rl": true,
          "mode": "list",
          "value": "ragfile",
          "cachedResultName": "ragfile"
        },
        "toolDescription": "call this tool to access the database"
      },
      "credentials": {
        "pineconeApi": {
          "id": "Q5ey0Vpj2rWRrb7p",
          "name": "PineconeApi account 2"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "37fd9772-35c6-4310-b449-f1b07b729f6d",
      "name": "Embeddings OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        60,
        760
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "AAQM78g30SkuHYxB",
          "name": "OpenAi success"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "51c6804d-6b49-4a5f-a475-26abef7925b0",
      "name": "스티키 노트",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        80
      ],
      "parameters": {
        "width": 460,
        "height": 620,
        "content": "## Instant RaG Builder: Drive to Pinecone\n\n**Author** **David Olusola**\n\n**Set Up** :✅ Connect credentials:\n    Google Drive, OpenAI, Pinecone\n\n📁 Upload file to:\n    Google Drive folder (auto-watched)\n\n🔄 Workflow does the rest:\n    - Downloads file\n    - Splits text\n    - Creates embeddings\n    - Stores in Pinecone\n\n💬 Send a chat message to the Agent\n    → Query stored knowledge instantly!"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "f8ed5291-ab8f-428a-9728-8db5b3c04122",
  "connections": {
    "e4302b23-c964-421e-a8fd-3e84935a1fea": {
      "main": [
        [
          {
            "node": "9990d9d8-3c56-49af-beb9-d9a335ed7874",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ee09de71-4146-4f51-a036-5eeb0d72044a": {
      "ai_embedding": [
        [
          {
            "node": "9990d9d8-3c56-49af-beb9-d9a335ed7874",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "3ea509ac-f5dd-410f-b310-587382770773": {
      "ai_languageModel": [
        [
          {
            "node": "80e69d74-18ca-4d47-8900-9fa070fd2b22",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "37fd9772-35c6-4310-b449-f1b07b729f6d": {
      "ai_embedding": [
        [
          {
            "node": "6bbee514-a4c6-4ea9-97fb-02d0343c93a9",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "b1edcf2c-4b19-43dc-9985-dad03a0e6df2": {
      "ai_document": [
        [
          {
            "node": "9990d9d8-3c56-49af-beb9-d9a335ed7874",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "71812204-ccca-4757-a52f-0cd30c7ef393": {
      "main": [
        [
          {
            "node": "e4302b23-c964-421e-a8fd-3e84935a1fea",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6bbee514-a4c6-4ea9-97fb-02d0343c93a9": {
      "ai_tool": [
        [
          {
            "node": "80e69d74-18ca-4d47-8900-9fa070fd2b22",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "9679f79a-cbee-4d6e-9633-76c96e5c7ffc": {
      "main": [
        [
          {
            "node": "80e69d74-18ca-4d47-8900-9fa070fd2b22",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1db4c053-9953-4a63-91cc-676fc59d434d": {
      "ai_textSplitter": [
        [
          {
            "node": "b1edcf2c-4b19-43dc-9985-dad03a0e6df2",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - 엔지니어링, 인공지능, IT 운영

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수12
카테고리3
노드 유형10
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
David Olusola

David Olusola

@dae221

AI automation consultant working with ambitious businesses on their most complex operational challenges. For project inquiries, reach me at david@daexai.com

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34