Gmail 첨부 파일을 Google Drive로 백업
중급
이것은IT Ops분야의자동화 워크플로우로, 8개의 노드를 포함합니다.주로 Code, Gmail, GoogleDrive, GmailTrigger 등의 노드를 사용하며. Gmail 첨부 파일을 Google Drive에 백업
사전 요구사항
- •Google 계정 및 Gmail API 인증 정보
- •Google Drive API 인증 정보
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"meta": {
"instanceId": "7d8066d2f56a07000fe7d753d3eeabf0ecdf68413466f30d10afe0906f058427",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "9b0e3c5c-6f27-4034-b281-960b039b883a",
"name": "Gmail 트리거",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
0,
-20
],
"parameters": {
"filters": {
"sender": "akhilgadiraju@gmail.com"
},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"credentials": {
"gmailOAuth2": {
"id": "wqFUFuFpF5eRAp4E",
"name": "Gmail OAuth2 - Akhil"
}
},
"typeVersion": 1.2
},
{
"id": "c68ebbfb-8fad-4f2b-837b-fb8ac0ffe4df",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
220,
-20
],
"webhookId": "2614ede2-d4ce-4490-9792-8157980bece3",
"parameters": {
"simple": false,
"options": {
"downloadAttachments": true,
"dataPropertyAttachmentsPrefixName": "attachment_"
},
"messageId": "={{ $json.id }}",
"operation": "get"
},
"credentials": {
"gmailOAuth2": {
"id": "wqFUFuFpF5eRAp4E",
"name": "Gmail OAuth2 - Akhil"
}
},
"typeVersion": 2.1
},
{
"id": "40b97338-6ffe-4cfd-869e-a50815808a89",
"name": "Replace Me",
"type": "n8n-nodes-base.noOp",
"position": [
800,
-20
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0d4ae5a5-51d5-4917-8a88-7828d2f0e5ea",
"name": "Google 드라이브",
"type": "n8n-nodes-base.googleDrive",
"position": [
620,
-20
],
"parameters": {
"name": "={{ $('Gmail Trigger').item.json.id + \"_\" + $now + \"_\" + \"backup_attachment\" }}",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive",
"cachedResultUrl": "https://drive.google.com/drive/my-drive",
"cachedResultName": "My Drive"
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1aZmIqT9jG-GqW_OIGT3HWvRb6JalTlBi",
"cachedResultUrl": "https://drive.google.com/drive/folders/1aZmIqT9jG-GqW_OIGT3HWvRb6JalTlBi",
"cachedResultName": "DOcs"
},
"inputDataFieldName": "=data"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "LxzMJWxwgbnYKUly",
"name": "Google Drive - Akhil"
}
},
"typeVersion": 3
},
{
"id": "3f2bd52a-7637-4b65-bae3-daebc5f664de",
"name": "코드",
"type": "n8n-nodes-base.code",
"position": [
420,
-20
],
"parameters": {
"jsCode": "return Object.entries(items[0].binary).map(([key, value]) => {\n return {\n binary: {\n data: value\n }\n };\n});"
},
"typeVersion": 2
},
{
"id": "c0ae6ad0-7f25-4912-9bbd-7610ef61d6cd",
"name": "스티커 메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
140,
-120
],
"parameters": {
"color": 4,
"width": 260,
"height": 80,
"content": "### Change sender filter\nModify the sender field in the Gmail Trigger node"
},
"typeVersion": 1
},
{
"id": "0552dd8a-341e-4a67-ad12-8bab41371685",
"name": "스티커 메모1",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
140
],
"parameters": {
"color": 4,
"height": 180,
"content": "### Change destination folder \nUpdate folderId in the Google Drive node\n\n### Modify filename format\nEdit the name expression in the Google Drive node"
},
"typeVersion": 1
},
{
"id": "f19c4cff-b85d-4ac3-99d7-bf70e61fe5bb",
"name": "스티커 메모2",
"type": "n8n-nodes-base.stickyNote",
"position": [
740,
-140
],
"parameters": {
"height": 100,
"content": "### Add post-upload logic\nReplace or extend the Replace Me node with notifications, logs, etc."
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"3f2bd52a-7637-4b65-bae3-daebc5f664de": {
"main": [
[
{
"node": "0d4ae5a5-51d5-4917-8a88-7828d2f0e5ea",
"type": "main",
"index": 0
}
]
]
},
"c68ebbfb-8fad-4f2b-837b-fb8ac0ffe4df": {
"main": [
[
{
"node": "3f2bd52a-7637-4b65-bae3-daebc5f664de",
"type": "main",
"index": 0
}
]
]
},
"40b97338-6ffe-4cfd-869e-a50815808a89": {
"main": [
[]
]
},
"0d4ae5a5-51d5-4917-8a88-7828d2f0e5ea": {
"main": [
[
{
"node": "40b97338-6ffe-4cfd-869e-a50815808a89",
"type": "main",
"index": 0
}
]
]
},
"9b0e3c5c-6f27-4034-b281-960b039b883a": {
"main": [
[
{
"node": "c68ebbfb-8fad-4f2b-837b-fb8ac0ffe4df",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - IT 운영
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
AI 기반 지식 어시스턴트
Google Sheets, OpenAI 및 Supabase 벡터 검색을 활용한 AI 기반 지식 어시스턴트
Set
Code
Gmail
+
Set
Code
Gmail
14 노드Akhil Varma Gadiraju
엔지니어링
[AOE] 수신함 및 캘린어 관리 에이전트
Gmail, Google Calendar 및 GPT-4o AI를 사용한 이메일 및 캘린더 관리 자동화
Code
Gmail
Gmail Tool
+
Code
Gmail
Gmail Tool
38 노드AOE Agent Lab
인공지능
Gmail, OpenAI 및 Google Drive를 사용하여 발행서와 영수증을 추출 및 분류
Gmail, OpenAI, Google Drive를 사용하여 발행서와 영수증을 추출하고 분류
If
Set
Code
+
If
Set
Code
20 노드Tom
금융
Gmail에서 벡터 임베딩과 PGVector, Ollama
PGVector와 Ollama를 사용한 Gmail 벡터 임베딩
If
Set
Code
+
If
Set
Code
20 노드Alfonso Corretti
지원
AI이메일分诊与GPT-4警报系统及Telegram알림
AI이메일分诊与GPT-4警报系统及Telegram알림
If
Set
Gmail
+
If
Set
Gmail
104 노드Peter Joslyn
지원
액세스 제어 관리를 위한 Google Drive 파일 권한 검토
액세스 제어 관리를 위한 Google Drive 파일 권한 검토
Set
Gmail
Filter
+
Set
Gmail
Filter
19 노드Jimleuk
IT 운영