{
  "name": "Batch upscale portrait photos with Real-ESRGAN AI, Google Drive and Airtable",
  "nodes": [
    {
      "id": "3a204dbb-8945-4fd1-8d09-9980a664128f",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1024,
        -848
      ]
    },
    {
      "id": "1d9e1318-89b1-436f-abf1-0ea269f35644",
      "name": "Create folder",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -768,
        -848
      ]
    },
    {
      "id": "f44f1434-e002-4478-bbd5-498dff5a8e40",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -64,
        -848
      ]
    },
    {
      "id": "af7d12c5-fd15-4ed3-8bf4-11901dc21f89",
      "name": "Upload to Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        832,
        -848
      ]
    },
    {
      "id": "6bab8092-e2a1-4640-acf5-07e4e15d656f",
      "name": "Download Upscale",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        384,
        -928
      ]
    },
    {
      "id": "444a3467-8416-4dfd-ad89-1be387ea4613",
      "name": "Extract Portrait URLS from Airtable Output",
      "type": "n8n-nodes-base.code",
      "position": [
        -288,
        -848
      ]
    },
    {
      "id": "5868126e-c299-4574-9170-ce02655a59ad",
      "name": "Replicate Upscaler",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        -928
      ]
    },
    {
      "id": "94532da7-1ca5-4d71-b906-677964f0490f",
      "name": "Set GDrive Upload Folder ID",
      "type": "n8n-nodes-base.code",
      "position": [
        608,
        -928
      ]
    },
    {
      "id": "711fea9d-9b12-48cb-b66f-2fa75b014142",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1568,
        -976
      ],
      "parameters": {
        "width": 304,
        "height": 368,
        "content": "## Information\n\nThis Node will Upscale Multiple Pictures from A Dataspace in Airtable \n\n1. it will create A folder in Drive\n2. it will take pictures stored in the airtable Dataspace\n3. It will run ove"
      }
    },
    {
      "id": "97297413-8022-4966-8117-944edf4736fc",
      "name": "Get Record from Pictures",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -496,
        -848
      ]
    },
    {
      "id": "45e45d37-8afc-48a2-ab4b-557b985c9741",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        -960
      ],
      "parameters": {
        "width": null,
        "height": 352,
        "content": "## Enter Record from Stored Data\n"
      }
    },
    {
      "id": "73b660f8-f518-42d8-8970-234a956f412a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -832,
        -960
      ],
      "parameters": {
        "width": null,
        "height": 352,
        "content": "##  Add Folder Name"
      }
    }
  ],
  "connections": {
    "Create folder": {
      "main": [
        [
          {
            "node": "Get Record from Pictures",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Replicate Upscaler",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Upscale": {
      "main": [
        [
          {
            "node": "Set GDrive Upload Folder ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Replicate Upscaler": {
      "main": [
        [
          {
            "node": "Download Upscale",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Google Drive": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Record from Pictures": {
      "main": [
        [
          {
            "node": "Extract Portrait URLS from Airtable Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set GDrive Upload Folder ID": {
      "main": [
        [
          {
            "node": "Upload to Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Create folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Portrait URLS from Airtable Output": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}