Telegram AI Bot with DALL-E Image Generation

9bd76ce2-5e70-44b5-b6ad-3e57f2226736

Latency
2472ms
Cost
$0.0013
Tokens
441
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "e275f31f-6a5f-4444-8bf7-6c003a8e53df",
    "timestamp": 1783205509953
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4-1106-preview",
    "nodeId": "llm",
    "timestamp": 1783205509953
  },
  {
    "data": {
      "model": "gpt-4-1106-preview",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783205509953
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 645,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783205510599
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "e275f31f-6a5f-4444-8bf7-6c003a8e53df",
    "timestamp": 1783205510599
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "f25a6666-ff23-4372-afd0-4920a99aab6a",
    "timestamp": 1783205510604
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783205510604
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "f25a6666-ff23-4372-afd0-4920a99aab6a",
    "timestamp": 1783205510604
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "0349a250-966a-4064-970a-8bcfba1647ad",
    "timestamp": 1783205510608
  },
  {
    "data": {
      "kind": "n8n-nodes-base.executeWorkflowTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783205510608
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "0349a250-966a-4064-970a-8bcfba1647ad",
    "timestamp": 1783205510608
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "69a45c1f-838f-49ce-9b89-75db6a8b876f",
    "timestamp": 1783205510610
  },
  {
    "data": {
      "kind": "n8n-nodes-base.telegramTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783205510610
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "69a45c1f-838f-49ce-9b89-75db6a8b876f",
    "timestamp": 1783205510610
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "4d81d201-70bf-4c80-9689-4b65851ad770",
    "timestamp": 1783205510613
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783205510613
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "4d81d201-70bf-4c80-9689-4b65851ad770",
    "timestamp": 1783205510613
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "39d532d3-8c96-4722-9cb0-cad92ff39e94",
    "timestamp": 1783205510616
  },
  {
    "event": "fetching POST https://api.openai.com/v1/images/generations",
    "nodeId": "http",
    "timestamp": 1783205510616
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/images/generations",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783205510616
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783205510688
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "39d532d3-8c96-4722-9cb0-cad92ff39e94",
    "timestamp": 1783205510688
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "e5aa496d-55d3-456b-82bb-fe10a06c7338",
    "timestamp": 1783205510696
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783205510696
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783205510696
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0011975,
      "provider": "openai",
      "latencyMs": 693,
      "promptTokens": 407,
      "completionTokens": 18
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783205511396
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "e5aa496d-55d3-456b-82bb-fe10a06c7338",
    "timestamp": 1783205511396
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "2f5d5f25-9870-40d6-ad42-52750e62de63",
    "timestamp": 1783205511403
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "telegram",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "sendPhoto",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783205511905
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "2f5d5f25-9870-40d6-ad42-52750e62de63",
    "timestamp": 1783205511905
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "96faef5d-0349-47fe-a7cf-150953490e90",
    "timestamp": 1783205511911
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783205511911
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783205512163
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "96faef5d-0349-47fe-a7cf-150953490e90",
    "timestamp": 1783205512163
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "50b43dbf-39e3-4d00-8e47-01e8c193cd1a",
    "timestamp": 1783205512168
  },
  {
    "data": {
      "inputKeys": [
        "ok",
        "id",
        "simulated",
        "echo"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783205512168
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "50b43dbf-39e3-4d00-8e47-01e8c193cd1a",
    "timestamp": 1783205512168
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "5ad43039-aaa6-43cd-9b0f-1d02f4d9c4ff",
    "timestamp": 1783205512173
  },
  {
    "data": {
      "service": "telegram",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783205512173
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783205512425
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "5ad43039-aaa6-43cd-9b0f-1d02f4d9c4ff",
    "timestamp": 1783205512425
  }
]