{
  "name": "Gmail attachment backup to Google Drive",
  "nodes": [
    {
      "id": "9b0e3c5c-6f27-4034-b281-960b039b883a",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        0,
        -20
      ]
    },
    {
      "id": "c68ebbfb-8fad-4f2b-837b-fb8ac0ffe4df",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        220,
        -20
      ]
    },
    {
      "id": "40b97338-6ffe-4cfd-869e-a50815808a89",
      "name": "Replace Me",
      "type": "n8n-nodes-base.noOp",
      "position": [
        800,
        -20
      ]
    },
    {
      "id": "0d4ae5a5-51d5-4917-8a88-7828d2f0e5ea",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        620,
        -20
      ]
    },
    {
      "id": "3f2bd52a-7637-4b65-bae3-daebc5f664de",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        420,
        -20
      ]
    },
    {
      "id": "c0ae6ad0-7f25-4912-9bbd-7610ef61d6cd",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        -120
      ],
      "parameters": {
        "width": 260,
        "height": 80,
        "content": "### Change sender filter\nModify the sender field in the Gmail Trigger node"
      }
    },
    {
      "id": "0552dd8a-341e-4a67-ad12-8bab41371685",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        140
      ],
      "parameters": {
        "width": null,
        "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"
      }
    },
    {
      "id": "f19c4cff-b85d-4ac3-99d7-bf70e61fe5bb",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        -140
      ],
      "parameters": {
        "width": null,
        "height": 100,
        "content": "### Add post-upload logic\nReplace or extend the Replace Me node with notifications, logs, etc."
      }
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Replace Me": {
      "main": [
        []
      ]
    },
    "Google Drive": {
      "main": [
        [
          {
            "node": "Replace Me",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}