AI 이메일 처리 자동 응답기(승인 기능 포함)
고급
이것은AI분야의자동화 워크플로우로, 17개의 노드를 포함합니다.주로 If, Set, Gmail, Markdown, EmailSend 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. AI 기반 이메일 처리 자동 응답 및 응답 승인(예/아니오)
사전 요구사항
- •Google 계정 및 Gmail API 인증 정보
- •OpenAI API Key
- •Qdrant 서버 연결 정보
사용된 노드 (17)
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "OuHrYOR3uWGmrhWQ",
"meta": {
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
"templateCredsSetupCompleted": true
},
"name": "AI Email processing autoresponder with approval (Yes/No)",
"tags": [],
"nodes": [
{
"id": "06a098db-160b-45f7-aeac-a73ef868148e",
"name": "이메일 트리거 (IMAP)",
"type": "n8n-nodes-base.emailReadImap",
"position": [
-180,
-100
],
"parameters": {
"options": {}
},
"credentials": {
"imap": {
"id": "k31W9oGddl9pMDy4",
"name": "IMAP info@n3witalia.com"
}
},
"typeVersion": 2
},
{
"id": "9589443b-efb7-4e0d-bafc-0be9858a4755",
"name": "마크다운",
"type": "n8n-nodes-base.markdown",
"position": [
40,
-100
],
"parameters": {
"html": "={{ $json.textHtml }}",
"options": {}
},
"typeVersion": 1
},
{
"id": "8de7b2f3-bf75-4f3c-a1ee-eec047a7b82e",
"name": "DeepSeek R1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
240,
80
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "deepseek/deepseek-r1:free",
"cachedResultName": "deepseek/deepseek-r1:free"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "XJTqRiKFJpFs5MuX",
"name": "OpenRouter account"
}
},
"typeVersion": 1.2
},
{
"id": "babf37dc-99ca-439a-b094-91c52799b8df",
"name": "이메일 보내기",
"type": "n8n-nodes-base.emailSend",
"position": [
1840,
-120
],
"webhookId": "f84fcde7-6aac-485a-9a08-96a35955af49",
"parameters": {
"html": "={{ $('Write email').item.json.output }}",
"options": {},
"subject": "=Re: {{ $('Email Trigger (IMAP)').item.json.subject }}",
"toEmail": "={{ $('Email Trigger (IMAP)').item.json.from }}",
"fromEmail": "={{ $('Email Trigger (IMAP)').item.json.to }}"
},
"credentials": {
"smtp": {
"id": "hRjP3XbDiIQqvi7x",
"name": "SMTP info@n3witalia.com"
}
},
"typeVersion": 2.1
},
{
"id": "ebeb986d-053a-420d-8482-ee00e75f2f10",
"name": "Qdrant 벡터 저장소",
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"position": [
1180,
200
],
"parameters": {
"mode": "retrieve-as-tool",
"options": {},
"toolName": "company_knowladge_base",
"toolDescription": "Extracts information regarding the request made.",
"qdrantCollection": {
"__rl": true,
"mode": "id",
"value": "=COLLECTION"
},
"includeDocumentMetadata": false
},
"credentials": {
"qdrantApi": {
"id": "iyQ6MQiVaF3VMBmt",
"name": "QdrantApi account"
}
},
"typeVersion": 1
},
{
"id": "ccc3d026-bfa3-4fda-be0a-ef70bf831aa7",
"name": "임베딩 OpenAI",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
1180,
380
],
"parameters": {
"options": {}
},
"credentials": {
"openAiApi": {
"id": "CDX6QM4gLYanh0P4",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "1726aac9-a77d-4f19-8c07-70b032c3abeb",
"name": "이메일 요약 체인",
"type": "@n8n/n8n-nodes-langchain.chainSummarization",
"position": [
260,
-100
],
"parameters": {
"options": {
"binaryDataKey": "={{ $json.data }}",
"summarizationMethodAndPrompts": {
"values": {
"prompt": "=Write a concise summary of the following in max 100 words :\n\n\"{{ $json.data }}\"\n\nDo not enter the total number of words used.",
"combineMapPrompt": "=Write a concise summary of the following in max 100 words:\n\n\"{{ $json.data }}\"\n\nDo not enter the total number of words used."
}
}
},
"operationMode": "nodeInputBinary"
},
"typeVersion": 2
},
{
"id": "81b889d0-e724-4c1f-9ce3-7593c796aaaf",
"name": "이메일 작성",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
980,
-100
],
"parameters": {
"text": "=Write the text to reply to the following email:\n\n{{ $('Email Summarization Chain').item.json.response.text }}",
"options": {
"systemMessage": "You are an expert at answering emails. You need to answer them professionally based on the information you have. This is a business email. Be concise and never exceed 100 words. Only the body of the email, not create the subject.\n\nIt must be in HTML format and you can insert (if you think it is appropriate) only HTML characters such as <br>, <b>, <i>, <p> where necessary."
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.7
},
{
"id": "cf38e319-59b3-490e-b841-579afc9fbc02",
"name": "OpenAI",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
980,
200
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "CDX6QM4gLYanh0P4",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "19842e5f-c372-4dfd-b860-87dc5f00b1af",
"name": "이메일 설정",
"type": "n8n-nodes-base.set",
"position": [
760,
-100
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "759dc0f9-f582-492c-896c-6426f8410127",
"name": "email",
"type": "string",
"value": "={{ $json.response.text }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "2cf7a9af-c5e8-45dd-bda5-01c562a0defb",
"name": "승인?",
"type": "n8n-nodes-base.if",
"position": [
1560,
-100
],
"parameters": {
"options": {
"ignoreCase": false
},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "5c377c1c-43c6-45e7-904e-dbbe6b682686",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.data.approved }}",
"rightValue": "true"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "08cabec6-9840-4214-8315-b877c86794bf",
"name": "스티키 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
-220,
-680
],
"parameters": {
"color": 3,
"width": 580,
"height": 420,
"content": "# Main Flow\n\n## Preliminary step:\nCreate a vector database on Qdrant and tokenize the documents useful for generating a response\n\n\n## How it works\nThis workflow is designed to automate the process of handling incoming emails, summarizing their content, generating appropriate responses with RAG, and obtaining approval (YES/NO button) before sending replies.\n\nThis workflow is designed to handle general inquiries that come in via corporate email via IMAP and generate responses using RAG. You can quickly integrate Gmail and Outlook via the appropriate trigger nodes"
},
"typeVersion": 1
},
{
"id": "80692c8f-e236-43ac-aad2-91bd90f40065",
"name": "스티키 노트1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
-180
],
"parameters": {
"height": 240,
"content": "Convert email to Markdown format for better understanding of LLM models"
},
"typeVersion": 1
},
{
"id": "e6957fde-bf05-4b67-aa0e-44c575fca04d",
"name": "스티키 노트2",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
-180
],
"parameters": {
"width": 320,
"height": 240,
"content": "Chain that summarizes the received email"
},
"typeVersion": 1
},
{
"id": "7cfba59f-83ce-4f0b-b54a-b2c11d58fd82",
"name": "스티키 노트3",
"type": "n8n-nodes-base.stickyNote",
"position": [
940,
-180
],
"parameters": {
"width": 340,
"height": 240,
"content": "Agent that retrieves business information from a vector database and processes the response"
},
"typeVersion": 1
},
{
"id": "28c4bd00-6a47-422f-a50a-935f3724ba01",
"name": "초안 보내기",
"type": "n8n-nodes-base.gmail",
"position": [
1340,
-100
],
"webhookId": "d6dd2e7c-90ea-4b65-9c64-523d2541a054",
"parameters": {
"sendTo": "YOUR GMAIL ADDRESS",
"message": "=<h3>MESSAGE</h3>\n{{ $('Email Trigger (IMAP)').item.json.textHtml }}\n\n<h3>AI RESPONSE</h3>\n{{ $json.output }}",
"options": {},
"subject": "=[Approval Required] {{ $('Email Trigger (IMAP)').item.json.subject }}",
"operation": "sendAndWait",
"approvalOptions": {
"values": {
"approvalType": "double"
}
}
},
"credentials": {
"gmailOAuth2": {
"id": "nyuHvSX5HuqfMPlW",
"name": "Gmail account (n3w.it)"
}
},
"typeVersion": 2.1
},
{
"id": "0aae1689-cee7-403a-8640-396db32eceed",
"name": "스티키 노트4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1300,
-300
],
"parameters": {
"color": 4,
"height": 360,
"content": "## IMPORTANT\n\nFor the \"Send Draft\" node, you need to send the draft email to a Gmail address because it is the only one that allows the \"Send and wait for response\" function."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "6f7b864e-1589-418c-960e-b832cf032d1b",
"connections": {
"cf38e319-59b3-490e-b841-579afc9fbc02": {
"ai_languageModel": [
[
{
"node": "81b889d0-e724-4c1f-9ce3-7593c796aaaf",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"2cf7a9af-c5e8-45dd-bda5-01c562a0defb": {
"main": [
[
{
"node": "babf37dc-99ca-439a-b094-91c52799b8df",
"type": "main",
"index": 0
}
],
[
{
"node": "19842e5f-c372-4dfd-b860-87dc5f00b1af",
"type": "main",
"index": 0
}
]
]
},
"9589443b-efb7-4e0d-bafc-0be9858a4755": {
"main": [
[
{
"node": "1726aac9-a77d-4f19-8c07-70b032c3abeb",
"type": "main",
"index": 0
}
]
]
},
"19842e5f-c372-4dfd-b860-87dc5f00b1af": {
"main": [
[
{
"node": "81b889d0-e724-4c1f-9ce3-7593c796aaaf",
"type": "main",
"index": 0
}
]
]
},
"28c4bd00-6a47-422f-a50a-935f3724ba01": {
"main": [
[
{
"node": "2cf7a9af-c5e8-45dd-bda5-01c562a0defb",
"type": "main",
"index": 0
}
]
]
},
"8de7b2f3-bf75-4f3c-a1ee-eec047a7b82e": {
"ai_languageModel": [
[
{
"node": "1726aac9-a77d-4f19-8c07-70b032c3abeb",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"81b889d0-e724-4c1f-9ce3-7593c796aaaf": {
"main": [
[
{
"node": "28c4bd00-6a47-422f-a50a-935f3724ba01",
"type": "main",
"index": 0
}
]
]
},
"ccc3d026-bfa3-4fda-be0a-ef70bf831aa7": {
"ai_embedding": [
[
{
"node": "ebeb986d-053a-420d-8482-ee00e75f2f10",
"type": "ai_embedding",
"index": 0
}
]
]
},
"ebeb986d-053a-420d-8482-ee00e75f2f10": {
"ai_tool": [
[
{
"node": "81b889d0-e724-4c1f-9ce3-7593c796aaaf",
"type": "ai_tool",
"index": 0
}
]
]
},
"06a098db-160b-45f7-aeac-a73ef868148e": {
"main": [
[
{
"node": "9589443b-efb7-4e0d-bafc-0be9858a4755",
"type": "main",
"index": 0
}
]
]
},
"1726aac9-a77d-4f19-8c07-70b032c3abeb": {
"main": [
[
{
"node": "19842e5f-c372-4dfd-b860-87dc5f00b1af",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
고급 - 인공지능
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
AI를 사용하여 이메일을 쉽게 관리
AI 기반 이메일 요약 및 검토 - 쉬운 이메일 관리
Set
Gmail
Markdown
+
Set
Gmail
Markdown
31 노드Davide
인공지능
매우 간단한 인간 개입 시스템을 갖춘 AI 이메일 및 IMAP
一个非常简单의"人工介入循环"이메일响应系统,사용人工스마트및IMAP协议
If
Set
Markdown
+
If
Set
Markdown
16 노드Davide
빌딩 블록
메일 AI 자동 응답기. 요약 및 메일 발송
기업급 AI 메일 자동화: RAG 기반 메일 요약 및 응답
Markdown
Email Send
Google Drive
+
Markdown
Email Send
Google Drive
26 노드Davide
인공지능
AI 이메일 분석기: PDF, 이미지 처리
PDF 및 이미지를 처리하여 Google Drive와 Telegram에 저장
If
Set
Code
+
If
Set
Code
31 노드Davide
인공지능
Voiceflow, Google Calendar 및 RAG을 사용하여 채팅 로봇, 음성 대리자 및 전화 대리자를 구축
사용법 Voiceflow, Google Calendar 및 RAG를 사용하여 채팅 로봇, 음성 및 전화 대리인 구축
Set
Webhook
Google Drive
+
Set
Webhook
Google Drive
34 노드Davide
인공지능
RetellAI를 사용한 AI 전화 어시스턴트
Retell, Google 캘린더 및 RAG 통합된 AI 전화 어시스턴트 구축
Set
Filter
Webhook
+
Set
Filter
Webhook
36 노드Davide
인공지능
워크플로우 정보
난이도
고급
노드 수17
카테고리1
노드 유형12
저자
Davide
@n3witaliaFull-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유