AI Chat Interface for Querying Google Sheets

7ad142fb-52b5-482d-b751-d43c72ffd57a

Latency
1496ms
Cost
$0.0002
Tokens
32
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "89af21df-1125-4df6-9d43-a643e02bb53f",
    "timestamp": 1782939671885
  },
  {
    "data": {
      "kind": "n8n-nodes-base.executeWorkflowTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1782939671885
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "89af21df-1125-4df6-9d43-a643e02bb53f",
    "timestamp": 1782939671885
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "616eebc5-5c5c-4fa1-b13f-61a477742c72",
    "timestamp": 1782939671889
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782939671889
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "616eebc5-5c5c-4fa1-b13f-61a477742c72",
    "timestamp": 1782939671889
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "891ad3a8-72f0-45ad-8777-1647a7342c00",
    "timestamp": 1782939671890
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782939671890
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "891ad3a8-72f0-45ad-8777-1647a7342c00",
    "timestamp": 1782939671890
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0f3ca6ff-fc01-4f33-b1a7-cb82a0ec5c88",
    "timestamp": 1782939671892
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782939671892
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0f3ca6ff-fc01-4f33-b1a7-cb82a0ec5c88",
    "timestamp": 1782939671892
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "d955e499-5a3e-45a3-9fc8-266e2f687ecc",
    "timestamp": 1782939671893
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-3.5-turbo-0125",
    "nodeId": "llm",
    "timestamp": 1782939671893
  },
  {
    "data": {
      "model": "gpt-3.5-turbo-0125",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782939671893
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 680,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782939672574
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "d955e499-5a3e-45a3-9fc8-266e2f687ecc",
    "timestamp": 1782939672574
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "28fbda0b-1e01-4f59-af5b-fe02eba899b1",
    "timestamp": 1782939672577
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1782939672577
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "28fbda0b-1e01-4f59-af5b-fe02eba899b1",
    "timestamp": 1782939672577
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "daca1624-6c35-473a-bf3a-5fa0686a0a62",
    "timestamp": 1782939672580
  },
  {
    "data": {
      "inputKeys": [
        "query",
        "sheetUrl",
        "operation",
        "row_number"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782939672580
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "daca1624-6c35-473a-bf3a-5fa0686a0a62",
    "timestamp": 1782939672580
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c89614f4-d8b1-4f7b-9e7c-856e3f89eadb",
    "timestamp": 1782939672582
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1782939672582
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782939672582
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 522,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782939673110
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c89614f4-d8b1-4f7b-9e7c-856e3f89eadb",
    "timestamp": 1782939673110
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "f895d926-0f70-415b-9492-c3ecf186e761",
    "timestamp": 1782939673116
  },
  {
    "data": {
      "service": "googleSheets",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782939673116
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleSheets",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782939673366
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "f895d926-0f70-415b-9492-c3ecf186e761",
    "timestamp": 1782939673366
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "69b9e70a-9104-4731-9f16-8324a3f7e423",
    "timestamp": 1782939673372
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1782939673372
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "69b9e70a-9104-4731-9f16-8324a3f7e423",
    "timestamp": 1782939673372
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "68edca41-0196-47d8-9378-31fed0a70918",
    "timestamp": 1782939673375
  },
  {
    "data": {
      "inputKeys": [
        "simulated",
        "echo",
        "items",
        "records"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782939673375
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "68edca41-0196-47d8-9378-31fed0a70918",
    "timestamp": 1782939673375
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "dbb887f0-93a7-466e-9c9f-8aa4e7da935d",
    "timestamp": 1782939673378
  },
  {
    "data": {
      "inputKeys": [
        "simulated",
        "echo",
        "items",
        "records"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782939673378
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "dbb887f0-93a7-466e-9c9f-8aa4e7da935d",
    "timestamp": 1782939673378
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "041d32ca-e59a-4b67-a3e6-4e2f19e3de72",
    "timestamp": 1782939673379
  },
  {
    "data": {
      "of": 1,
      "kept": 1
    },
    "event": "filter",
    "nodeId": "passthrough",
    "timestamp": 1782939673379
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "041d32ca-e59a-4b67-a3e6-4e2f19e3de72",
    "timestamp": 1782939673379
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "7a9dea08-f9e9-4139-842a-9066a9cf04ea",
    "timestamp": 1782939673379
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "7a9dea08-f9e9-4139-842a-9066a9cf04ea",
    "timestamp": 1782939673381
  }
]