Gmail에서 여러 첨부 파일을 가져오고 Google 드라이브에 업로드
초급
이것은Building Blocks분야의자동화 워크플로우로, 3개의 노드를 포함합니다.주로 Function, GoogleDrive, GmailTrigger 등의 노드를 사용하며. Gmail에서 여러 첨부 파일을 가져오고 Google 드라이브에 업로드합니다.
사전 요구사항
- •Google Drive API 인증 정보
- •Google 계정 및 Gmail API 인증 정보
사용된 노드 (3)
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"meta": {
"instanceId": "1a23006df50de49624f69e85993be557d137b6efe723a867a7d68a84e0b32704"
},
"nodes": [
{
"id": "3c7ae816-6ce2-4b6b-893e-75c6b8756555",
"name": "트리거 - 새 이메일",
"type": "n8n-nodes-base.gmailTrigger",
"notes": "has:attachment",
"position": [
680,
300
],
"parameters": {
"simple": false,
"filters": {
"q": "has:attachment"
},
"options": {
"downloadAttachments": true
},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
}
},
"notesInFlow": true,
"typeVersion": 1.1
},
{
"id": "b87b2211-03d3-4742-98c9-977ae4a8d581",
"name": "바이너리 데이터 출력 첨부",
"type": "n8n-nodes-base.function",
"position": [
900,
300
],
"parameters": {
"functionCode": "let results = [];\n\nfor (item of items) {\n for (key of Object.keys(item.binary)) {\n results.push({\n json: {\n fileName: item.binary[key].fileName\n },\n binary: {\n data: item.binary[key],\n }\n });\n }\n}\n\nreturn results;"
},
"typeVersion": 1
},
{
"id": "f8e19c97-0983-4365-bc63-179605050ef2",
"name": "google 드라이브에 파일 업로드",
"type": "n8n-nodes-base.googleDrive",
"position": [
1140,
300
],
"parameters": {
"name": "={{ $json.fileName.split(\".\")[0] + \"-\" + $('Trigger - New Email').item.json.from.value[0].address + \".\" + $json.fileName.split(\".\")[1]}}",
"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": "root",
"cachedResultUrl": "https://drive.google.com/drive",
"cachedResultName": "/ (Root folder)"
}
},
"typeVersion": 3
}
],
"pinData": {},
"connections": {
"3c7ae816-6ce2-4b6b-893e-75c6b8756555": {
"main": [
[
{
"node": "b87b2211-03d3-4742-98c9-977ae4a8d581",
"type": "main",
"index": 0
}
]
]
},
"b87b2211-03d3-4742-98c9-977ae4a8d581": {
"main": [
[
{
"node": "f8e19c97-0983-4365-bc63-179605050ef2",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
초급 - 빌딩 블록
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
✨🔪 Llama Parse 기반 고급 AI 문서 분석 및 텍스트 추출
✨🔪 Llama Parse 기반 고급 AI 문서 분석 및 텍스트 추출
If
Set
Gmail
+
If
Set
Gmail
54 노드Joseph LePage
빌딩 블록
[템플릿] AI 반려동물 가게 v8
🐶 AI 펫 샵 어시스턴트 - GPT-4o, Google 캘린더 및 WhatsApp/Instagram/Facebook 통합
If
N8n
Set
+
If
N8n
Set
244 노드Amanda Benks
영업
새로 수신된 이메일을 Google 스프레드시트에 새 행으로 추가
将新收로의电子이메일作为新行추가로Google Sheets电子表格中
Gmail Trigger
Google Sheets
Gmail Trigger
Google Sheets
4 노드WeblineIndia
기타
고급 AI 데모 (AI 개발자 14번째 모임에서 발표)
高级AI演示(在AI开发者第14次聚会中展示)
If
Code
Gmail
+
If
Code
Gmail
39 노드Max Tkacz
빌딩 블록
Notion 데이터베이스에서 빈 페이지 아카이빙
Notion 데이터베이스에서 빈 페이지 아카이빙
If
Cron
Notion
+
If
Cron
Notion
10 노드Jonathan
빌딩 블록
이미지 JPG/PNG에서 WebP로 변환
APYHub와 Google Drive를 사용한 이미지 자동 최적화: JPG/PNG에서 WebP로 변환
Set
Code
Switch
+
Set
Code
Switch
12 노드Davide
기타