{
  "name": "Create AI support assistant for any device with GPT-4-mini & Pinecone",
  "nodes": [
    {
      "id": "3a4f96f5-e0a5-46a5-b604-9c8a7b45e8a1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        -420
      ],
      "parameters": {
        "width": 383.5309107901297,
        "height": 320.7616136919316,
        "content": "## 🎯 UNIVERSAL DEVICE SUPPORT ASSISTANT\n\nThis workflow creates an AI-powered support system for ANY device:\n• Kitchen appliances\n• Electronics\n• Smart home devices\n• Power tools\n• Medical equipment\n\n#"
      }
    },
    {
      "id": "configuration-note",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        100
      ],
      "parameters": {
        "width": 350,
        "height": 350,
        "content": "## ⚙️ CONFIGURATION CHECKLIST\n\n- [ ] OpenAI API Key added\n- [ ] Pinecone API Key added\n- [ ] Webhook path configured\n- [ ] CORS headers enabled\n- [ ] Memory window set\n- [ ] Chunk size optimized\n- [ ]"
      }
    },
    {
      "id": "example-queries",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -500
      ],
      "parameters": {
        "width": 320,
        "height": 280,
        "content": "## 💬 EXAMPLE USER QUERIES\n\n**Test these to verify setup:**\n\n• 'My dishwasher shows error E24'\n• 'How do I set up my smart thermostat?'\n• 'Coffee machine not heating'\n• 'Router red light blinking'\n• 'T"
      }
    },
    {
      "id": "troubleshooting",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        -400
      ],
      "parameters": {
        "width": 300,
        "height": 300,
        "content": "## 🔍 TROUBLESHOOTING\n\n**❌ No response:**\n→ Check API keys\n→ Verify webhook is active\n→ Check execution logs\n\n**❌ Poor answers:**\n→ Upload more detailed manuals\n→ Adjust chunk size\n→ Improve system pro"
      }
    },
    {
      "id": "extension-ideas",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        100
      ],
      "parameters": {
        "width": 300,
        "height": 320,
        "content": "## 🚀 EXTENSION IDEAS\n\n• Add image recognition for visual guides\n• Connect to IoT devices for real-time data\n• Integrate with ticketing systems\n• Add multi-language support\n• Create mobile app\n• Add vo"
      }
    },
    {
      "id": "webhook-entry",
      "name": "Webhook - User Query",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -680,
        -260
      ]
    },
    {
      "id": "ai-agent",
      "name": "AI Agent - Device Expert",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -280,
        -260
      ]
    },
    {
      "id": "webhook-response",
      "name": "Send Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        320,
        -260
      ]
    },
    {
      "id": "llm-model",
      "name": "LLM Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -420,
        -60
      ]
    },
    {
      "id": "conversation-memory",
      "name": "Conversation Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -240,
        -60
      ]
    },
    {
      "id": "vector-database",
      "name": "Manual Knowledge Base",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        -100,
        -60
      ]
    },
    {
      "id": "embeddings-model",
      "name": "Embeddings Model",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -60,
        100
      ]
    },
    {
      "id": "manual-upload",
      "name": "Manual Upload Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -600,
        300
      ]
    },
    {
      "id": "prepare-manual-data",
      "name": "Prepare Manual Data",
      "type": "n8n-nodes-base.set",
      "position": [
        -380,
        300
      ]
    },
    {
      "id": "upload-to-vectordb",
      "name": "Upload to Vector Database",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        -120,
        300
      ]
    },
    {
      "id": "document-loader",
      "name": "Document Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        -20,
        520
      ]
    },
    {
      "id": "text-splitter",
      "name": "Text Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        60,
        700
      ]
    },
    {
      "id": "upload-embeddings",
      "name": "Upload Embeddings",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -200,
        560
      ]
    }
  ],
  "connections": {
    "LLM Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent - Device Expert",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Text Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Document Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "Document Loader": {
      "ai_document": [
        [
          {
            "node": "Upload to Vector Database",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings Model": {
      "ai_embedding": [
        [
          {
            "node": "Manual Knowledge Base",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Upload Embeddings": {
      "ai_embedding": [
        [
          {
            "node": "Upload to Vector Database",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Conversation Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent - Device Expert",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Manual Data": {
      "main": [
        [
          {
            "node": "Upload to Vector Database",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook - User Query": {
      "main": [
        [
          {
            "node": "AI Agent - Device Expert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Knowledge Base": {
      "ai_tool": [
        [
          {
            "node": "AI Agent - Device Expert",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Manual Upload Trigger": {
      "main": [
        [
          {
            "node": "Prepare Manual Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent - Device Expert": {
      "main": [
        [
          {
            "node": "Send Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}