{
  "name": "Generate Shopify product listings from images with Gemini AI and Airtable",
  "nodes": [
    {
      "id": "d93982bc-9446-4bef-9a68-660a5df9b398",
      "name": "start",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -3856,
        2912
      ]
    },
    {
      "id": "d735219d-c2ca-4ed3-9d95-54e0edcf7118",
      "name": "do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -3568,
        2912
      ]
    },
    {
      "id": "e397c1fb-f707-4e12-9ce6-b34906a83b10",
      "name": "store_id",
      "type": "n8n-nodes-base.set",
      "position": [
        -3792,
        3424
      ]
    },
    {
      "id": "1a60742b-efb1-42fd-9240-df477c61c295",
      "name": "get_raw_image_table_data",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -3792,
        3136
      ]
    },
    {
      "id": "fb027d2f-72b6-41df-b372-93c85ac22638",
      "name": "filter_raw_row",
      "type": "n8n-nodes-base.switch",
      "position": [
        -3568,
        3136
      ]
    },
    {
      "id": "eb39feb9-0052-467d-bc29-13aeb2592a9e",
      "name": "loop_image_analyzation",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -3264,
        3120
      ]
    },
    {
      "id": "99f1edc0-d2d4-47a0-b240-1248b4a927a6",
      "name": "get_collection_data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -3568,
        3424
      ]
    },
    {
      "id": "53365348-0ce1-4cb4-b81f-782ac4d4488c",
      "name": "refine_collection_output",
      "type": "n8n-nodes-base.code",
      "position": [
        -3344,
        3424
      ]
    },
    {
      "id": "1bff9b59-7e1a-49a0-9b8d-2b6be9788872",
      "name": "limit_1",
      "type": "n8n-nodes-base.limit",
      "position": [
        -3040,
        3136
      ]
    },
    {
      "id": "2bab1d58-92eb-430a-8605-44e3b65c47e6",
      "name": "download_image",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -2816,
        3136
      ]
    },
    {
      "id": "252be6f6-0b62-4cd3-bafb-29e1a76190af",
      "name": "analyze_image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -2592,
        3136
      ]
    },
    {
      "id": "5a4a23a4-d805-44f2-94e4-b12d4ce592d2",
      "name": "update_image_data",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -2368,
        3136
      ]
    },
    {
      "id": "7271487c-0d69-4c2c-b062-97105d136a93",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -2448,
        3440
      ]
    },
    {
      "id": "124951f1-6d2b-4ffc-8bb6-63f9568ab0d9",
      "name": "Auto-fixing Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        -2384,
        3680
      ]
    },
    {
      "id": "79b254f4-ceb9-4685-ba62-5fab927b8009",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -2608,
        3696
      ]
    },
    {
      "id": "d5625b75-2a40-48ea-bfc3-b6d36bbb1741",
      "name": "limit_",
      "type": "n8n-nodes-base.limit",
      "position": [
        -2672,
        3440
      ]
    },
    {
      "id": "64838bc3-8aac-4903-8c66-52e4c60c237b",
      "name": "update_product_details",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -2864,
        3680
      ]
    },
    {
      "id": "35bbe721-47d2-4173-b7f5-87dd6060c428",
      "name": "update_drive_file_id",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -2592,
        2912
      ]
    },
    {
      "id": "3ba9b580-69d6-4b31-89a0-21dec6f49ef3",
      "name": "get_analyzed_row",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -2896,
        3440
      ]
    },
    {
      "id": "99d2c7d8-efe2-4e25-84b6-a50b9798fb69",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -2816,
        2896
      ]
    },
    {
      "id": "3ff30e4c-1797-4546-9597-f99204fc60b3",
      "name": "do nothing1",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -2288,
        2880
      ]
    },
    {
      "id": "160dc1d3-0181-4c4b-a678-1711b5974be9",
      "name": "get_product_table",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -3040,
        2896
      ]
    },
    {
      "id": "cf6a3a2b-af2a-46db-afe9-6a04e950a9d0",
      "name": "product_info_creation",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -3120,
        3424
      ]
    },
    {
      "id": "b3733423-3cd6-4cfe-97c8-3b8ae35f0bcd",
      "name": "limit_2",
      "type": "n8n-nodes-base.limit",
      "position": [
        -3328,
        2896
      ]
    },
    {
      "id": "0b5f1b3a-d6cf-4f23-ab48-dba15410d309",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -4016,
        3424
      ]
    },
    {
      "id": "eaa6025b-a015-4525-9bd0-578878301a9b",
      "name": "Gimini Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -2496,
        3696
      ]
    },
    {
      "id": "5abd0b24-2b29-4d69-9b4d-5a0564e4eb6d",
      "name": "get_analyzed_row2",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -3008,
        3968
      ]
    },
    {
      "id": "64b9d2e6-2b74-4505-9ce2-45d4f4559332",
      "name": "Create a product",
      "type": "n8n-nodes-base.shopify",
      "position": [
        -2784,
        3968
      ]
    },
    {
      "id": "bd81c5a1-291a-48b6-a78a-d22db70fc27a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -5120,
        2608
      ],
      "parameters": {
        "width": 944,
        "height": 1568,
        "content": "# Digital Art to Shopify Automation\n\n## Overview :\nThis template automates the process of turning digital art files into fully structured Shopify products using n8n, OpenAI, Airtable, Google Drive, an"
      }
    },
    {
      "id": "fcb13329-e49e-4831-8a91-8fb6d1feccd1",
      "name": "update_product_update_status",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -2544,
        3968
      ]
    },
    {
      "id": "92d6bbc1-5b29-42fb-af8f-a2dd3394fa4f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4128,
        2608
      ],
      "parameters": {
        "width": 2096,
        "height": 752,
        "content": "# Digital Image Analysis\n\n## Purpose:\nAutomatically fetch raw digital images, analyze their content using AI, and update the results in Airtable for further processing.\n\n## How It Works:\nThis workflow"
      }
    },
    {
      "id": "8609bce8-b6ce-42dc-9b60-9032a024c89b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4128,
        3408
      ],
      "parameters": {
        "width": 2096,
        "height": 768,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n# Shopify Product Creation\n\n## Purpose:\nConvert AI-analyzed image data into structured Shopify product details and post them automatically to your Shopify store.\n\n## How It Works:\nHere "
      }
    },
    {
      "id": "095edb67-2ee2-4c32-921a-fe5f5fa06c32",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -5648,
        2608
      ],
      "parameters": {
        "width": 464,
        "height": 912,
        "content": "# Author Details\n\n## Manish Kumar\n### Expert Designer & Automation Engineer for Custom Shopify Apps\n\nI specialize in designing seamless customer experiences and automating workflows for Shopify, web, "
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "do nothing1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "update_drive_file_id",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "store_id",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "start": {
      "main": [
        [
          {
            "node": "get_raw_image_table_data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "limit_": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "limit_1": {
      "main": [
        [
          {
            "node": "download_image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "limit_2": {
      "main": [
        [
          {
            "node": "get_product_table",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "store_id": {
      "main": [
        [
          {
            "node": "get_collection_data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gimini Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "analyze_image": {
      "main": [
        [
          {
            "node": "update_image_data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "download_image": {
      "main": [
        [
          {
            "node": "analyze_image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "filter_raw_row": {
      "main": [
        [
          {
            "node": "loop_image_analyzation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "update_product_details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a product": {
      "main": [
        [
          {
            "node": "update_product_update_status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_analyzed_row": {
      "main": [
        [
          {
            "node": "limit_",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_analyzed_row2": {
      "main": [
        [
          {
            "node": "Create a product",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_product_table": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update_image_data": {
      "main": [
        [
          {
            "node": "loop_image_analyzation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_collection_data": {
      "main": [
        [
          {
            "node": "refine_collection_output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update_drive_file_id": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "product_info_creation": {
      "main": [
        [
          {
            "node": "get_analyzed_row2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get_analyzed_row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "loop_image_analyzation": {
      "main": [
        [
          {
            "node": "limit_2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "limit_1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update_product_details": {
      "main": [
        [
          {
            "node": "product_info_creation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "get_raw_image_table_data": {
      "main": [
        [
          {
            "node": "filter_raw_row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "refine_collection_output": {
      "main": [
        [
          {
            "node": "product_info_creation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Auto-fixing Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}