8
n8n 한국어amn8n.com

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)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수8
카테고리1
노드 유형6
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34