Gmail 이메일 자동 번역
중급
이것은Multimodal AI분야의자동화 워크플로우로, 9개의 노드를 포함합니다.주로 If, Code, Gmail, OpenAi, GmailTrigger 등의 노드를 사용하며. OpenAI GPT-3.5를 사용하여 수신 Gmail 이메일을 영어로 자동 번역
사전 요구사항
- •Google 계정 및 Gmail API 인증 정보
- •OpenAI API Key
사용된 노드 (9)
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc"
},
"nodes": [
{
"id": "20d9e7a4-52a6-42d4-8e30-640cf2bcb6dd",
"name": "설정 안내",
"type": "n8n-nodes-base.stickyNote",
"position": [
-48,
16
],
"parameters": {
"width": 280,
"height": 520,
"content": "🌍 **SETUP REQUIRED:**\n\n1. **Gmail Label:**\n - Create label: 'Translated Emails'\n - Or customize in final Gmail node\n\n2. **OpenAI API Key:**\n - Get from platform.openai.com\n - Add to n8n credentials\n - Uses GPT-3.5-turbo (cost-effective)\n\n3. **Gmail OAuth:**\n - Connect Gmail account\n - Needs read/modify permissions\n\n🎯 Auto-detects language & translates non-English emails!"
},
"typeVersion": 1
},
{
"id": "c2eff161-87e1-42b4-bb00-364a5b448c9f",
"name": "Gmail 새 메일 트리거",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-48,
240
],
"parameters": {
"simple": false,
"filters": {
"readStatus": "unread",
"includeSpamTrash": false
},
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"typeVersion": 1
},
{
"id": "9c6427cc-261a-43af-a4aa-97ceba914d42",
"name": "메일 데이터 정규화",
"type": "n8n-nodes-base.code",
"position": [
160,
240
],
"parameters": {
"jsCode": "// Normalize email data and prepare for language detection\nconst email = $input.first().json;\n\n// Extract email content - handle both plain text and HTML\nlet emailBody = email.snippet || email.textPlain || email.textHtml || '';\n\n// Remove HTML tags if present\nif (emailBody.includes('<')) {\n emailBody = emailBody.replace(/<[^>]*>/g, ' ').replace(/\\s+/g, ' ').trim();\n}\n\n// Skip if email is too short to translate meaningfully\nif (emailBody.length < 10) {\n console.log('Email too short, skipping translation');\n return null;\n}\n\nconst normalizedData = {\n message_id: email.id,\n thread_id: email.threadId,\n subject: email.subject || 'No Subject',\n from: email.from,\n to: email.to,\n body_text: emailBody,\n received_date: email.date,\n labels: email.labelIds || [],\n has_attachments: (email.attachments && email.attachments.length > 0)\n};\n\nconsole.log('Email prepared for language detection:', {\n subject: normalizedData.subject,\n from: normalizedData.from,\n body_preview: normalizedData.body_text.substring(0, 100) + '...'\n});\n\nreturn {\n json: normalizedData\n};"
},
"typeVersion": 2
},
{
"id": "e153e8ca-38ab-48cb-be2f-cdba1cca6faf",
"name": "언어 감지 (OpenAI)",
"type": "n8n-nodes-base.openAi",
"position": [
352,
240
],
"parameters": {
"resource": "chat",
"operation": "create",
"requestOptions": {}
},
"typeVersion": 1
},
{
"id": "ebc6660f-0a30-4c23-be79-1d2f8cbfddbd",
"name": "번역이 필요한가요?",
"type": "n8n-nodes-base.if",
"position": [
560,
240
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "condition-1",
"operator": {
"type": "string",
"operation": "notEquals"
},
"leftValue": "={{ $json.choices[0].message.content.trim().toLowerCase() }}",
"rightValue": "en"
}
]
}
},
"typeVersion": 2
},
{
"id": "18108511-b253-4bba-9efb-c3cfe4f71090",
"name": "영어로 번역",
"type": "n8n-nodes-base.openAi",
"position": [
752,
144
],
"parameters": {
"resource": "chat",
"operation": "create",
"requestOptions": {}
},
"typeVersion": 1
},
{
"id": "ce532d8a-6cbc-4320-8cb1-a82a28126a14",
"name": "번역된 메일 준비",
"type": "n8n-nodes-base.code",
"position": [
960,
144
],
"parameters": {
"jsCode": "// Prepare translated email for forwarding\nconst originalEmail = $('Normalize Email Data').item.json;\nconst translationResponse = $input.first().json;\nconst detectedLanguage = $('Detect Language (OpenAI)').item.json.choices[0].message.content.trim();\n\nconst translatedContent = translationResponse.choices[0].message.content;\n\n// Create forwarded email content\nconst forwardedEmail = {\n to: originalEmail.to, // Forward to same recipient or change as needed\n subject: `[TRANSLATED] ${originalEmail.subject}`,\n body: `🌍 AUTO-TRANSLATED EMAIL (Original Language: ${detectedLanguage.toUpperCase()})\n\n` +\n `📧 Original From: ${originalEmail.from}\n` +\n `📅 Received: ${originalEmail.received_date}\n` +\n `🔗 Message ID: ${originalEmail.message_id}\n\n` +\n `═══════════════════════════════════════\n` +\n `TRANSLATED CONTENT:\n\n${translatedContent}\n` +\n `═══════════════════════════════════════\n\n` +\n `✨ This email was automatically translated by n8n workflow.`,\n original_message_id: originalEmail.message_id,\n detected_language: detectedLanguage\n};\n\nconsole.log('Prepared translated email:', {\n subject: forwardedEmail.subject,\n detected_language: detectedLanguage\n});\n\nreturn {\n json: forwardedEmail\n};"
},
"typeVersion": 2
},
{
"id": "b2b30041-80a7-4b55-b594-0d717f365b09",
"name": "번역된 메일 전송",
"type": "n8n-nodes-base.gmail",
"position": [
1152,
144
],
"webhookId": "94f9ae15-5447-4228-8ed2-bfaf9756dc8d",
"parameters": {
"message": "={{ $json.body }}",
"options": {
"ccList": "",
"bccList": "",
"replyTo": ""
},
"subject": "={{ $json.subject }}"
},
"typeVersion": 2.1
},
{
"id": "7e9513fa-ce63-4815-b0a5-a05b622581d7",
"name": "'번역됨' 라벨 추가",
"type": "n8n-nodes-base.gmail",
"position": [
1152,
256
],
"webhookId": "f61c3040-51bb-4018-8862-46d41c170024",
"parameters": {
"labelIds": [
"INBOX",
"Translated Emails"
],
"messageId": "={{ $('Normalize Email Data').item.json.message_id }}",
"operation": "addLabels"
},
"typeVersion": 2.1
}
],
"pinData": {},
"connections": {
"ebc6660f-0a30-4c23-be79-1d2f8cbfddbd": {
"main": [
[
{
"node": "18108511-b253-4bba-9efb-c3cfe4f71090",
"type": "main",
"index": 0
}
]
]
},
"9c6427cc-261a-43af-a4aa-97ceba914d42": {
"main": [
[
{
"node": "e153e8ca-38ab-48cb-be2f-cdba1cca6faf",
"type": "main",
"index": 0
}
]
]
},
"18108511-b253-4bba-9efb-c3cfe4f71090": {
"main": [
[
{
"node": "ce532d8a-6cbc-4320-8cb1-a82a28126a14",
"type": "main",
"index": 0
}
]
]
},
"c2eff161-87e1-42b4-bb00-364a5b448c9f": {
"main": [
[
{
"node": "9c6427cc-261a-43af-a4aa-97ceba914d42",
"type": "main",
"index": 0
}
]
]
},
"e153e8ca-38ab-48cb-be2f-cdba1cca6faf": {
"main": [
[
{
"node": "ebc6660f-0a30-4c23-be79-1d2f8cbfddbd",
"type": "main",
"index": 0
}
]
]
},
"ce532d8a-6cbc-4320-8cb1-a82a28126a14": {
"main": [
[
{
"node": "b2b30041-80a7-4b55-b594-0d717f365b09",
"type": "main",
"index": 0
},
{
"node": "7e9513fa-ce63-4815-b0a5-a05b622581d7",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 멀티모달 AI
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
GPT-4를 사용하여 Zoom 녹화 자동 요약 및 Slack 및 이메일로 전송
GPT-4를 사용하여 Zoom 녹화 자동 요약 및 Slack 및 이메일로 전송
Code
Gmail
Slack
+
Code
Gmail
Slack
6 노드David Olusola
AI 요약
GPT-4o 및 오류 처리를 통한 자동화 이력서 스크리닝 - Google 스프레드시트 및 드라이브 플로우
GPT-4o 및 오류 처리를 사용한 자동화된 이력서 선별 - Google Sheets 및 Drive 프로세스
If
Set
Gmail
+
If
Set
Gmail
34 노드David Olusola
콘텐츠 제작
AI 주간 Google Docs 업데이트 요약 → 이메일 발송
GPT-4를 사용하여 Google Docs에서 주간 문서 요약 생성并통해 메일 발송
Code
Cron
Gmail
+
Code
Cron
Gmail
10 노드David Olusola
AI 요약
Gemini AI 및 Blotato를 사용한 WordPress 기사 소셜 미디어 자동 게시
Gemini AI 및 Blotato를 사용하여 WordPress 기사를 소셜 미디어에 자동 게시
If
Code
Split Out
+
If
Code
Split Out
11 노드David Olusola
소셜 미디어
Stripe 결제 트리거 및 Gmail을 사용하여 PDF 인보이스 자동 발송
Stripe 결제 트리거 및 Gmail을 사용하여 PDF 인voice 자동 발송
Code
Gmail
Webhook
+
Code
Gmail
Webhook
5 노드David Olusola
청구서 처리
비트코인 및 이더리움加密通貨 하락 경고 (Telegram, Slack, SMS)
Telegram, Slack 및 SMS를 통해 비트코인과 이더리움 암호화폐 하락 경고 전송
If
Code
Slack
+
If
Code
Slack
8 노드David Olusola
암호화폐 거래
워크플로우 정보
난이도
중급
노드 수9
카테고리1
노드 유형6
저자
David Olusola
@dae221I help ambitious businesses eliminate operational bottlenecks and scale faster with AI automation. My clients typically see 40-60% efficiency gains within 90 days. Currently accepting 3 new projects this quarter - david@daexai.com
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유