{
  "name": "Manage WooCommerce store operations via AI Telegram bot with OpenRouter",
  "nodes": [
    {
      "id": "28dd9f4c-d48d-4926-822a-517edeae5824",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        96,
        112
      ]
    },
    {
      "id": "de4ce1b1-e985-4e74-8fd8-c6e2bca4eba2",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        768,
        112
      ]
    },
    {
      "id": "6fc9fcaa-9a81-49dd-80a3-683344be2096",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        384,
        336
      ]
    },
    {
      "id": "08e3901a-3616-4fd2-945e-c5a4e752167a",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        512,
        336
      ]
    },
    {
      "id": "8383f59f-2d25-470f-924c-d06d7d2d4fdf",
      "name": "Get orders",
      "type": "n8n-nodes-base.wooCommerceTool",
      "position": [
        704,
        336
      ]
    },
    {
      "id": "1203dff9-09a8-44a0-ae02-c469ab02f0cb",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1728,
        112
      ]
    },
    {
      "id": "bc4b6404-9e9a-40ca-a929-4583d116e74e",
      "name": "Get products",
      "type": "n8n-nodes-base.wooCommerceTool",
      "position": [
        832,
        336
      ]
    },
    {
      "id": "d1259eb2-4893-4864-b42d-e1503d8be6a0",
      "name": "Update product",
      "type": "n8n-nodes-base.wooCommerceTool",
      "position": [
        960,
        336
      ]
    },
    {
      "id": "2caa58ad-bdf8-4fe5-93e3-84cb0f949b68",
      "name": "database",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1168,
        352
      ]
    },
    {
      "id": "15ae2cdd-5790-432d-88d7-db5ec38a8928",
      "name": "Send email",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1312,
        352
      ]
    },
    {
      "id": "3d20a9ca-d434-4ea4-94a9-4dffea13cd5d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        -112
      ],
      "parameters": {
        "width": 608,
        "height": 912,
        "content": "Telegram AI eCommerce Agent for WooCommerce\n\n@[youtube](cO5SazP1eNI)\n\n\n\nThis workflow allows you to manage your WooCommerce store directly from Telegram using an AI assistant.\n\nFeatures:\n• Get orders\n"
      }
    },
    {
      "id": "ac309d26-5180-4fd4-8490-7b6517373583",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        -32
      ],
      "parameters": {
        "width": 320,
        "height": 384,
        "content": "## Telegram bot trigger.\n\nReceives user messages and sends them to the AI agent."
      }
    },
    {
      "id": "94e64ca4-5015-4b88-8db0-b53e4c4b6dfd",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1616,
        -32
      ],
      "parameters": {
        "width": 320,
        "height": 368,
        "content": "## Telegram bot Action .\n\nsends Ai Agent messages to user.\n"
      }
    },
    {
      "id": "de3d57d4-4d7b-42ef-a462-3273a552f9ca",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -32
      ],
      "parameters": {
        "width": 784,
        "height": 96,
        "content": "## Core AI brain.\nUnderstands user intent and decides which tool to execute.\nPowered by OpenRouter chat model with memory."
      }
    },
    {
      "id": "51edaf75-9568-448e-ac88-47ea811216db",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        512
      ],
      "parameters": {
        "width": 416,
        "height": 224,
        "content": "## Woocommerce\n\nStore management tools.\n\nIncludes:\n• Get orders\n• Get products\n• Update products"
      }
    },
    {
      "id": "23e2f71f-b975-4366-b1ef-653b4ecfcea3",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        512
      ],
      "parameters": {
        "width": 416,
        "height": 272,
        "content": "## Google Sheets\n\nDatabase logging.\nStores retrieved or updated store data.\n\n## Gmail\n\nEmail notifications.\nUsed for sending reports or alerts.\n\n"
      }
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "database": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get orders": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send email": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get products": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Update product": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}