Conversational SQL Agent with Database Memory

c2fba5aa-8355-4c5b-978f-a6cdaf1962a7

Latency
51397ms
Cost
$0.0000
Tokens
0
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "3544950e-4d8e-46ca-8f56-61c152a5cae3",
    "timestamp": 1783328656112
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783328656112
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "3544950e-4d8e-46ca-8f56-61c152a5cae3",
    "timestamp": 1783328656112
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "743cc4e7-5f24-4adc-b872-7241ee775bd0",
    "timestamp": 1783328656115
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4-turbo",
    "nodeId": "llm",
    "timestamp": 1783328656115
  },
  {
    "data": {
      "model": "gpt-4-turbo",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783328656115
  },
  {
    "data": {
      "error": "Google Gemini API error (500): {\n  \"error\": {\n    \"code\": 500,\n    \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n    \"status\": \"INTERNAL\"\n  }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "743cc4e7-5f24-4adc-b872-7241ee775bd0",
    "timestamp": 1783328681441
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "cc30066c-ad2c-4729-82c1-a6b0f4214dee",
    "timestamp": 1783328681442
  },
  {
    "data": {
      "initialData": {
        "message": "Show me the total sales for each customer in the USA."
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783328681442
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "cc30066c-ad2c-4729-82c1-a6b0f4214dee",
    "timestamp": 1783328681442
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "5ecaa3eb-e93e-4e41-bbc0-98a8c2b2d463",
    "timestamp": 1783328681444
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783328681444
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "5ecaa3eb-e93e-4e41-bbc0-98a8c2b2d463",
    "timestamp": 1783328681444
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "0deacd0d-45cb-4738-8da0-9d1251858867",
    "timestamp": 1783328681445
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783328681445
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "0deacd0d-45cb-4738-8da0-9d1251858867",
    "timestamp": 1783328681445
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "701d1325-4186-4185-886a-3738163db603",
    "timestamp": 1783328681447
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783328681447
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "701d1325-4186-4185-886a-3738163db603",
    "timestamp": 1783328681447
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "61f34708-f8ed-44a9-8522-6042d28511ae",
    "timestamp": 1783328681448
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "compression",
      "latencyMs": 0,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783328681448
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "61f34708-f8ed-44a9-8522-6042d28511ae",
    "timestamp": 1783328681448
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "2be63956-236e-46f7-b8e4-0f55e2e25a5c",
    "timestamp": 1783328681449
  },
  {
    "data": {
      "inputKeys": [
        "message"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783328681450
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "2be63956-236e-46f7-b8e4-0f55e2e25a5c",
    "timestamp": 1783328681450
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "6a12d9ac-f1b7-4267-8b34-58cdb9d347bb",
    "timestamp": 1783328681451
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783328681451
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "6a12d9ac-f1b7-4267-8b34-58cdb9d347bb",
    "timestamp": 1783328681451
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "ac819eb5-13b2-4280-b9d6-06ec1209700e",
    "timestamp": 1783328681452
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783328681452
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783328681452
  },
  {
    "data": {
      "error": "Google Gemini API error (500): {\n  \"error\": {\n    \"code\": 500,\n    \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n    \"status\": \"INTERNAL\"\n  }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "ac819eb5-13b2-4280-b9d6-06ec1209700e",
    "timestamp": 1783328707509
  }
]