Conversational SQL Agent with Database Memory

33890fe3-e998-4b2c-a797-b4bf3df3980d

Latency
50601ms
Cost
$0.0000
Tokens
0
Status
partial
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "3544950e-4d8e-46ca-8f56-61c152a5cae3",
    "timestamp": 1783328604287
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783328604287
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "3544950e-4d8e-46ca-8f56-61c152a5cae3",
    "timestamp": 1783328604287
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "743cc4e7-5f24-4adc-b872-7241ee775bd0",
    "timestamp": 1783328604289
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4-turbo",
    "nodeId": "llm",
    "timestamp": 1783328604289
  },
  {
    "data": {
      "model": "gpt-4-turbo",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783328604289
  },
  {
    "data": {
      "error": "OpenAI API error (429): {\n    \"error\": {\n        \"message\": \"You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.\",\n        \"type\": \"insufficient_quota\",\n        \"param\": null,\n        \"code\": \"insufficient_quota\"\n    }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "743cc4e7-5f24-4adc-b872-7241ee775bd0",
    "timestamp": 1783328629556
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "cc30066c-ad2c-4729-82c1-a6b0f4214dee",
    "timestamp": 1783328629561
  },
  {
    "data": {
      "initialData": {
        "message": "Show me the total sales for each customer in the USA."
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783328629561
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "cc30066c-ad2c-4729-82c1-a6b0f4214dee",
    "timestamp": 1783328629561
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "5ecaa3eb-e93e-4e41-bbc0-98a8c2b2d463",
    "timestamp": 1783328629563
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783328629563
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "5ecaa3eb-e93e-4e41-bbc0-98a8c2b2d463",
    "timestamp": 1783328629563
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "0deacd0d-45cb-4738-8da0-9d1251858867",
    "timestamp": 1783328629564
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783328629564
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "0deacd0d-45cb-4738-8da0-9d1251858867",
    "timestamp": 1783328629564
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "701d1325-4186-4185-886a-3738163db603",
    "timestamp": 1783328629566
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783328629566
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "701d1325-4186-4185-886a-3738163db603",
    "timestamp": 1783328629566
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "61f34708-f8ed-44a9-8522-6042d28511ae",
    "timestamp": 1783328629568
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "compression",
      "latencyMs": 0,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783328629568
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "61f34708-f8ed-44a9-8522-6042d28511ae",
    "timestamp": 1783328629568
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "2be63956-236e-46f7-b8e4-0f55e2e25a5c",
    "timestamp": 1783328629570
  },
  {
    "data": {
      "inputKeys": [
        "message"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783328629570
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "2be63956-236e-46f7-b8e4-0f55e2e25a5c",
    "timestamp": 1783328629570
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "6a12d9ac-f1b7-4267-8b34-58cdb9d347bb",
    "timestamp": 1783328629572
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783328629572
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "6a12d9ac-f1b7-4267-8b34-58cdb9d347bb",
    "timestamp": 1783328629572
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "ac819eb5-13b2-4280-b9d6-06ec1209700e",
    "timestamp": 1783328629573
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783328629573
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783328629573
  },
  {
    "data": {
      "error": "OpenAI API error (429): {\n    \"error\": {\n        \"message\": \"You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.\",\n        \"type\": \"insufficient_quota\",\n        \"param\": null,\n        \"code\": \"insufficient_quota\"\n    }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "ac819eb5-13b2-4280-b9d6-06ec1209700e",
    "timestamp": 1783328654888
  }
]