{
  "name": "Validate email hero images with Gmail, Dropbox, OCR.Space and Google Sheets",
  "nodes": [
    {
      "id": "39d8d355-9c4a-4202-9ca9-0c3219d4e207",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1168,
        1376
      ]
    },
    {
      "id": "1933da34-7848-4659-b0c9-0ea81029e472",
      "name": "Get many messages",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -912,
        1376
      ]
    },
    {
      "id": "694fb2d1-c31a-4b07-b320-434f7dfe8c3a",
      "name": "Extract Hero Image SRC From HTML",
      "type": "n8n-nodes-base.code",
      "position": [
        -544,
        1376
      ]
    },
    {
      "id": "022156ac-a677-4e25-96d4-fc4a5433bb20",
      "name": "Convert Image File from HTML to Binary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -224,
        1504
      ]
    },
    {
      "id": "3a6f5dc9-0528-41c3-829b-9f8fb6414b96",
      "name": "Convert Image File from Dropbox to Binary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -240,
        1312
      ]
    },
    {
      "id": "7b721510-5fb1-4fc4-b9ee-16040e783f06",
      "name": "Combine Image Outputs",
      "type": "n8n-nodes-base.merge",
      "position": [
        256,
        1408
      ]
    },
    {
      "id": "4879f75c-c085-406b-9465-8e1dcacc408a",
      "name": "Extract Content Match Results",
      "type": "n8n-nodes-base.code",
      "position": [
        464,
        1408
      ]
    },
    {
      "id": "1f58fa91-7a48-40ef-8ece-477878d496b2",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2176,
        1120
      ],
      "parameters": {
        "width": 832,
        "height": 624,
        "content": "## Main Overview – Image Content Validation Flow\n\nThis workflow automates the image content validation process for email QA by comparing the text extracted from expected images stored in Dropbox with "
      }
    },
    {
      "id": "33031145-aab5-42e7-8b88-a845d7ca5848",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        1200
      ],
      "parameters": {
        "width": 1552,
        "height": 512,
        "content": "## Image Validation\nFetch expected image from Dropbox and actual image from HTML, extract text using OCR.Space, compare expected vs actual text, and log extracted text + results into Google Sheet."
      }
    },
    {
      "id": "78dbbd3e-ab76-4832-89b5-6169ac0a6577",
      "name": "Log Image Checks to Excel",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        704,
        1408
      ]
    },
    {
      "id": "48a348f7-2988-4dfe-84ff-638216262486",
      "name": "Extracting Expected Image Content from OCR1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        16,
        1312
      ]
    },
    {
      "id": "69f800ff-39b6-4158-a0e7-8cfa966f208e",
      "name": "Extracting Actual Image Content from OCR",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        32,
        1488
      ]
    }
  ],
  "connections": {
    "Get many messages": {
      "main": [
        [
          {
            "node": "Extract Hero Image SRC From HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine Image Outputs": {
      "main": [
        [
          {
            "node": "Extract Content Match Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Image Checks to Excel": {
      "main": [
        []
      ]
    },
    "Extract Content Match Results": {
      "main": [
        [
          {
            "node": "Log Image Checks to Excel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Hero Image SRC From HTML": {
      "main": [
        [
          {
            "node": "Convert Image File from HTML to Binary",
            "type": "main",
            "index": 0
          },
          {
            "node": "Convert Image File from Dropbox to Binary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Get many messages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert Image File from HTML to Binary": {
      "main": [
        [
          {
            "node": "Extracting Actual Image Content from OCR",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extracting Actual Image Content from OCR": {
      "main": [
        [
          {
            "node": "Combine Image Outputs",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Convert Image File from Dropbox to Binary": {
      "main": [
        [
          {
            "node": "Extracting Expected Image Content from OCR1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extracting Expected Image Content from OCR1": {
      "main": [
        [
          {
            "node": "Combine Image Outputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}