리드 캡처 및 비즈니스 Q&A를 위한 AI 챗봇
고급
이것은Lead Nurturing, AI Chatbot분야의자동화 워크플로우로, 17개의 노드를 포함합니다.주로 GoogleDrive, Agent, GoogleSheetsTool, GoogleDriveTrigger, ChatTrigger 등의 노드를 사용하며. GPT-4o, Pinecone, Google Sheets 기반 자동 리드 캡처 및 비즈니스 Q&A
사전 요구사항
- •Google Drive API 인증 정보
- •Google Sheets API 인증 정보
- •OpenAI API Key
- •Pinecone API Key
사용된 노드 (17)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "R07KTq4pioC2A0oL",
"meta": {
"instanceId": "82cad572864ecfae931ea0fa4a2122d5ad401b8f2cb25fb3ff144b553e0d676d"
},
"name": "AI Chatbot for Lead Capture and Business Q&A",
"tags": [],
"nodes": [
{
"id": "083c6eeb-bc14-43a9-ae83-3545ba49444c",
"name": "Google Drive 트리거",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
-100,
60
],
"parameters": {
"event": "fileCreated",
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFolder",
"folderToWatch": {
"__rl": true,
"mode": "list",
"value": "1UDedbXYGMpviGjiHLbYpTXmERrnQYvy4",
"cachedResultUrl": "https://drive.google.com/drive/folders/1UDedbXYGMpviGjiHLbYpTXmERrnQYvy4",
"cachedResultName": "Rag App"
}
},
"typeVersion": 1
},
{
"id": "ba298cb7-50de-4aa3-a87c-1e826724ffa8",
"name": "Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
120,
60
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"options": {},
"operation": "download"
},
"typeVersion": 3
},
{
"id": "525e9fdb-b424-49a2-8d47-1fd6dfad5e7f",
"name": "Pinecone 벡터 저장소",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
340,
60
],
"parameters": {
"mode": "insert",
"options": {
"pineconeNamespace": "Q&A"
},
"pineconeIndex": {
"__rl": true,
"mode": "id",
"value": "pineconeIndex"
}
},
"typeVersion": 1
},
{
"id": "05dfceca-03ec-48ca-97a1-c8a03df55bf4",
"name": "Embeddings OpenAI",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
240,
260
],
"parameters": {
"options": {}
},
"typeVersion": 1.2
},
{
"id": "0ef50e4c-19c1-468d-83b7-d108297b57cb",
"name": "기본 데이터 로더",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
440,
240
],
"parameters": {
"options": {},
"dataType": "binary"
},
"typeVersion": 1
},
{
"id": "819b7187-fdc3-4b66-8658-c9b9e029157f",
"name": "재귀적 문자 텍스트 분할기",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"position": [
400,
420
],
"parameters": {
"options": {},
"chunkSize": 500,
"chunkOverlap": 20
},
"typeVersion": 1
},
{
"id": "fb6b0698-8ac7-41bb-b3b3-9f0ab56903f0",
"name": "채팅 메시지 수신 시",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-100,
680
],
"webhookId": "854c829c-2ce6-426f-89e2-ed44d33182f3",
"parameters": {
"mode": "webhook",
"public": true,
"options": {}
},
"typeVersion": 1.1
},
{
"id": "0a6f0695-a028-4e26-9648-0c8b66b15627",
"name": "AI 에이전트",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
320,
680
],
"parameters": {
"options": {
"systemMessage": "=## Role:\nYou are a friendly assistant for a Company named *New Company**.\n\n## Task:\nYou answer questions about the business.\n\n## Details:\nYou have access to various tools, which you use correctly.\n\n## Tools:\n- **newCompany_q** \n Use this tool to answer questions with knowledge about the company.\n\n- **sheets** \n Use this tool to store contact information such as name, email, interestet in and phone number.\n\nAfter a customer asks about opening hours, products, location, or business information, ask them for their name, email, specific interests and phone number.\n"
}
},
"typeVersion": 1.7
},
{
"id": "2f6f4f3c-fa64-40be-97e6-db66a65f21ae",
"name": "OpenAI 채팅 모델",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
80,
900
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "gpt-4o"
},
"options": {}
},
"typeVersion": 1.2
},
{
"id": "ac7eff3d-de14-4921-b980-0bccd327492e",
"name": "윈도우 버퍼 메모리",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
240,
900
],
"parameters": {
"contextWindowLength": 12
},
"typeVersion": 1.3
},
{
"id": "562d791b-c360-4fdb-b238-3518d4c39a04",
"name": "OpenAI 채팅 모델1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
720,
1140
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "gpt-4o"
},
"options": {}
},
"typeVersion": 1.2
},
{
"id": "553af7e0-7f68-4d90-992a-b998b30952af",
"name": "Pinecone 벡터 저장소1",
"type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
"position": [
380,
1120
],
"parameters": {
"options": {
"pineconeNamespace": "Q&A"
},
"pineconeIndex": {
"__rl": true,
"mode": "id",
"value": "=pineconeIndex"
}
},
"typeVersion": 1
},
{
"id": "0ea4f43e-3e55-4da4-a43e-dfbdf1e435ef",
"name": "Embeddings OpenAI1",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
340,
1280
],
"parameters": {
"options": {}
},
"typeVersion": 1.2
},
{
"id": "dac4e2e6-23a3-4afa-a0a3-ef5b1f296219",
"name": "newCompany_q",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"position": [
480,
900
],
"parameters": {
"description": "gives answers related to the company newCompany"
},
"typeVersion": 1.1
},
{
"id": "d05ee3f4-a112-4221-810c-49a717bb0720",
"name": "Google Sheets 시트에 행 추가",
"type": "n8n-nodes-base.googleSheetsTool",
"position": [
800,
920
],
"parameters": {
"columns": {
"value": {
"Name": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Name', ``, 'string') }}",
"Email": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Email', ``, 'string') }}",
"Phone": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Phone', ``, 'string') }}",
"Interestet in": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Interestet_in', ``, 'string') }}"
},
"schema": [
{
"id": "Name",
"type": "string",
"display": true,
"required": false,
"displayName": "Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Phone",
"type": "string",
"display": true,
"required": false,
"displayName": "Phone",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Email",
"type": "string",
"display": true,
"required": false,
"displayName": "Email",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Interestet in",
"type": "string",
"display": true,
"required": false,
"displayName": "Interestet in",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "id",
"value": "="
},
"documentId": {
"__rl": true,
"mode": "id",
"value": ""
}
},
"typeVersion": 4.5
},
{
"id": "08fb98b6-74b3-466b-a529-012996f7ebac",
"name": "스티키 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1320,
0
],
"parameters": {
"color": 2,
"width": 1060,
"height": 540,
"content": "## Part One – Company Info to Pinecone Vector Store\nThis workflow automatically processes company information files uploaded to a designated Google Drive folder and stores the extracted knowledge in a Pinecone vector database for later AI usage.\n\n**Trigger:**\nThe workflow is triggered every minute when a new file is created in the specified Google Drive folder you can chose.\n\n**Process:**\nFile Upload\nThe company owner uploads a .txt or other document file containing essential company information to the Google Drive folder.\n\n**Download**\nThe file is automatically downloaded from Google Drive once detected.\n\n**Chunking and Parsing**\nThe content is split using a recursive character splitter (chunk size: 500, overlap: 20), then loaded and prepared for embeddings.\n\n**Embedding Generation**\nUsing OpenAI embeddings, the file content is transformed into vector representations.\n\n**Storage in Pinecone**\nThe resulting embeddings are inserted into the “goldsmith” index within Pinecone under the namespace Q&A.\n\n**Purpose:**\nThis structured knowledge will later be used in Part Two of the project, where an AI chatbot can retrieve relevant company info to assist in generating responses and converting leads."
},
"typeVersion": 1
},
{
"id": "a5b192a3-e660-4492-a312-4d409dbd954b",
"name": "스티키 노트1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1320,
680
],
"parameters": {
"color": 5,
"width": 1060,
"height": 740,
"content": "## Part Two – AI Chatbot for Lead Capture and Business Q&A\nThis workflow enables a chatbot assistant for the goldsmith business Gold Digger, allowing it to answer customer inquiries and collect leads in an automated, intelligent way.\n\n**Trigger:**\nThe workflow is initiated when a customer sends a message to the public AI chat endpoint.\n\n**Process:**\nAI Assistant Activation\nA chat agent is triggered with a system prompt instructing it to act as a friendly assistant for you business. It uses tools intelligently to assist with:\n\nBusiness details (e.g., products, opening hours, services).\n\nCollecting lead data (name, email, interests, phone number).\n\n**Contextual Memory**\nA memory buffer is used to maintain conversation context (window of 12 messages), enabling coherent multi-turn dialogues.\n\n**Knowledge Retrieval**\nThe agent leverages the newCompany_q tool, which accesses a Pinecone vector store populated in Part One. This allows the chatbot to answer questions based on the uploaded company data.\n\n**AI Model**\nGPT-4o is used to generate natural and accurate responses throughout the conversation.\n\n**Lead Capture**\nWhen a user shows interest, the agent collects their:\nName, Email, Phone\n\n**Specific interests**\nThis information is then automatically stored in a connected Google Sheet\n\n**Purpose:**\nThis chatbot workflow acts as a digital front desk, available 24/7 to answer frequently asked questions and collect potential customer information. It streamlines lead generation and boosts customer engagement by providing instant, intelligent responses.\nYou can easily integrate this chatbot into your company website to enhance user experience and automate customer support.\n\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "cd9bd04e-8114-474b-a8a7-3802a869811f",
"connections": {
"ba298cb7-50de-4aa3-a87c-1e826724ffa8": {
"main": [
[
{
"node": "525e9fdb-b424-49a2-8d47-1fd6dfad5e7f",
"type": "main",
"index": 0
}
]
]
},
"dac4e2e6-23a3-4afa-a0a3-ef5b1f296219": {
"ai_tool": [
[
{
"node": "0a6f0695-a028-4e26-9648-0c8b66b15627",
"type": "ai_tool",
"index": 0
}
]
]
},
"05dfceca-03ec-48ca-97a1-c8a03df55bf4": {
"ai_embedding": [
[
{
"node": "525e9fdb-b424-49a2-8d47-1fd6dfad5e7f",
"type": "ai_embedding",
"index": 0
}
]
]
},
"2f6f4f3c-fa64-40be-97e6-db66a65f21ae": {
"ai_languageModel": [
[
{
"node": "0a6f0695-a028-4e26-9648-0c8b66b15627",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"0ea4f43e-3e55-4da4-a43e-dfbdf1e435ef": {
"ai_embedding": [
[
{
"node": "553af7e0-7f68-4d90-992a-b998b30952af",
"type": "ai_embedding",
"index": 0
}
]
]
},
"562d791b-c360-4fdb-b238-3518d4c39a04": {
"ai_languageModel": [
[
{
"node": "dac4e2e6-23a3-4afa-a0a3-ef5b1f296219",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"0ef50e4c-19c1-468d-83b7-d108297b57cb": {
"ai_document": [
[
{
"node": "525e9fdb-b424-49a2-8d47-1fd6dfad5e7f",
"type": "ai_document",
"index": 0
}
]
]
},
"083c6eeb-bc14-43a9-ae83-3545ba49444c": {
"main": [
[
{
"node": "ba298cb7-50de-4aa3-a87c-1e826724ffa8",
"type": "main",
"index": 0
}
]
]
},
"ac7eff3d-de14-4921-b980-0bccd327492e": {
"ai_memory": [
[
{
"node": "0a6f0695-a028-4e26-9648-0c8b66b15627",
"type": "ai_memory",
"index": 0
}
]
]
},
"553af7e0-7f68-4d90-992a-b998b30952af": {
"ai_vectorStore": [
[
{
"node": "dac4e2e6-23a3-4afa-a0a3-ef5b1f296219",
"type": "ai_vectorStore",
"index": 0
}
]
]
},
"fb6b0698-8ac7-41bb-b3b3-9f0ab56903f0": {
"main": [
[
{
"node": "0a6f0695-a028-4e26-9648-0c8b66b15627",
"type": "main",
"index": 0
}
]
]
},
"819b7187-fdc3-4b66-8658-c9b9e029157f": {
"ai_textSplitter": [
[
{
"node": "0ef50e4c-19c1-468d-83b7-d108297b57cb",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"d05ee3f4-a112-4221-810c-49a717bb0720": {
"ai_tool": [
[
{
"node": "0a6f0695-a028-4e26-9648-0c8b66b15627",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
고급 - 리드 육성, AI 챗봇
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
基于AI의MIS에이전트
基于AI의관리信息系统에이전트
If
Set
Code
+
If
Set
Code
129 노드Kumar Shivam
지원
Drive 폴더와 RAG 대화
GPT, Pinecone, RAG를 사용하여 Google Drive 문서와 대화합니다.
Google Drive
Agent
Google Drive Trigger
+
Google Drive
Agent
Google Drive Trigger
20 노드Marko
AI RAG
RAG 기반 LLM 채팅 로봇
RAG, Pinecone 벡터 데이터베이스와 OpenAI로 회사 정책 채팅 로봇 생성
Google Drive
Agent
Google Drive Trigger
+
Google Drive
Agent
Google Drive Trigger
17 노드Pramod Kumar Rathoure
AI RAG
Google Maps, GPT-4, WhatsApp을 사용한 비즈니스 파트너 확장 자동화
Google Maps, GPT-4, WhatsApp을 사용한 비즈니스 파트너 확장 자동화
If
Set
Code
+
If
Set
Code
64 노드Khairul Muhtadin
AI 챗봇
AI 이메일 자동 응답 시스템 - 이메일 RAG 지능형 에이전트
AI 이메일 자동 응답 시스템 - 이메일 RAG 지능형 에이전트
If
Set
Gmail
+
If
Set
Gmail
34 노드LukaszB
지원
Google Drive, Pinecone 및 OpenAI RAG를 사용하여 문서 질문과 답변 시스템을 구축
사용법 Google Drive, Pinecone 및 OpenAI RAG를 사용하여 문서 질문 시스템 구축
Google Drive
Agent
Google Drive Trigger
+
Google Drive
Agent
Google Drive Trigger
19 노드Abdullahi Ahmed