Discord AI Bot for Message Categorization

f4f6c5aa-4c8d-476c-a498-708bce97d8b7

Latency
2697ms
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": 1780643703507
  },
  {
    "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": 1780643703507
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "6f188270-2c08-491f-bf52-c4a152b33aa0",
    "timestamp": 1780643703507
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "e4839de2-fc04-40b0-b6bc-596455ad93fe",
    "timestamp": 1780643703509
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780643703509
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "e4839de2-fc04-40b0-b6bc-596455ad93fe",
    "timestamp": 1780643703509
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "0d28fe8e-da80-458b-9a75-d316019cb3ae",
    "timestamp": 1780643703512
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 500
    },
    "event": "calling openai/gpt-4",
    "nodeId": "llm",
    "timestamp": 1780643703512
  },
  {
    "data": {
      "model": "gpt-4",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780643703512
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0002215,
      "provider": "openai",
      "latencyMs": 1151,
      "promptTokens": 255,
      "completionTokens": 58
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780643704664
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "0d28fe8e-da80-458b-9a75-d316019cb3ae",
    "timestamp": 1780643704664
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "839cc38d-b393-4fc1-a068-47a8fcf55e3f",
    "timestamp": 1780643704673
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": [
        "string"
      ]
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780643704673
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "839cc38d-b393-4fc1-a068-47a8fcf55e3f",
    "timestamp": 1780643704673
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "ce1c4198-ce21-4436-9ccb-4a2a078cd06e",
    "timestamp": 1780643704677
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1780643704677
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "ce1c4198-ce21-4436-9ccb-4a2a078cd06e",
    "timestamp": 1780643704677
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "4c150439-89af-42bd-bbdc-905d13ada76b",
    "timestamp": 1780643704681
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "discord",
      "latencyMs": 500,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780643705182
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "4c150439-89af-42bd-bbdc-905d13ada76b",
    "timestamp": 1780643705182
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "9a5e5335-9e6c-4f1f-a0f0-b1b022956549",
    "timestamp": 1780643705188
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "discord",
      "latencyMs": 500,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780643705690
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "9a5e5335-9e6c-4f1f-a0f0-b1b022956549",
    "timestamp": 1780643705690
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "d6d6250a-3a24-49f1-a597-47ebc179949c",
    "timestamp": 1780643705696
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "discord",
      "latencyMs": 500,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780643706198
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "d6d6250a-3a24-49f1-a597-47ebc179949c",
    "timestamp": 1780643706198
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "15dcafe1-6361-4775-ace0-e34fd2a143b4",
    "timestamp": 1780643706204
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780643706204
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "15dcafe1-6361-4775-ace0-e34fd2a143b4",
    "timestamp": 1780643706204
  }
]