{
  "name": "Automatically save Gmail attachments to Google Drive",
  "nodes": [
    {
      "id": "6f21b176-7f42-4cbb-938e-5ffd61aac490",
      "name": "Upload to Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -720,
        -320
      ]
    },
    {
      "id": "9ff0cc89-232e-4720-8ffd-ad3a516d0fd2",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -1248,
        -320
      ]
    },
    {
      "id": "ab199d88-e3c0-4ce4-96af-fe338e45484e",
      "name": "If (has Attachments)",
      "type": "n8n-nodes-base.if",
      "position": [
        -976,
        -320
      ]
    },
    {
      "id": "3b2f527f-7376-4a5e-b937-44877b90046d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1312,
        -880
      ],
      "parameters": {
        "width": 832,
        "height": 768,
        "content": "## Gmail Attachment Extractor to Google Drive\n\nHow It Works\nThis workflow operates in three main steps:\n\nGmail New Email Trigger:\n\nThe workflow starts with a Gmail Trigger node, set to monitor for new"
      }
    },
    {
      "id": "48285db9-5075-4bd4-8642-5749267324b8",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -416,
        -928
      ],
      "parameters": {
        "width": null,
        "height": 880,
        "content": "## Setup Steps\nTo get this workflow up and running, follow these instructions:\n\nStep 1: Create Gmail and Google Drive Credentials in n8n\n\nIn your n8n instance, click on Credentials in the left sidebar"
      }
    },
    {
      "id": "1cf8d9e0-1d2b-4d9e-a1bc-5e4713ffb848",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1632,
        -832
      ],
      "parameters": {
        "width": null,
        "height": 688,
        "content": "##  Configure the Nodes\n\nGmail Trigger Node:\n\nSelect your Gmail credential under the \"Credentials\" section.\n\nThe default settings monitor new emails with attachments. You can adjust Polling Interval i"
      }
    }
  ],
  "connections": {
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "If (has Attachments)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If (has Attachments)": {
      "main": [
        [
          {
            "node": "Upload to Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}