{
  "name": "Magento maintenance via natural language with GPT and Telegram/WhatsApp",
  "nodes": [
    {
      "id": "cccbff02-437f-4b9f-ae1d-4fae2290943c",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        416,
        -80
      ]
    },
    {
      "id": "c7b6c2df-301d-4dc4-90c2-0e5b25f173e6",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        688,
        -304
      ]
    },
    {
      "id": "bfaa0bd2-3935-4aba-b57a-7399426da800",
      "name": "Execute a command",
      "type": "n8n-nodes-base.ssh",
      "position": [
        912,
        -112
      ]
    },
    {
      "id": "31876e33-94d3-4f92-ad74-ed64af93af3b",
      "name": "Get audio file",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -112,
        -96
      ]
    },
    {
      "id": "4d20a186-9620-4764-98ef-05298f5e020f",
      "name": "Transcribe audio",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        112,
        -384
      ]
    },
    {
      "id": "1ea6ff1a-eadc-4cb7-9859-87ffb787e017",
      "name": "Message Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -784,
        -144
      ]
    },
    {
      "id": "ceae5e14-0d7f-4ccd-8788-a2ef768a25b3",
      "name": "Route Chat Input",
      "type": "n8n-nodes-base.switch",
      "position": [
        -560,
        -272
      ]
    },
    {
      "id": "9863ba51-316c-4b62-b328-e7b07829e9fa",
      "name": "Send Output",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1360,
        -64
      ]
    },
    {
      "id": "f06a4fcd-4850-4e2d-89b9-3c3834af3cfc",
      "name": "Send Error Message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1136,
        -304
      ]
    },
    {
      "id": "8e854e62-7ca5-47aa-89dd-cbc275d33410",
      "name": "Magento AI Agent 👩🏻‍🏫",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        336,
        -304
      ]
    },
    {
      "id": "92d9a379-b294-4216-b713-518d27d20be9",
      "name": "WhatsApp Trigger",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "position": [
        -784,
        -336
      ]
    },
    {
      "id": "cd443897-ba69-475e-b440-1d4fc9e92fd2",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        1136,
        -112
      ]
    },
    {
      "id": "3281cea0-7f92-4bab-9c19-d29e5620a672",
      "name": "Send message",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        1360,
        -208
      ]
    },
    {
      "id": "2b9509cb-ca7e-484a-8dc7-ffc0d963a6e7",
      "name": "Download media",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        -336,
        -384
      ]
    },
    {
      "id": "3d70ad96-6431-4b90-aec1-da22c6ae8be5",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -112,
        -384
      ]
    },
    {
      "id": "dfd3b110-b287-497d-a26d-b58f33309755",
      "name": "If2",
      "type": "n8n-nodes-base.if",
      "position": [
        912,
        -400
      ]
    },
    {
      "id": "863193a9-f5e8-47ee-b295-df607a0359a5",
      "name": "Send message1",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        1136,
        -496
      ]
    },
    {
      "id": "e624eaa5-448d-4c06-ba7f-379720f6e50d",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        -624
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2a55529d-741b-4e5e-8b42-5f3b85871898",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        304,
        -624
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "3305e6e8-288a-4891-a0b4-966f333c991d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        -624
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "958c915b-9a6a-4488-90e1-ee62a497e7ba",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        -832
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "If2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Execute a command",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If1": {
      "main": [
        [
          {
            "node": "Send message",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If2": {
      "main": [
        [
          {
            "node": "Send message1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Error Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Output": {
      "main": [
        []
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Transcribe audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download media": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get audio file": {
      "main": [
        [
          {
            "node": "Transcribe audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message Trigger": {
      "main": [
        [
          {
            "node": "Route Chat Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route Chat Input": {
      "main": [
        [
          {
            "node": "Magento AI Agent 👩🏻‍🏫",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get audio file",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Magento AI Agent 👩🏻‍🏫",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download media",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe audio": {
      "main": [
        [
          {
            "node": "Magento AI Agent 👩🏻‍🏫",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "WhatsApp Trigger": {
      "main": [
        [
          {
            "node": "Route Chat Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute a command": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Magento AI Agent 👩🏻‍🏫",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Magento AI Agent 👩🏻‍🏫": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}