{
  "name": "Send bulk WhatsApp promos for new Shopify products with OpenAI and Sheets",
  "nodes": [
    {
      "id": "7f879efc-3c96-468b-8765-a827c1a68a68",
      "name": "Create Product URL",
      "type": "n8n-nodes-base.set",
      "position": [
        704,
        -64
      ]
    },
    {
      "id": "1ac5079a-eab8-4b74-bf86-8f352dd8d1b5",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        -128
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "aecf1ea6-e574-4a51-a473-e40ead4c8c0b",
      "name": "Shopify Trigger",
      "type": "n8n-nodes-base.shopifyTrigger",
      "position": [
        -128,
        -64
      ]
    },
    {
      "id": "c5827765-3c32-4bf3-bcad-f10c0530a9f7",
      "name": "Code (image link detect)",
      "type": "n8n-nodes-base.code",
      "position": [
        64,
        -64
      ]
    },
    {
      "id": "7bd8f649-30bb-498b-bfc4-518ac4c8305f",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        720,
        352
      ]
    },
    {
      "id": "6b7788e0-3881-4b62-8090-accfe8586730",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1200,
        432
      ]
    },
    {
      "id": "28cac524-4ace-4137-9bda-91905e885e64",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        896,
        192
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "712838e0-3393-4624-ab4d-369efb749b7d",
      "name": "Get All Customer Data In Shopify Store",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -96,
        336
      ]
    },
    {
      "id": "be10f816-dd45-4148-86c4-9b45c3265341",
      "name": "Clean Customer Data In Shopify Store",
      "type": "n8n-nodes-base.code",
      "position": [
        112,
        336
      ]
    },
    {
      "id": "8052e018-8607-4eea-9968-a1c5ba9324e9",
      "name": "Save data Sheet Unverified & Not sent",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        976,
        432
      ]
    },
    {
      "id": "f0b3f9fb-aae6-429f-af79-df6b0d21f411",
      "name": "Save data in Sheet Verified & Sent",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1200,
        240
      ]
    },
    {
      "id": "ea8ec798-bb13-4b58-a067-7a71f7c8d0eb",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        272
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "df2e2f30-21b7-4884-b829-9b76967f3cba",
      "name": "Loop Over Customer",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        320,
        336
      ]
    },
    {
      "id": "b48d49e8-38d2-4c01-85bb-0ba988d67566",
      "name": "Loop Over Image Link",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        496,
        -80
      ]
    },
    {
      "id": "cc0aaa76-29cb-4ee0-93cb-ccbb4fad89ce",
      "name": "Rapiwa (verify whatsapp number)",
      "type": "n8n-nodes-rapiwa.rapiwa",
      "position": [
        544,
        352
      ]
    },
    {
      "id": "50808d7a-216e-492d-8cf6-2bc619a6e061",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -608,
        -144
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a2e0c156-fea1-450f-bd70-620be014f380",
      "name": "Get a product in Shopify",
      "type": "n8n-nodes-base.shopifyTool",
      "position": [
        1216,
        -64
      ]
    },
    {
      "id": "d2d087ad-a183-47c7-84cd-8cff59c39d81",
      "name": "Create product description (HTML) into a short",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        928,
        -64
      ]
    },
    {
      "id": "35b8ea8e-481a-4d0e-87c1-a69da57d5e23",
      "name": "Rapiwa (Send Whatsapp message)",
      "type": "n8n-nodes-rapiwa.rapiwa",
      "position": [
        512,
        -368
      ]
    },
    {
      "id": "f78a37f8-5ef0-45be-9a35-e71aef6fd303",
      "name": "Send a Notification mail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        752,
        -368
      ]
    },
    {
      "id": "37be23fe-71ad-4f23-b986-7863daba3881",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        464,
        -416
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "60e354be-b341-4d8f-90dd-e32071b1e352",
      "name": "If (separate image link)",
      "type": "n8n-nodes-base.if",
      "position": [
        256,
        -64
      ]
    },
    {
      "id": "2f55994c-ed3a-4066-8076-82f247ddf178",
      "name": "Rapiwa (send whatsapp message)",
      "type": "n8n-nodes-rapiwa.rapiwa",
      "position": [
        976,
        240
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Rapiwa (send whatsapp message)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Save data Sheet Unverified & Not sent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Loop Over Customer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Trigger": {
      "main": [
        [
          {
            "node": "Code (image link detect)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Product URL": {
      "main": [
        [
          {
            "node": "Create product description (HTML) into a short",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Customer": {
      "main": [
        [],
        [
          {
            "node": "Rapiwa (verify whatsapp number)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Image Link": {
      "main": [
        [],
        [
          {
            "node": "Create Product URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code (image link detect)": {
      "main": [
        [
          {
            "node": "If (separate image link)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a product in Shopify": {
      "ai_tool": [
        [
          {
            "node": "Create product description (HTML) into a short",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "If (separate image link)": {
      "main": [
        [
          {
            "node": "Loop Over Image Link",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send a Notification mail",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rapiwa (Send Whatsapp message)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rapiwa (send whatsapp message)": {
      "main": [
        [
          {
            "node": "Save data in Sheet Verified & Sent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rapiwa (verify whatsapp number)": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save data in Sheet Verified & Sent": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean Customer Data In Shopify Store": {
      "main": [
        [
          {
            "node": "Loop Over Customer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save data Sheet Unverified & Not sent": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get All Customer Data In Shopify Store": {
      "main": [
        [
          {
            "node": "Clean Customer Data In Shopify Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create product description (HTML) into a short": {
      "main": [
        [
          {
            "node": "Get All Customer Data In Shopify Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}