Discord AI Bot for Message Categorization

52f94a1c-db24-49ba-9b64-1e9aaae0d46d

Latency
1962ms
Cost
$0.0002
Tokens
313
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "6f188270-2c08-491f-bf52-c4a152b33aa0",
    "timestamp": 1782940318663
  },
  {
    "data": {
      "initialData": {
        "body": {
          "feedback": "The user found the previous explanation helpful but needs more detail on API limits."
        },
        "message": {
          "content": "Hello, I am trying to understand how many requests I can make per minute to the API?"
        },
        "gpt_reply": {
          "category": "TECHNICAL_SUPPORT",
          "instruction": "Provide a concise summary of the rate limits and link to the documentation."
        }
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1782940318663
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "6f188270-2c08-491f-bf52-c4a152b33aa0",
    "timestamp": 1782940318663
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "e4839de2-fc04-40b0-b6bc-596455ad93fe",
    "timestamp": 1782940318665
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1782940318665
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "e4839de2-fc04-40b0-b6bc-596455ad93fe",
    "timestamp": 1782940318665
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "0d28fe8e-da80-458b-9a75-d316019cb3ae",
    "timestamp": 1782940318667
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 500
    },
    "event": "calling openai/gpt-4",
    "nodeId": "llm",
    "timestamp": 1782940318667
  },
  {
    "data": {
      "model": "gpt-4",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782940318667
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0002215,
      "provider": "openai",
      "latencyMs": 1183,
      "promptTokens": 255,
      "completionTokens": 58
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782940319850
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "0d28fe8e-da80-458b-9a75-d316019cb3ae",
    "timestamp": 1782940319850
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "839cc38d-b393-4fc1-a068-47a8fcf55e3f",
    "timestamp": 1782940319852
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": [
        "string"
      ]
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782940319852
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "839cc38d-b393-4fc1-a068-47a8fcf55e3f",
    "timestamp": 1782940319852
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "ce1c4198-ce21-4436-9ccb-4a2a078cd06e",
    "timestamp": 1782940319853
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1782940319853
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "ce1c4198-ce21-4436-9ccb-4a2a078cd06e",
    "timestamp": 1782940319853
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "4c150439-89af-42bd-bbdc-905d13ada76b",
    "timestamp": 1782940319855
  },
  {
    "data": {
      "service": "discord",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782940319855
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "discord",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782940320106
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "4c150439-89af-42bd-bbdc-905d13ada76b",
    "timestamp": 1782940320106
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "9a5e5335-9e6c-4f1f-a0f0-b1b022956549",
    "timestamp": 1782940320108
  },
  {
    "data": {
      "service": "discord",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782940320108
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "discord",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782940320359
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "9a5e5335-9e6c-4f1f-a0f0-b1b022956549",
    "timestamp": 1782940320359
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "d6d6250a-3a24-49f1-a597-47ebc179949c",
    "timestamp": 1782940320367
  },
  {
    "data": {
      "service": "discord",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782940320367
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "discord",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782940320619
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "d6d6250a-3a24-49f1-a597-47ebc179949c",
    "timestamp": 1782940320619
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "15dcafe1-6361-4775-ace0-e34fd2a143b4",
    "timestamp": 1782940320625
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782940320625
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "15dcafe1-6361-4775-ace0-e34fd2a143b4",
    "timestamp": 1782940320625
  }
]