AI Outlook Email Categorization and Processing with Ollama

92ef324d-05ee-4104-a0e8-da64dd2ae9c3

Latency
31122ms
Cost
$0.0003
Tokens
531
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "30f5203b-469d-4f0c-8493-e8f08e14e4fe",
    "timestamp": 1782941171242
  },
  {
    "data": {
      "initialData": {
        "id": "msg-12345abcde",
        "body": {
          "content": "Hi team, I'm experiencing a critical issue with the new reporting module. The data is not loading, and it's blocking our daily operations. Can someone please assist immediately? The error message is 'Data retrieval failed: 500 Internal Server Error'.\n\nThanks,\nAlex"
        },
        "data": {
          "replace": "Initial"
        },
        "from": {
          "emailAddress": "alex.smith@example.com"
        },
        "isRead": false,
        "output": {
          "replace": "Processed",
          "category": "Urgent Inquiry",
          "subCategory": "Technical Support"
        },
        "sender": {
          "emailAddress": "alex.smith@example.com"
        },
        "subject": "URGENT: Reporting Module Data Loading Issue",
        "category": "Support",
        "categories": [
          "Support",
          "Critical"
        ],
        "importance": "High",
        "toJsonString": "true"
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1782941171242
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "30f5203b-469d-4f0c-8493-e8f08e14e4fe",
    "timestamp": 1782941171242
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "9d79875f-148e-46ef-967a-95c07298456d",
    "timestamp": 1782941171243
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/qwen2.5:14b",
    "nodeId": "llm",
    "timestamp": 1782941171243
  },
  {
    "data": {
      "model": "qwen2.5:14b",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782941171243
  },
  {
    "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": "9d79875f-148e-46ef-967a-95c07298456d",
    "timestamp": 1782941196613
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "0583e196-37a5-43db-8c0a-aa624029c926",
    "timestamp": 1782941196616
  },
  {
    "data": {
      "service": "outlook",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782941196616
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "outlook",
      "latencyMs": 250,
      "operation": "getAll",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941196868
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "0583e196-37a5-43db-8c0a-aa624029c926",
    "timestamp": 1782941196868
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0a19d15c-0cd3-4f26-9be2-4914522751fb",
    "timestamp": 1782941196873
  },
  {
    "data": {
      "of": 1,
      "kept": 1
    },
    "event": "filter",
    "nodeId": "passthrough",
    "timestamp": 1782941196873
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0a19d15c-0cd3-4f26-9be2-4914522751fb",
    "timestamp": 1782941196873
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "bcf92a71-ff5f-46a7-bec3-cedb5be2bf98",
    "timestamp": 1782941196876
  },
  {
    "data": {
      "service": "outlook",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782941196876
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "outlook",
      "latencyMs": 250,
      "operation": "move",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941197128
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "bcf92a71-ff5f-46a7-bec3-cedb5be2bf98",
    "timestamp": 1782941197128
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "100db1cb-3819-43c7-a74b-5c087ad4f2da",
    "timestamp": 1782941197131
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "outlook",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "update",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941197633
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "100db1cb-3819-43c7-a74b-5c087ad4f2da",
    "timestamp": 1782941197633
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "d4969259-a3ae-473d-82ef-0c9f7933c899",
    "timestamp": 1782941197637
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782941197637
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "d4969259-a3ae-473d-82ef-0c9f7933c899",
    "timestamp": 1782941197637
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "524f6be3-7708-4aae-b9ab-e0ef8180a627",
    "timestamp": 1782941197641
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "outlook",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "update",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941198142
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "524f6be3-7708-4aae-b9ab-e0ef8180a627",
    "timestamp": 1782941198142
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "72cb54f3-4e4e-4ad2-8845-11a38fc29f1a",
    "timestamp": 1782941198146
  },
  {
    "data": {
      "service": "outlook",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782941198146
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "outlook",
      "latencyMs": 250,
      "operation": "move",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941198397
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "72cb54f3-4e4e-4ad2-8845-11a38fc29f1a",
    "timestamp": 1782941198397
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e4446e84-c05e-4d04-b415-7608e39024ee",
    "timestamp": 1782941198399
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "outlook",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "update",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941198901
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e4446e84-c05e-4d04-b415-7608e39024ee",
    "timestamp": 1782941198901
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "3ee05cfe-a528-472e-aa3d-c890fd88b6c4",
    "timestamp": 1782941198907
  },
  {
    "data": {
      "service": "outlook",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782941198907
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "outlook",
      "latencyMs": 250,
      "operation": "move",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941199158
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "3ee05cfe-a528-472e-aa3d-c890fd88b6c4",
    "timestamp": 1782941199158
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "2fcecd9e-95cc-489a-b874-699c54518e44",
    "timestamp": 1782941199165
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "outlook",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "update",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941199667
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "2fcecd9e-95cc-489a-b874-699c54518e44",
    "timestamp": 1782941199667
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "41a39309-1a94-461f-9308-63dd5b9a94a7",
    "timestamp": 1782941199671
  },
  {
    "data": {
      "service": "outlook",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782941199671
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "outlook",
      "latencyMs": 250,
      "operation": "move",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941199920
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "41a39309-1a94-461f-9308-63dd5b9a94a7",
    "timestamp": 1782941199920
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "ebf606f9-099c-4218-b23b-66e2487262d0",
    "timestamp": 1782941199928
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782941199928
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "ebf606f9-099c-4218-b23b-66e2487262d0",
    "timestamp": 1782941199928
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "ff447dd5-3ef6-4a02-8453-3489af8bf6b5",
    "timestamp": 1782941199931
  },
  {
    "data": {
      "inputKeys": [
        "0"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782941199931
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "ff447dd5-3ef6-4a02-8453-3489af8bf6b5",
    "timestamp": 1782941199931
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "198524cb-c9f0-4261-8c38-7c878efe7457",
    "timestamp": 1782941199933
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "outlook",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "update",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941200434
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "198524cb-c9f0-4261-8c38-7c878efe7457",
    "timestamp": 1782941200434
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ec73629c-59ac-4f0e-a432-2c06934952ab",
    "timestamp": 1782941200440
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "outlook",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "update",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941200942
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ec73629c-59ac-4f0e-a432-2c06934952ab",
    "timestamp": 1782941200942
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "96e6e31c-6306-44a8-a57a-2b5216636b00",
    "timestamp": 1782941200950
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1782941200950
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "96e6e31c-6306-44a8-a57a-2b5216636b00",
    "timestamp": 1782941200950
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "8a6e0118-abe3-45e2-aefc-94640348b2ec",
    "timestamp": 1782941200953
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "outlook",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "update",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941201454
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "8a6e0118-abe3-45e2-aefc-94640348b2ec",
    "timestamp": 1782941201454
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "e2d8e7b5-4447-4327-9f4e-b8d52765667e",
    "timestamp": 1782941201459
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782941201459
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "e2d8e7b5-4447-4327-9f4e-b8d52765667e",
    "timestamp": 1782941201459
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "17f6ac43-51e4-4bee-b0d8-13deb3bf3cc9",
    "timestamp": 1782941201462
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782941201462
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "17f6ac43-51e4-4bee-b0d8-13deb3bf3cc9",
    "timestamp": 1782941201462
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "a9540e6b-929b-4460-8972-93e4d19cd934",
    "timestamp": 1782941201465
  },
  {
    "data": {
      "inputKeys": [
        "0"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782941201465
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "a9540e6b-929b-4460-8972-93e4d19cd934",
    "timestamp": 1782941201465
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c75b9d38-79a7-4be2-a90b-a99da1bbd745",
    "timestamp": 1782941201466
  },
  {
    "data": {
      "service": "outlook",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782941201466
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "outlook",
      "latencyMs": 250,
      "operation": "move",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782941201717
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c75b9d38-79a7-4be2-a90b-a99da1bbd745",
    "timestamp": 1782941201717
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "85ff0348-16dc-46e6-bf70-48a10fe0ded8",
    "timestamp": 1782941201723
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1782941201723
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782941201723
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.00028029999999999993,
      "provider": "openai",
      "latencyMs": 634,
      "promptTokens": 476,
      "completionTokens": 55
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782941202360
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "85ff0348-16dc-46e6-bf70-48a10fe0ded8",
    "timestamp": 1782941202360
  },
  {
    "data": {
      "nodeType": "merge"
    },
    "event": "node_start",
    "nodeId": "93e7be79-9035-4b58-9a83-b9182a0515f8",
    "timestamp": 1782941202362
  },
  {
    "data": {
      "inputCount": 7
    },
    "event": "merged 7 inputs",
    "nodeId": "merge",
    "timestamp": 1782941202362
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "merge"
    },
    "event": "node_end",
    "nodeId": "93e7be79-9035-4b58-9a83-b9182a0515f8",
    "timestamp": 1782941202362
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "cbaeaed1-cb09-4614-93f1-3fe349cd0e4e",
    "timestamp": 1782941202364
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1782941202364
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "cbaeaed1-cb09-4614-93f1-3fe349cd0e4e",
    "timestamp": 1782941202364
  }
]