{
  "name": "Automate Lightroom Cloud to Instagram",
  "nodes": [
    {
      "id": "466448fc-8554-49c7-a6e7-8e5ded1d43ea",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        0
      ],
      "parameters": {
        "width": 464,
        "height": 400,
        "content": "### Lightroom → Instagram: Photos-to-Post Queue (n8n)\n\n**Purpose**  \nWatch a Lightroom Cloud album, store new assets in a **Photos** Data Table, and generate AI alt text for captions/accessibility.\n\n*"
      }
    },
    {
      "id": "2694839a-5677-4a39-951d-d1d1a773d756",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        736,
        480
      ]
    },
    {
      "id": "387d3cfb-7315-4d17-a528-09e9c1e0688c",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        960,
        480
      ]
    },
    {
      "id": "56501cf9-12bb-4e24-a27e-6d45d2b65c9d",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1184,
        480
      ]
    },
    {
      "id": "6c46f47f-ba78-490f-90eb-b5d6f4a5f7cf",
      "name": "Analyze image",
      "type": "@n8n/n8n-nodes-langchain.anthropic",
      "position": [
        2336,
        512
      ]
    },
    {
      "id": "86e95eea-9e5c-4791-ac93-938daee1f480",
      "name": "If row does not exist",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        1632,
        480
      ]
    },
    {
      "id": "28ffac78-712b-4405-a9e7-161edfb4bce4",
      "name": "Insert row",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        2560,
        512
      ]
    },
    {
      "id": "0bfc2470-666e-4aa9-94a5-c5e781fd931d",
      "name": "Sort",
      "type": "n8n-nodes-base.sort",
      "position": [
        1408,
        480
      ]
    },
    {
      "id": "b4b23fa3-b7cb-441d-8d32-5d7e04745e38",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        480
      ]
    },
    {
      "id": "66066e44-0326-4f2e-9870-3c35818e75df",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2080,
        480
      ]
    },
    {
      "id": "7fbb8e78-78de-494e-b090-f1b1805c3714",
      "name": "Params",
      "type": "n8n-nodes-base.set",
      "position": [
        208,
        480
      ]
    },
    {
      "id": "43bc3fd0-5578-4070-bd2a-2562d20e5ded",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        624,
        320
      ],
      "parameters": {
        "width": 512,
        "height": 400,
        "content": "## STEP1 = Download the image list from Lightroom Cloud\n\n"
      }
    },
    {
      "id": "642efa01-7722-4390-beaa-a3665d184133",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1168,
        320
      ],
      "parameters": {
        "width": 720,
        "height": 400,
        "content": "## STEP2 = Split and sort them\n\n\n"
      }
    },
    {
      "id": "267c95f8-1000-4ce7-8bd9-a2221f554923",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1920,
        320
      ],
      "parameters": {
        "width": 848,
        "height": 400,
        "content": "## STEP3 = Analyse them with IA then save them in the Data Table\n\n\n"
      }
    }
  ],
  "connections": {
    "Sort": {
      "main": [
        [
          {
            "node": "If row does not exist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Params": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Sort",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Insert row": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze image": {
      "main": [
        [
          {
            "node": "Insert row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Analyze image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Params",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If row does not exist": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}