{
  "name": "Generate Shopify collection blog posts with Perplexity, Gemini and Google Sheets",
  "nodes": [
    {
      "id": "7e36d543-57f2-4fa9-bd51-939c14a606c9",
      "name": "Shopify Trigger1",
      "type": "n8n-nodes-base.shopifyTrigger",
      "position": [
        592,
        160
      ]
    },
    {
      "id": "ab40f1b2-45a3-4e5a-82f5-472c68f44ff4",
      "name": "data allocation",
      "type": "n8n-nodes-base.set",
      "position": [
        768,
        160
      ]
    },
    {
      "id": "c84c209e-2e72-4712-b070-e3dbd45978d7",
      "name": "data allocation1",
      "type": "n8n-nodes-base.set",
      "position": [
        2416,
        176
      ]
    },
    {
      "id": "261ab445-e722-4c74-9bc6-5c8a24aadbcc",
      "name": "collection API call",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1744,
        160
      ]
    },
    {
      "id": "c7034b4b-a01f-4d83-afa9-20decc7dde52",
      "name": "START",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        1536,
        160
      ]
    },
    {
      "id": "74a291ad-a58e-454f-8f67-c1298251c935",
      "name": "collection data storing",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2640,
        176
      ]
    },
    {
      "id": "59b0c005-e77a-4cab-84d2-b540d2a55545",
      "name": "collection data storing1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        944,
        160
      ]
    },
    {
      "id": "ec3f7fed-7f4b-43e3-b716-362f21a80b08",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        -144
      ],
      "parameters": {
        "width": 3104,
        "height": 576,
        "content": "# 1. Collect new collection data and old collection data to sheet also create a custom blog for collection if required.\n## It will automatic start working to collecting **collection listing details** "
      }
    },
    {
      "id": "9b0ac32f-6daf-43a6-a829-2f5934e75e7f",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        32
      ],
      "parameters": {
        "width": 912,
        "height": 320,
        "content": "## When new data added to Store"
      }
    },
    {
      "id": "86122942-e8e4-4fed-8584-f4689350f9cc",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1472,
        32
      ],
      "parameters": {
        "width": 1360,
        "height": 320,
        "content": "## All previous collection data available in Shopify Store"
      }
    },
    {
      "id": "820fa104-e7dc-46b6-a842-9964477e1513",
      "name": "Gemini2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2368,
        672
      ]
    },
    {
      "id": "2d4e4d86-c742-404d-9279-b7f36ae8481e",
      "name": "web search2",
      "type": "n8n-nodes-base.perplexity",
      "position": [
        1904,
        656
      ]
    },
    {
      "id": "243ca2b5-521f-46d9-8b78-d82e543f1030",
      "name": "content generator2",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2096,
        656
      ]
    },
    {
      "id": "772aef6d-9512-4b6a-84fc-b86c16505cdf",
      "name": "Memory2",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2480,
        672
      ]
    },
    {
      "id": "0a493126-c753-40d3-8d70-35c685b1058e",
      "name": "Gemini5",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2864,
        672
      ]
    },
    {
      "id": "4cac6c47-b9d2-461a-a223-c10989b3d6f6",
      "name": "Structured2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2976,
        672
      ]
    },
    {
      "id": "35a7861c-512b-4b14-83db-580f729e4d64",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        448
      ],
      "parameters": {
        "width": 3104,
        "height": 496,
        "content": "# 2. Create blog article using collection data "
      }
    },
    {
      "id": "654f851e-05c9-4f20-a645-17766c932eee",
      "name": "time 3",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        624,
        640
      ]
    },
    {
      "id": "17255981-9abf-47c9-b4be-e5b408b0a33b",
      "name": "data allocation8",
      "type": "n8n-nodes-base.set",
      "position": [
        1120,
        640
      ]
    },
    {
      "id": "890c88d0-c250-49ce-a324-0a97ae87db51",
      "name": "get old collection1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        864,
        640
      ]
    },
    {
      "id": "c93da868-b9d4-49e0-956a-b9f13dce9b4b",
      "name": "update content3",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3424,
        656
      ]
    },
    {
      "id": "6bb9fdda-c615-406c-8c8c-c18142cdbdaf",
      "name": "get img prompt",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1088,
        1152
      ]
    },
    {
      "id": "54646209-5919-453a-b048-7f387f6654d5",
      "name": "Update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3408,
        1152
      ]
    },
    {
      "id": "ae60f0a0-8f1f-41e9-b102-92ba55e56179",
      "name": "time 6",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        2928,
        160
      ]
    },
    {
      "id": "6c0c2928-3ec6-4400-85a0-a83fa5bfea16",
      "name": "data allocation14",
      "type": "n8n-nodes-base.set",
      "position": [
        3168,
        160
      ]
    },
    {
      "id": "03f1787e-298d-4c9a-a69c-3b79c1f48f7a",
      "name": "article creation7",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3392,
        160
      ]
    },
    {
      "id": "5567420e-639e-4c62-a14b-bf93c8b1aac8",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2864,
        32
      ],
      "parameters": {
        "width": 768,
        "height": 320,
        "content": "## Blog creation (One time only)"
      }
    },
    {
      "id": "426958e4-9013-4b20-934b-60547289f551",
      "name": "get old collection6",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1984,
        1712
      ]
    },
    {
      "id": "2e2f94a6-ffac-40b2-9a53-8f07202b6e49",
      "name": "article creation8",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2432,
        1712
      ]
    },
    {
      "id": "e00ab219-553a-484f-b5a0-926816545c64",
      "name": "HTML structuring3",
      "type": "n8n-nodes-base.code",
      "position": [
        3168,
        656
      ]
    },
    {
      "id": "a3a59c1d-7f96-42e6-98d3-96a73f17ab29",
      "name": "article creation9",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2928,
        1712
      ]
    },
    {
      "id": "c863e6e9-eb64-477c-b4c7-ed3b1522a678",
      "name": "data allocation16",
      "type": "n8n-nodes-base.set",
      "position": [
        2688,
        1712
      ]
    },
    {
      "id": "99babbaf-a63a-4cac-a5ec-c4e4de9d2673",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        3168,
        1712
      ]
    },
    {
      "id": "ccd83ed9-4d9a-4573-bc3e-817433d8d808",
      "name": "data allocation15",
      "type": "n8n-nodes-base.set",
      "position": [
        2176,
        1712
      ]
    },
    {
      "id": "43e2620b-17f0-4565-b1ab-bd9969bba794",
      "name": "update content4",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1792,
        1744
      ]
    },
    {
      "id": "16daa265-cbf9-4cb2-aaf0-de2292f991d8",
      "name": "get just added1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3424,
        1712
      ]
    },
    {
      "id": "c50cae97-75c3-4942-891e-3921060deacb",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -144
      ],
      "parameters": {
        "width": 724,
        "height": 798,
        "content": "# Automation Overview: \n## Shopify Collections to AI Blog Automation Pipeline\n\nThis automation creates a **fully automated content pipeline** that transforms Shopify collections into SEO-ready blog ar"
      }
    },
    {
      "id": "17a8f405-1a45-4cff-a381-ee48b7a6aa76",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        960
      ],
      "parameters": {
        "width": 3104,
        "height": 496,
        "content": "# 3. Generate a relevant image for the blog article."
      }
    },
    {
      "id": "0d377df7-471c-4345-8f5d-ac2c33324172",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        1472
      ],
      "parameters": {
        "width": 3104,
        "height": 496,
        "content": "# 4. Update image url to article body HTML and post to Shopify"
      }
    },
    {
      "id": "9035280d-ac48-4947-a2ab-22e7177feb92",
      "name": "2 Sec delay",
      "type": "n8n-nodes-base.wait",
      "position": [
        1120,
        160
      ]
    },
    {
      "id": "f073f071-c715-466e-873a-f61d148bab7e",
      "name": "devide items",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1952,
        160
      ]
    },
    {
      "id": "8438af6e-3e5b-4553-933b-74d9046ee652",
      "name": "batch size 10",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2160,
        160
      ]
    },
    {
      "id": "a7e4f267-9d97-4cfb-aa8e-4233e5f6fd25",
      "name": "Limiter",
      "type": "n8n-nodes-base.limit",
      "position": [
        1392,
        640
      ]
    },
    {
      "id": "c303790c-f5df-463e-80c4-7f652bc1a801",
      "name": "set batch size",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1632,
        640
      ]
    },
    {
      "id": "b72c29e9-02bc-483a-80bd-d639b5aed947",
      "name": "Output structure",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        2592,
        672
      ]
    },
    {
      "id": "31bed9f1-6ce7-42e7-9791-4fb812ab443e",
      "name": "delay",
      "type": "n8n-nodes-base.wait",
      "position": [
        832,
        1152
      ]
    },
    {
      "id": "427ce5b0-b648-49e8-ae23-e3717ad92454",
      "name": "set batch size1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1360,
        1152
      ]
    },
    {
      "id": "f97f0893-4b5e-4d0f-8cee-f78cc42b15c0",
      "name": "create space",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1600,
        1168
      ]
    },
    {
      "id": "d2dc8f6e-58ee-4ffa-b4b3-0dc4c104becc",
      "name": "image creation",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        1872,
        1168
      ]
    },
    {
      "id": "184101fe-619d-430a-9d83-31c6d6097c72",
      "name": "update space",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2160,
        1168
      ]
    },
    {
      "id": "48d7744c-feb2-4790-bdc0-fb9dae0ae160",
      "name": "delay1",
      "type": "n8n-nodes-base.wait",
      "position": [
        2672,
        1168
      ]
    },
    {
      "id": "314e5030-1b7f-43a5-8022-e7c818b2e3be",
      "name": "get temp url",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2416,
        1168
      ]
    },
    {
      "id": "a0f9a0b0-4385-4748-b3f9-865b88e638a7",
      "name": "get img url",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2912,
        1168
      ]
    },
    {
      "id": "c912bd5c-917d-417c-934e-599b72c40cff",
      "name": "If verified",
      "type": "n8n-nodes-base.if",
      "position": [
        3152,
        1168
      ]
    },
    {
      "id": "ec0ea4dd-bf3a-4e36-bfb5-b6cdf3829470",
      "name": "delay2",
      "type": "n8n-nodes-base.wait",
      "position": [
        832,
        1728
      ]
    },
    {
      "id": "3484cae8-bcdf-4b3a-b57b-dedbadce118f",
      "name": "get content (img updated)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1088,
        1728
      ]
    },
    {
      "id": "a58ccfd0-d09e-4abf-9841-ad98990fc644",
      "name": "set batch size2",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1360,
        1728
      ]
    },
    {
      "id": "7deff9ac-8543-458c-88ee-0d2a24dfd537",
      "name": "replace img url",
      "type": "n8n-nodes-base.code",
      "position": [
        1600,
        1744
      ]
    },
    {
      "id": "8695633d-c91f-4a58-81e6-c5b4eb28b04e",
      "name": "get old collection",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1280,
        160
      ]
    },
    {
      "id": "f84ae4f8-30a7-4dcd-9317-d78c02559e9f",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        672
      ],
      "parameters": {
        "width": 720,
        "height": 624,
        "content": "# Author Details\n\n![Manish Kumar](https://i.ibb.co/mVn8q94f/Screenshot-2026-01-18-at-8-58-23-AM.png)\n\n## Manish Kumar\n### Expert Designer & AI Automation Engineer\n\n### 📧 [manipritraj@gmail.com](mailto"
      }
    }
  ],
  "connections": {
    "START": {
      "main": [
        [
          {
            "node": "collection API call",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "delay": {
      "main": [
        [
          {
            "node": "get img prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "delay1": {
      "main": [
        [
          {
            "node": "get img url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "delay2": {
      "main": [
        [
          {
            "node": "get content (img updated)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "time 3": {
      "main": [
        [
          {
            "node": "get old collection1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "time 6": {
      "main": [
        [
          {
            "node": "data allocation14",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini2": {
      "ai_languageModel": [
        [
          {
            "node": "content generator2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Gemini5": {
      "ai_languageModel": [
        [
          {
            "node": "Output structure",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Limiter": {
      "main": [
        [
          {
            "node": "set batch size",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Memory2": {
      "ai_memory": [
        [
          {
            "node": "content generator2",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "2 Sec delay": {
      "main": [
        [
          {
            "node": "get old collection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "get just added1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If verified": {
      "main": [
        [
          {
            "node": "Update row in sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "delay1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured2": {
      "ai_outputParser": [
        [
          {
            "node": "Output structure",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "get img url": {
      "main": [
        [
          {
            "node": "If verified",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "web search2": {
      "main": [
        [
          {
            "node": "content generator2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "create space": {
      "main": [
        [
          {
            "node": "image creation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "devide items": {
      "main": [
        [
          {
            "node": "batch size 10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get temp url": {
      "main": [
        [
          {
            "node": "delay1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update space": {
      "main": [
        [
          {
            "node": "get temp url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "batch size 10": {
      "main": [
        [],
        [
          {
            "node": "data allocation1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get img prompt": {
      "main": [
        [
          {
            "node": "set batch size1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "image creation": {
      "main": [
        [
          {
            "node": "update space",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "set batch size": {
      "main": [
        [
          {
            "node": "delay",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "web search2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "data allocation": {
      "main": [
        [
          {
            "node": "collection data storing1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "replace img url": {
      "main": [
        [
          {
            "node": "update content4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "set batch size1": {
      "main": [
        [
          {
            "node": "delay2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "create space",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "set batch size2": {
      "main": [
        [
          {
            "node": "get old collection6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "replace img url",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update content3": {
      "main": [
        [
          {
            "node": "set batch size",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update content4": {
      "main": [
        [
          {
            "node": "set batch size2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Output structure": {
      "ai_outputParser": [
        [
          {
            "node": "content generator2",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Trigger1": {
      "main": [
        [
          {
            "node": "data allocation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "data allocation1": {
      "main": [
        [
          {
            "node": "collection data storing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "data allocation8": {
      "main": [
        [
          {
            "node": "Limiter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTML structuring3": {
      "main": [
        [
          {
            "node": "update content3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "article creation8": {
      "main": [
        [
          {
            "node": "data allocation16",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "article creation9": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "data allocation14": {
      "main": [
        [
          {
            "node": "article creation7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "data allocation15": {
      "main": [
        [
          {
            "node": "article creation8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "data allocation16": {
      "main": [
        [
          {
            "node": "article creation9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "content generator2": {
      "main": [
        [
          {
            "node": "HTML structuring3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get old collection": {
      "main": [
        [
          {
            "node": "data allocation8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update row in sheet": {
      "main": [
        [
          {
            "node": "set batch size1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "collection API call": {
      "main": [
        [
          {
            "node": "devide items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get old collection1": {
      "main": [
        [
          {
            "node": "data allocation8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get old collection6": {
      "main": [
        [
          {
            "node": "data allocation15",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "collection data storing": {
      "main": [
        [
          {
            "node": "batch size 10",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "collection data storing1": {
      "main": [
        [
          {
            "node": "2 Sec delay",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get content (img updated)": {
      "main": [
        [
          {
            "node": "set batch size2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}