{
  "name": "AI Shopify product descriptions: GPT-4o Vision + Claude + Analytics",
  "nodes": [
    {
      "id": "c8edaab9-0dda-4c1f-88fe-e9dec377e72b",
      "name": "Session Memory2",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        848,
        2144
      ]
    },
    {
      "id": "982f9886-40c8-45f8-a21b-a4228632ef9a",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1184,
        2032
      ]
    },
    {
      "id": "705e2c44-6286-48d9-aa97-c7b220df51fb",
      "name": "Analyze image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        272,
        1776
      ]
    },
    {
      "id": "ee48f02a-4913-4b1f-954f-f82e50a66460",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        640,
        2064
      ]
    },
    {
      "id": "27bc6657-eb1c-442b-b479-e5a2371597e2",
      "name": "OpenRouter Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1376,
        2208
      ]
    },
    {
      "id": "bd7b15cf-9f24-4867-8f27-8b6dc6b69a88",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -192,
        2384
      ]
    },
    {
      "id": "de711274-f02b-4ca4-a3b7-c2c9376566ea",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        240,
        2384
      ]
    },
    {
      "id": "4745e47b-8b90-4df4-8f51-c0f9a4c89950",
      "name": "OpenRouter Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -144,
        2640
      ]
    },
    {
      "id": "26ce222a-eac0-487e-8bba-faf3cbff995b",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        128,
        2688
      ]
    },
    {
      "id": "516b8add-06a1-4ad7-a549-f135adbbe33e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1072,
        976
      ],
      "parameters": {
        "width": 608,
        "height": 1008,
        "content": "# Shopify Product Description agent \n\n\n## Pagination Handling\n\n\n1. schedule every hour \n2. Search if there has already been run from the previous attempt or not if there has been previous run it will "
      }
    },
    {
      "id": "5f2a3b8b-11e6-4955-8b9c-814416406540",
      "name": "Message a model in Perplexity",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        1072,
        2112
      ]
    },
    {
      "id": "c14c3978-293b-440b-a6f9-389f3e256aa1",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1008,
        2320
      ],
      "parameters": {
        "width": 640,
        "height": 208,
        "content": "# Error Notification \n\n\n###  If there is any error related to Api or server error mainly it will notify the owner about the type fo the error and explain the reason\n\n"
      }
    },
    {
      "id": "36bdcdbd-76b0-46ab-b1a2-1ab8d04abbe7",
      "name": "Message a model in Perplexity1",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        464,
        2720
      ]
    },
    {
      "id": "e938da49-2aa9-4896-a01c-0af2b372f7d9",
      "name": "Shopify Content Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        880,
        1776
      ]
    },
    {
      "id": "3dc1131c-7ef4-4ffb-8f7b-190a2aacdac5",
      "name": "Get row(s) in sheet1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -208,
        1776
      ]
    },
    {
      "id": "3913bbb9-a333-45c3-9847-62a839854d05",
      "name": "Limit1",
      "type": "n8n-nodes-base.limit",
      "position": [
        32,
        1776
      ]
    },
    {
      "id": "5c0fd73c-7893-41d1-8fd4-869c10f398e2",
      "name": "Every 5 Minutes",
      "type": "n8n-nodes-base.cron",
      "position": [
        -384,
        1056
      ]
    },
    {
      "id": "cc08369a-de12-4bc2-9c5e-7b59221a4576",
      "name": "Fetch Shopify Products",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        128,
        1056
      ]
    },
    {
      "id": "10e9dc48-18b9-4710-915b-b8b85d23b72c",
      "name": "Get row(s) in sheet2",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -160,
        1056
      ]
    },
    {
      "id": "96d23e37-694e-4018-a7ec-f315047d10fc",
      "name": "Code5",
      "type": "n8n-nodes-base.code",
      "position": [
        160,
        1376
      ]
    },
    {
      "id": "4ec04e2c-c232-41d0-a4b4-38f3d657a172",
      "name": "Update row in sheet1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        800,
        1360
      ]
    },
    {
      "id": "352f95c9-9f13-4206-927c-65fd7f3d578f",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        624,
        1360
      ]
    },
    {
      "id": "acf231ef-e8ff-49c7-bfb5-47f5db52d7ac",
      "name": "If2",
      "type": "n8n-nodes-base.if",
      "position": [
        368,
        1376
      ]
    },
    {
      "id": "aba69031-9b64-485a-8f9d-f0c58b17c6b3",
      "name": "Limit2",
      "type": "n8n-nodes-base.limit",
      "position": [
        1072,
        1040
      ]
    },
    {
      "id": "3ad6e0e0-863b-4205-b284-2a65da7f49d9",
      "name": "Append row in sheet2",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        800,
        1040
      ]
    },
    {
      "id": "1f8e831c-75f1-47b3-9e4f-7f4dded2cdf3",
      "name": "If3",
      "type": "n8n-nodes-base.if",
      "position": [
        544,
        1056
      ]
    },
    {
      "id": "92bcb484-cb19-450c-a274-50e6efee8d18",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -272,
        1584
      ]
    },
    {
      "id": "07bd68b3-d4ed-4a8d-a8a4-95ad2e93c17a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -336,
        848
      ],
      "parameters": {
        "width": 512,
        "height": null,
        "content": "## Pagination Handler\n\nworking code\n"
      }
    },
    {
      "id": "075f692e-6a79-4bd5-b30f-efdeb5bef65a",
      "name": "Update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1424,
        1776
      ]
    },
    {
      "id": "0a2fe3c3-7684-4779-9f34-e8b8e426b78d",
      "name": "Append row in sheet in Google Sheets",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        656,
        2608
      ]
    },
    {
      "id": "7350121a-24da-45e4-a9ae-68a2943c723d",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        496,
        1776
      ]
    },
    {
      "id": "2d983e0c-02b0-4aab-bc74-22f10bf76c54",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -192,
        2064
      ]
    },
    {
      "id": "4417c698-2ea2-4145-ba19-74937e24cc75",
      "name": "Code1",
      "type": "n8n-nodes-base.code",
      "position": [
        320,
        1056
      ]
    },
    {
      "id": "cf20bb5d-c904-4f89-8bc4-347fc41b9e59",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1520,
        1248
      ]
    },
    {
      "id": "152e5586-28ff-48eb-bdb6-d9c1e387a44a",
      "name": "HTTP Request1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1760,
        1248
      ]
    },
    {
      "id": "3802440d-c2cf-460a-ba19-2a36af2b2406",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        2176,
        1232
      ]
    },
    {
      "id": "c9ce0ebd-c902-46dd-b2bc-043d1cac6fe5",
      "name": "Summarize",
      "type": "n8n-nodes-base.summarize",
      "position": [
        2592,
        1232
      ]
    },
    {
      "id": "c82deae3-c103-45f0-b26e-cf81f28ddba6",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2848,
        1232
      ]
    },
    {
      "id": "9545612a-7f5f-4a3a-9a73-2c6747703d7e",
      "name": "Edit Fields2",
      "type": "n8n-nodes-base.set",
      "position": [
        2384,
        1232
      ]
    },
    {
      "id": "4527bd24-8759-4b31-8f5c-5acf974cd19e",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1968,
        1248
      ]
    },
    {
      "id": "892cf81a-9924-42ca-bde8-4b1658410ab0",
      "name": "Append row in sheet1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1984,
        1504
      ]
    },
    {
      "id": "29969853-91c3-4d7f-9da8-e5555cfb9204",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1520,
        992
      ],
      "parameters": {
        "width": 688,
        "height": null,
        "content": "## Shopify Daily Sales report\n"
      }
    },
    {
      "id": "b99a42ae-1583-4445-8c32-0dd7e22ff220",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        992
      ],
      "parameters": {
        "width": null,
        "height": 208,
        "content": "## Tag filteration\n"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Append row in sheet1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If2": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If3": {
      "main": [
        [
          {
            "node": "Append row in sheet2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code1": {
      "main": [
        [
          {
            "node": "If3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code5": {
      "main": [
        [
          {
            "node": "If2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit1": {
      "main": [
        [
          {
            "node": "Analyze image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Edit Fields2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize": {
      "main": [
        [
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Shopify Content Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Update row in sheet1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields2": {
      "main": [
        [
          {
            "node": "Summarize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze image": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request1": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Every 5 Minutes": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Session Memory2": {
      "ai_memory": [
        [
          {
            "node": "Shopify Content Generator",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "HTTP Request1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append row in sheet2": {
      "main": [
        [
          {
            "node": "Limit2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet1": {
      "main": [
        [
          {
            "node": "Limit1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet2": {
      "main": [
        [
          {
            "node": "Fetch Shopify Products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Shopify Content Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Shopify Products": {
      "main": [
        [
          {
            "node": "Code1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Code5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Shopify Content Generator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Content Generator": {
      "main": [
        [
          {
            "node": "Update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message a model in Perplexity": {
      "ai_tool": [
        [
          {
            "node": "Shopify Content Generator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Message a model in Perplexity1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Append row in sheet in Google Sheets": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}