{
  "name": "Shopify VIP alerts: AI summary & Slack notification for big orders",
  "nodes": [
    {
      "id": "ac23a49a-4fc6-468a-ba0f-c520a4feb396",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        40,
        1540
      ]
    },
    {
      "id": "f3c6e47e-6784-47d8-a7a7-30f4c11e9ff3",
      "name": "New Shopify Order",
      "type": "n8n-nodes-base.shopifyTrigger",
      "position": [
        -720,
        1260
      ]
    },
    {
      "id": "a694a77c-a1eb-4053-bc69-4f7048a1abbc",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -280,
        1260
      ]
    },
    {
      "id": "1a22c0cd-d1b1-45a7-8fc6-78ef21edb762",
      "name": "Fetch Customer Order History",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        40,
        1100
      ]
    },
    {
      "id": "cfbfb38c-53b9-4c25-8eda-2090c4ef0738",
      "name": "Type conversion (Array to String)",
      "type": "n8n-nodes-base.set",
      "position": [
        260,
        1100
      ]
    },
    {
      "id": "79f49ac3-b559-48e8-826b-ee7ae58dbe5f",
      "name": "Type conversion (String to Number)",
      "type": "n8n-nodes-base.set",
      "position": [
        -500,
        1260
      ]
    },
    {
      "id": "b69c46f9-67dd-4eec-a94e-72cc9a03ebbf",
      "name": "Summarize Order History",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        520,
        1100
      ]
    },
    {
      "id": "f4812abe-d29d-4fc6-b9ea-705437c90d82",
      "name": "Send Slack Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        880,
        1100
      ]
    },
    {
      "id": "aa297625-1574-4105-a480-ace06e258cc3",
      "name": "Ignore Low-Value Order",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        460,
        1300
      ]
    },
    {
      "id": "2ef2e96b-b299-43d6-92b1-65206d1a53b6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2540,
        1340
      ],
      "parameters": {
        "width": 1289,
        "height": 2238,
        "content": "# 🔔 High-Value Order Alert Workflow\n\n**Description:**  \nThis workflow is designed to monitor incoming orders from a Shopify store. When an order exceeds $200, it automatically fetches the customer's o"
      }
    },
    {
      "id": "b97d2bcb-56da-4973-8c51-f71f199bf67c",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2540,
        1000
      ],
      "parameters": {
        "width": 1300,
        "height": 320,
        "content": "=======================================\n            WORKFLOW ASSISTANCE\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tip"
      }
    },
    {
      "id": "3f072968-adae-412e-aad3-0244555e9732",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -760,
        500
      ],
      "parameters": {
        "width": 420,
        "height": 940,
        "content": "🟢 Shopify Order Trigger & Pre-Processing\n🎯 Purpose:\nTo detect new incoming orders from the Shopify store and extract key data, especially the order total, for conditional routing.\n\n🧩 Nodes Involved:\nN"
      }
    },
    {
      "id": "8a494e6b-b7d8-473d-aca9-959ad758c769",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 1060,
        "height": 1440,
        "content": "🧠 Customer Insights via AI\n🎯 Purpose:\nTo provide context on the customer's past purchase behavior using AI-generated summaries, so that the team receiving the alert understands the customer profile in"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Fetch Customer Order History",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "New Shopify Order": {
      "main": [
        [
          {
            "node": "Type conversion (String to Number)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ignore Low-Value Order": {
      "ai_languageModel": [
        [
          {
            "node": "Summarize Order History",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Summarize Order History": {
      "main": [
        [
          {
            "node": "Send Slack Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Customer Order History": {
      "main": [
        [
          {
            "node": "Type conversion (Array to String)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Type conversion (Array to String)": {
      "main": [
        [
          {
            "node": "Summarize Order History",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Type conversion (String to Number)": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}