Automated appointment approval system with GPT-4 Mini, JotForm, and Telegram

2e307ff6-1a5f-4585-9f0f-b76218f87e88

Latency
5894ms
Cost
$0.0001
Tokens
634
Status
partial
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "167a413a-b8d5-4111-be62-fd07f7b7413a",
    "timestamp": 1780868640310
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780868640310
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "167a413a-b8d5-4111-be62-fd07f7b7413a",
    "timestamp": 1780868640310
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "124507b2-9a28-47cc-921b-a7ee2c6ef8d7",
    "timestamp": 1780868640313
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "jotformtrigger",
      "latencyMs": 250,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780868640564
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "124507b2-9a28-47cc-921b-a7ee2c6ef8d7",
    "timestamp": 1780868640564
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "4b623fe9-5505-47f1-b3ba-be5c0d1a49ec",
    "timestamp": 1780868640569
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4.1-mini",
    "nodeId": "llm",
    "timestamp": 1780868640569
  },
  {
    "data": {
      "model": "gpt-4.1-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780868640569
  },
  {
    "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": "4b623fe9-5505-47f1-b3ba-be5c0d1a49ec",
    "timestamp": 1780868644714
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "16f11b9e-f72a-41e4-a87a-b27837e48a68",
    "timestamp": 1780868644723
  },
  {
    "data": {
      "inputKeys": [
        "items",
        "records",
        "simulated",
        "echo"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780868644723
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "16f11b9e-f72a-41e4-a87a-b27837e48a68",
    "timestamp": 1780868644723
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c1823ab1-a0c9-4fc8-adaf-317d119031d7",
    "timestamp": 1780868644725
  },
  {
    "data": {
      "service": "telegram",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780868644725
  },
  {
    "data": {
      "url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868644725
  },
  {
    "data": {
      "status": 200
    },
    "event": "telegram.read",
    "nodeId": "integration",
    "timestamp": 1780868644871
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "telegram",
      "latencyMs": 146,
      "operation": "sendAndWait"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780868644871
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c1823ab1-a0c9-4fc8-adaf-317d119031d7",
    "timestamp": 1780868644871
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c64abc68-4dd0-4d02-9675-cef4fd950db8",
    "timestamp": 1780868644877
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780868644877
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780868644877
  },
  {
    "data": {
      "model": "gemini-2.5-flash-lite",
      "costUsd": 0.0000985,
      "provider": "openai",
      "latencyMs": 618,
      "promptTokens": 517,
      "completionTokens": 117
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780868645496
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c64abc68-4dd0-4d02-9675-cef4fd950db8",
    "timestamp": 1780868645496
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "38424ee8-2585-4ad1-bef6-d70069485596",
    "timestamp": 1780868645500
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1780868645500
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "38424ee8-2585-4ad1-bef6-d70069485596",
    "timestamp": 1780868645500
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "f976d556-6d29-4d3a-9633-67bbb06d975e",
    "timestamp": 1780868645502
  },
  {
    "data": {
      "service": "googleSheets",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780868645502
  },
  {
    "data": {
      "url": "https://sheets.googleapis.com/v4/spreadsheets/1e8XpVw-np2ABv8gBd_VYhphaHZUYnJ5zoOa--qocbPE/values/Sink:append?valueInputOption=RAW",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868645502
  },
  {
    "data": {
      "tab": "Sink",
      "status": 200
    },
    "event": "sheets.write",
    "nodeId": "integration",
    "timestamp": 1780868645643
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleSheets",
      "latencyMs": 141,
      "operation": "appendOrUpdate"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780868645643
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "f976d556-6d29-4d3a-9633-67bbb06d975e",
    "timestamp": 1780868645643
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "ff45d2d2-a900-492e-b881-ef6ba2b58a74",
    "timestamp": 1780868645648
  },
  {
    "event": "fetching DELETE https://api.jotform.com/submission/",
    "nodeId": "http",
    "timestamp": 1780868645648
  },
  {
    "data": {
      "url": "https://api.jotform.com/submission/",
      "method": "DELETE"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868645648
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "ff45d2d2-a900-492e-b881-ef6ba2b58a74",
    "timestamp": 1780868645860
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "bbfba0b3-92fe-4da7-9456-aafe0ca911b2",
    "timestamp": 1780868645864
  },
  {
    "data": {
      "service": "gmail",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780868645864
  },
  {
    "data": {
      "url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868645864
  },
  {
    "data": {
      "status": 200
    },
    "event": "gmail.read",
    "nodeId": "integration",
    "timestamp": 1780868646078
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 214,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780868646078
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "bbfba0b3-92fe-4da7-9456-aafe0ca911b2",
    "timestamp": 1780868646078
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e74a6bbe-d2e2-4466-b5b7-3b943d684069",
    "timestamp": 1780868646083
  },
  {
    "data": {
      "service": "gmail",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780868646083
  },
  {
    "data": {
      "url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868646083
  },
  {
    "data": {
      "status": 200
    },
    "event": "gmail.read",
    "nodeId": "integration",
    "timestamp": 1780868646204
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 121,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780868646204
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e74a6bbe-d2e2-4466-b5b7-3b943d684069",
    "timestamp": 1780868646204
  }
]