RAG Chatbot with Google Drive and Supabase

74c05a33-c806-4e03-9d34-a36cd2fc4c4e

Latency
8586ms
Cost
$0.0030
Tokens
1,210
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "54065cc9-047c-4741-95f6-cec3e352abd7",
    "timestamp": 1780859916225
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780859916225
  },
  {
    "data": {
      "url": "https://www.googleapis.com/drive/v3/files?pageSize=10&fields=files(id,name,mimeType)",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859916225
  },
  {
    "data": {
      "status": 200
    },
    "event": "drive.read",
    "nodeId": "integration",
    "timestamp": 1780859916650
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 425,
      "operation": "download"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780859916650
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "54065cc9-047c-4741-95f6-cec3e352abd7",
    "timestamp": 1780859916650
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "ddf1228f-f051-445b-8a42-54c2510a0b2e",
    "timestamp": 1780859916654
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780859916654
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780859916654
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0013028,
      "provider": "openai",
      "latencyMs": 3499,
      "promptTokens": 1,
      "completionTokens": 521
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780859920154
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "ddf1228f-f051-445b-8a42-54c2510a0b2e",
    "timestamp": 1780859920154
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "43f761b7-f4da-4b29-8099-9b2c15f79fe9",
    "timestamp": 1780859920158
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859920158
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "43f761b7-f4da-4b29-8099-9b2c15f79fe9",
    "timestamp": 1780859920158
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "a396671f-a217-4f05-b969-cb64f10e4b01",
    "timestamp": 1780859920162
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780859920162
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "a396671f-a217-4f05-b969-cb64f10e4b01",
    "timestamp": 1780859920162
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "ba6b87b9-e96d-47a3-83f8-169d7172325a",
    "timestamp": 1780859920164
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859920164
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "ba6b87b9-e96d-47a3-83f8-169d7172325a",
    "timestamp": 1780859920164
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "bcd1b31f-c60b-4c40-b039-d47dadc86b23",
    "timestamp": 1780859920167
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859920167
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "bcd1b31f-c60b-4c40-b039-d47dadc86b23",
    "timestamp": 1780859920167
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "dfd7f734-eb00-4af3-9179-724503422fe4",
    "timestamp": 1780859920170
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780859920170
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "dfd7f734-eb00-4af3-9179-724503422fe4",
    "timestamp": 1780859920170
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "c54c9458-9b8a-4ef1-a6db-5265729be19d",
    "timestamp": 1780859920172
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859920172
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "c54c9458-9b8a-4ef1-a6db-5265729be19d",
    "timestamp": 1780859920172
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "3c0ed0ee-9134-4b4e-bcfd-632dd67a57da",
    "timestamp": 1780859920174
  },
  {
    "data": {
      "service": "supabase",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780859920174
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "supabase",
      "latencyMs": 150,
      "operation": "getAll",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780859920325
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "3c0ed0ee-9134-4b4e-bcfd-632dd67a57da",
    "timestamp": 1780859920325
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "62af57f5-a001-4174-bece-260a1fc595e8",
    "timestamp": 1780859920330
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859920330
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "62af57f5-a001-4174-bece-260a1fc595e8",
    "timestamp": 1780859920331
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "6312f6bc-c69c-4d4f-8838-8a9d0d22ed55",
    "timestamp": 1780859920334
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859920334
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "6312f6bc-c69c-4d4f-8838-8a9d0d22ed55",
    "timestamp": 1780859920334
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "4ffaccdb-9e0f-464d-9284-7771f6599fd8",
    "timestamp": 1780859920337
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859920337
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "4ffaccdb-9e0f-464d-9284-7771f6599fd8",
    "timestamp": 1780859920337
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "30c18e9e-d047-40d3-8324-f5d0e7892db6",
    "timestamp": 1780859920339
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859920339
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "30c18e9e-d047-40d3-8324-f5d0e7892db6",
    "timestamp": 1780859920339
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "734a2c48-b445-4e62-99b7-dc1dcd921c52",
    "timestamp": 1780859920342
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "retrievervectorstore",
      "latencyMs": 250,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780859920593
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "734a2c48-b445-4e62-99b7-dc1dcd921c52",
    "timestamp": 1780859920593
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "58168721-cbd7-498c-9d16-41b4d5c6a68f",
    "timestamp": 1780859920599
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780859920599
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780859920599
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0017178,
      "provider": "openai",
      "latencyMs": 4201,
      "promptTokens": 1,
      "completionTokens": 687
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780859924806
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "58168721-cbd7-498c-9d16-41b4d5c6a68f",
    "timestamp": 1780859924806
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "de0d2666-88e4-4a4d-ba46-cf789b9cba85",
    "timestamp": 1780859924811
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780859924811
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "de0d2666-88e4-4a4d-ba46-cf789b9cba85",
    "timestamp": 1780859924811
  }
]