{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "60adcac2-31c0-4c1c-99ef-95d25251d5a2",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        -336
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "92b8977e-0f96-4658-99a3-bc0ce92c8d68",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        -752
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c2d499c8-e88b-4a14-b091-0b3d8165b821",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        64
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3a2cc913-23d0-4032-9ad8-f0cbf3c803d4",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        576,
        96
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b68e5afa-5218-4c6a-9f8c-17290af7c110",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1184,
        96
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d61fd6bb-98dc-4402-8ed8-5e85ee6c3440",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1600,
        80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "95905597-687a-41d3-83c4-89fe5d94ee6b",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2064,
        64
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "02893ca3-84cd-4855-9713-45411364d234",
      "name": "Loop Over Images in Batches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1648,
        256
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "95725063-53f8-48fc-8298-3163acd8f02d",
      "name": "Update Analysis in Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2112,
        240
      ],
      "parameters": {},
      "typeVersion": 4.7
    },
    {
      "id": "4e8d3ffb-9cbd-4f2f-b30b-e215f1a3b865",
      "name": "Read Media URLs from Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1232,
        256
      ],
      "parameters": {},
      "typeVersion": 4.7
    },
    {
      "id": "2dfd3828-9b46-40f3-a71d-669e3e49f6d2",
      "name": "Encode Base64 WP Key",
      "type": "n8n-nodes-base.code",
      "position": [
        1008,
        256
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0ec5b21f-c7fe-47ab-928b-41a0b082730b",
      "name": "Post Image Alt to WordPress",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2320,
        240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "eff290a6-83d6-4ba2-85d6-f8b1aa7c6081",
      "name": "Filter Valid Media URLs",
      "type": "n8n-nodes-base.filter",
      "position": [
        1424,
        256
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2976a12a-c7c0-40a6-8c43-0a48f20f362f",
      "name": "Analyze Image with OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "onError": "continueErrorOutput",
      "position": [
        1888,
        240
      ],
      "parameters": {},
      "executeOnce": false,
      "retryOnFail": false,
      "typeVersion": 1.8,
      "alwaysOutputData": true
    },
    {
      "id": "77f8b0ec-4c7b-43c0-b2fb-9b4094c509f4",
      "name": "Set WordPress Credentials",
      "type": "n8n-nodes-base.set",
      "position": [
        816,
        256
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "307df309-2c49-4af3-b926-40bdb743d0eb",
      "name": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        624,
        256
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "connections": {
    "Encode Base64 WP Key": {
      "main": [
        [
          {
            "node": "Read Media URLs from Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Valid Media URLs": {
      "main": [
        [
          {
            "node": "Loop Over Images in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Analysis in Sheet": {
      "main": [
        [
          {
            "node": "Post Image Alt to WordPress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Image with OpenAI": {
      "main": [
        [
          {
            "node": "Update Analysis in Sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Loop Over Images in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set WordPress Credentials": {
      "main": [
        [
          {
            "node": "Encode Base64 WP Key",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Media URLs from Sheet": {
      "main": [
        [
          {
            "node": "Filter Valid Media URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Images in Batches": {
      "main": [
        [],
        [
          {
            "node": "Analyze Image with OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post Image Alt to WordPress": {
      "main": [
        [
          {
            "node": "Loop Over Images in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Set WordPress Credentials",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}