{
  "name": "Build a Shopify store chat agent with Shopify MCP and C1 by Thesys",
  "nodes": [
    {
      "id": "bfcf9c25-a20c-4906-9651-2f113857e451",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1328,
        2352
      ]
    },
    {
      "id": "468f9791-ff7d-4c2a-87d8-d604aabf9da6",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        592,
        2304
      ],
      "parameters": {
        "width": 480,
        "height": 768,
        "content": "### Step 1: Setup Thesys\n\n![](https://www.thesys.dev/n8n/n8n-step-2.png)\n\n1. [Go to Thesys Console and log in](https://console.thesys.dev/keys)\n\n2. Generate a new API key and copy it somewhere safe.\n\n"
      }
    },
    {
      "id": "66924446-f0d0-405f-b406-6368aa9732fe",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        1312
      ],
      "parameters": {
        "width": 1136,
        "height": 656,
        "content": "![](https://www.thesys.dev/n8n/n8n-compare.png)"
      }
    },
    {
      "id": "f4eba13d-b4cc-479c-80ca-90a8c2b39a8f",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        176
      ],
      "parameters": {
        "width": 928,
        "height": 1792,
        "content": "\n## Build your own Shopify Store Agent with Shopify MCP and C1 by Thesys\n\nThis n8n template can setup a embeddable web chat widget for your Shopify store.\n\n### [Check out a working demo of this templa"
      }
    },
    {
      "id": "95b4acfb-17e0-43c7-90ff-3c8344cfc618",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1728,
        2032
      ],
      "parameters": {
        "width": 448,
        "height": 288,
        "content": "\n### Step 3: Activate the Workflow\n\n1. At the top of the n8n editor, click the Active / Inactive toggle.\n\n2. Make the chat publicly available and copy the link\n\n\n### Step 4: Try It Out\n\n1. Open [Thesy"
      }
    },
    {
      "id": "ec0bd1d2-2400-424c-bb9c-6860485e574d",
      "name": "UI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1264,
        2128
      ]
    },
    {
      "id": "1f1ac3af-2969-4940-b60d-013101027851",
      "name": "C1 Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1200,
        2352
      ]
    },
    {
      "id": "729cbf80-cb4f-49d3-beeb-72a0cae22fc4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1104,
        2016
      ],
      "parameters": {
        "width": 528,
        "height": 480,
        "content": "## UI Agent\nThis agent can reason, use tools and returns results as interactive UI"
      }
    },
    {
      "id": "70be9b35-4f76-4812-b8cd-2408ec3775d1",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        976,
        2128
      ]
    },
    {
      "id": "01138e5a-c9c4-4a1c-b55b-067e02564364",
      "name": "Shopify Storefront MCP",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        1456,
        2352
      ]
    },
    {
      "id": "e0c39be7-c9f8-4c22-af58-0d9f312aa265",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        2512
      ],
      "parameters": {
        "width": 336,
        "height": null,
        "content": "### Step 2: Add your Shopify MCP URL\n\nMCP URL = https://<STOREFRONT_URL>/api/mcp\n\nFor more information, refer [Shopify Docs](https://shopify.dev/docs/apps/build/storefront-mcp/servers/storefront)"
      }
    }
  ],
  "connections": {
    "C1 Model": {
      "ai_languageModel": [
        [
          {
            "node": "UI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "UI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Storefront MCP": {
      "ai_tool": [
        [
          {
            "node": "UI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "UI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}