{
  "name": "🧑‍🦯Improve your website accessibility with GPT-4o and Google Sheet",
  "nodes": [
    {
      "id": "95963c27-45a3-4eaa-8120-03ad63e28608",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1088,
        0
      ],
      "parameters": {
        "width": 460,
        "height": 292,
        "content": "@[youtube](LwTIro6Rapk)"
      }
    },
    {
      "id": "c502c85a-7de3-406b-968e-4f9c6fa18e72",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        320
      ]
    },
    {
      "id": "94701dc7-eac1-42c3-8c7c-d1198aa4a0e0",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1104,
        848
      ]
    },
    {
      "id": "cd5c3a71-713c-488a-85bc-85997657bde0",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 1040,
        "height": 460,
        "content": "### 1. First Block: audit the page to extract all the images with their respective alternative text\nThis workflow sends an HTTP request to collect the HTML processed by the Javascript node to list all"
      }
    },
    {
      "id": "87938f16-cb0e-47c6-8121-e2a13f716797",
      "name": "Page Link",
      "type": "n8n-nodes-base.set",
      "position": [
        208,
        320
      ]
    },
    {
      "id": "f63f64dd-38d7-4124-9faa-66b51a33a596",
      "name": "Download Results",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        448,
        848
      ]
    },
    {
      "id": "3c94f346-6aad-4e98-bc5e-517e09be190e",
      "name": "altLength < 50",
      "type": "n8n-nodes-base.if",
      "position": [
        672,
        848
      ]
    },
    {
      "id": "baadbb23-45f0-41ad-aac4-2cc2006b19ea",
      "name": "Limit records",
      "type": "n8n-nodes-base.limit",
      "position": [
        880,
        768
      ]
    },
    {
      "id": "bc17ce81-d939-4cdf-af45-8c48d1196ce1",
      "name": "Generate altText",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1328,
        768
      ]
    },
    {
      "id": "7a0c7b6c-966e-4d24-b488-914c5ff4b6a8",
      "name": "Update Results",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1552,
        848
      ]
    },
    {
      "id": "354c203a-e85e-4d05-8de1-6e825053fcf4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        528
      ],
      "parameters": {
        "width": 1920,
        "height": 520,
        "content": "### 2. SecondBlock: generate alternative text for the image with altLength < 50\nThis workflow sends an HTTP request to collect the HTML processed by the Javascript node to list all the images in the p"
      }
    },
    {
      "id": "33ef44b6-d926-45c8-a932-eff12c4d5ca7",
      "name": "Store Results",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        864,
        320
      ]
    },
    {
      "id": "37e7d8e0-291d-4c6e-8576-29e5be413400",
      "name": "Download HTML",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        432,
        320
      ]
    },
    {
      "id": "86641e2b-f1b1-4cc9-ab33-c4181dfe3dd2",
      "name": "Get Images urls with altText",
      "type": "n8n-nodes-base.code",
      "position": [
        640,
        320
      ]
    }
  ],
  "connections": {
    "Page Link": {
      "main": [
        [
          {
            "node": "Download HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download HTML": {
      "main": [
        [
          {
            "node": "Get Images urls with altText",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit records": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Results": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "altLength < 50": {
      "main": [
        [
          {
            "node": "Limit records",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Generate altText",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Results": {
      "main": [
        [
          {
            "node": "altLength < 50",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate altText": {
      "main": [
        [
          {
            "node": "Update Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Images urls with altText": {
      "main": [
        [
          {
            "node": "Store Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Page Link",
            "type": "main",
            "index": 0
          },
          {
            "node": "Download Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}