{
  "name": "✍️ Blog image SEO & size auditor with Ghost and Google Sheets",
  "nodes": [
    {
      "id": "f20cd1d4-671c-420c-a25d-1c9fe05b67d9",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1000,
        -1030
      ]
    },
    {
      "id": "edf80cc8-a4b3-42dd-96dc-c729d209aef9",
      "name": "Extract Blog Posts",
      "type": "n8n-nodes-base.ghost",
      "position": [
        -780,
        -1030
      ]
    },
    {
      "id": "b2f0a448-5b73-499a-a78e-e69b75fc8f9d",
      "name": "Extract Post Content",
      "type": "n8n-nodes-base.set",
      "position": [
        -560,
        -1030
      ]
    },
    {
      "id": "e80bde5d-28c0-4fa7-a7ff-bff0fcddbf94",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -360,
        -800
      ]
    },
    {
      "id": "1052cc12-c1cd-468f-9cf7-33f73ff43642",
      "name": "Collect All Images",
      "type": "n8n-nodes-base.code",
      "position": [
        500,
        -1300
      ]
    },
    {
      "id": "b2176289-ded3-471c-bc8a-225dacc33aeb",
      "name": "Add Records",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        720,
        -1300
      ]
    },
    {
      "id": "cdb245eb-a3e3-45d1-bcce-f1d0ce65297c",
      "name": "Collect Records by Id",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -140,
        -760
      ]
    },
    {
      "id": "dbec4c36-c7e3-49ea-976d-cec6dee70f76",
      "name": "Loop Over Items1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        80,
        -760
      ]
    },
    {
      "id": "0254622b-3593-4ad8-820c-f6e27e31c53c",
      "name": "Get Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        300,
        -780
      ]
    },
    {
      "id": "bb2a182b-82ae-4263-b3ab-9a7e30a5b97c",
      "name": "Extract Image Info",
      "type": "n8n-nodes-base.code",
      "position": [
        520,
        -780
      ]
    },
    {
      "id": "871e3d19-87c7-4dd6-a481-d83fc652478b",
      "name": "Results Images",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        740,
        -680
      ]
    },
    {
      "id": "ad236989-0707-40ca-885c-c5d5550d7954",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        -1380
      ],
      "parameters": {
        "width": 400,
        "height": 520,
        "content": "### 2. Extract Blog Posts Content\nThe Ghost node extracts all the posts of your blog with content and metadata. In the second node, we extract description, URL, content and features image url.\n\n#### H"
      }
    },
    {
      "id": "8d296af6-9e32-4669-bacc-decab229847a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1040,
        -1380
      ],
      "parameters": {
        "width": 200,
        "height": 520,
        "content": "### 1. Workflow Trigger\nThis workflow uses simple trigger.\n\n#### How to setup?\n*Nothing to do.*\n"
      }
    },
    {
      "id": "092719b3-65d7-40b8-af99-36cd3f41ea55",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -1380
      ],
      "parameters": {
        "width": 1360,
        "height": 280,
        "content": "### 3. First Loop to Collect Images\nWe loop through all the articles extracted by the Ghost Node. For each article, this section will collect all the images of the article with their **image_url** and"
      }
    },
    {
      "id": "71a03b91-fa30-4ede-88f4-f307b5fd7889",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -1080
      ],
      "parameters": {
        "width": 1360,
        "height": 620,
        "content": "### 4. Second Loop to Extract Image Information\nWe loop through all the images in the article, for each image we **download** the content using the **HTTP request** node to record **image_size** in ki"
      }
    }
  ],
  "connections": {
    "Get Image": {
      "main": [
        [
          {
            "node": "Extract Image Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Records": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Results Images": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Collect All Images",
            "type": "main",
            "index": 0
          },
          {
            "node": "Collect Records by Id",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [],
        [
          {
            "node": "Get Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Collect All Images": {
      "main": [
        [
          {
            "node": "Add Records",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Blog Posts": {
      "main": [
        [
          {
            "node": "Extract Post Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Image Info": {
      "main": [
        [
          {
            "node": "Results Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Post Content": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Collect Records by Id": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Extract Blog Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}