{
  "name": "Search hardware inventory with Supabase vector RAG and Google Gemini",
  "nodes": [
    {
      "id": "c3c12d7e-d89e-49a7-b2d1-ab1bc8f4e218",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        0,
        208
      ]
    },
    {
      "id": "e932a115-9926-49d8-8148-4ed5cc2a86c7",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        224,
        208
      ]
    },
    {
      "id": "52be1132-2d61-4b0f-8b5f-893dba6b049c",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        288,
        432
      ]
    },
    {
      "id": "b341e229-7292-4cb3-90fa-633aa4945a0f",
      "name": "Google Gemini",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        160,
        432
      ]
    },
    {
      "id": "df1a1310-25bc-43a4-b080-612d9af17d8d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        -192
      ],
      "parameters": {
        "width": 624,
        "height": 720,
        "content": "## Advanced AI Inventory Agent: Supabase Vector RAG & Gemini\n\nThis workflow upgrades your AI agent from [simple sheet reading](https://n8nplaybook.com/post/2026/02/simple-n8n-inventory-ai-agent/) to h"
      }
    },
    {
      "id": "198c02f9-9ad9-42f1-9f22-aa74fbdf9df7",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        -192
      ]
    },
    {
      "id": "67a47a39-af47-4a5f-8d78-fb470cd784ea",
      "name": "Get row(s) in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        224,
        -192
      ]
    },
    {
      "id": "5377a222-5a0c-42a4-8537-6f01099d69f1",
      "name": "Supabase Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        448,
        -192
      ]
    },
    {
      "id": "f25b751c-579f-4490-9538-b36aefc1540a",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        592,
        32
      ]
    },
    {
      "id": "693593fb-8d4e-4599-afc9-f6cc5082e525",
      "name": "Embeddings Google Gemini",
      "type": "@n8n/n8n-nodes-langchain.embeddingsGoogleGemini",
      "position": [
        416,
        32
      ]
    },
    {
      "id": "e1c1f6a6-a002-4e68-a9c7-924e2d56cf93",
      "name": "Supabase Vector Store1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        416,
        432
      ]
    },
    {
      "id": "33013f32-160c-42d4-bbea-b58ffa44b94c",
      "name": "Embeddings Google Gemini1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsGoogleGemini",
      "position": [
        496,
        640
      ]
    }
  ],
  "connections": {
    "Google Gemini": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Supabase Vector Store",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet": {
      "main": [
        [
          {
            "node": "Supabase Vector Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Supabase Vector Store1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings Google Gemini": {
      "ai_embedding": [
        [
          {
            "node": "Supabase Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings Google Gemini1": {
      "ai_embedding": [
        [
          {
            "node": "Supabase Vector Store1",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}