Triage emails and build a morning digest with a local Ollama LLM

bf2ed3e9-f68a-4050-8ed7-09cf7f784b87

Latency
26835ms
Cost
$0.0002
Tokens
268
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "873a595e-7cd2-460b-9415-de7c1ad98247",
    "timestamp": 1783445794633
  },
  {
    "data": {
      "initialData": {
        "body": "Dear Team,\n\nWe are experiencing a critical server outage affecting all production environments. Multiple services are down, and customer impact is immediate and severe. Please investigate and resolve this issue with the highest priority.\n\nDetails:\n- Timestamp of outage: 2023-10-27T08:00:00Z\n- Affected systems: Production Web Servers, Database Cluster\n- Impact: All customer-facing applications are inaccessible.\n\nWe need an immediate response and a clear action plan.\n\nRegards,\nOperations Team",
        "date": "2023-10-27T08:15:00Z",
        "from": "support@example.com",
        "text": "Urgent: Server Outage Reported - Critical Impact\n\nDear Team,\n\nWe are experiencing a critical server outage affecting all production environments. Multiple services are down, and customer impact is immediate and severe. Please investigate and resolve this issue with the highest priority.\n\nDetails:\n- Timestamp of outage: 2023-10-27T08:00:00Z\n- Affected systems: Production Web Servers, Database Cluster\n- Impact: All customer-facing applications are inaccessible.\n\nWe need an immediate response and a clear action plan.\n\nRegards,\nOperations Team",
        "subject": "Urgent: Server Outage Reported - Critical Impact",
        "category": "Technical Issue",
        "response": null,
        "suggestedAction": "Investigate server outage, deploy rollback if necessary."
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783445794633
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "873a595e-7cd2-460b-9415-de7c1ad98247",
    "timestamp": 1783445794633
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "b0290682-9bbe-4e1d-bcd9-c6440c925ca3",
    "timestamp": 1783445794634
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gemma4:e4b",
    "nodeId": "llm",
    "timestamp": 1783445794634
  },
  {
    "data": {
      "model": "gemma4:e4b",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783445794634
  },
  {
    "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": "b0290682-9bbe-4e1d-bcd9-c6440c925ca3",
    "timestamp": 1783445820754
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "3ba07ee7-4636-45ec-9529-c460b81edda4",
    "timestamp": 1783445820755
  },
  {
    "data": {
      "kind": "n8n-nodes-base.errorTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783445820755
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "3ba07ee7-4636-45ec-9529-c460b81edda4",
    "timestamp": 1783445820755
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "cf2a4069-60d0-4fbe-8eff-ae472c59d6e4",
    "timestamp": 1783445820755
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "cf2a4069-60d0-4fbe-8eff-ae472c59d6e4",
    "timestamp": 1783445820756
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "57e1450d-934e-49b0-9bf9-1a75972581d9",
    "timestamp": 1783445820756
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "57e1450d-934e-49b0-9bf9-1a75972581d9",
    "timestamp": 1783445820757
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "83b53b6b-6a95-49ca-985f-7e2aeafa7de1",
    "timestamp": 1783445820758
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783445820758
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783445820758
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.00024319999999999998,
      "provider": "openai",
      "latencyMs": 703,
      "promptTokens": 194,
      "completionTokens": 74
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783445821461
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "83b53b6b-6a95-49ca-985f-7e2aeafa7de1",
    "timestamp": 1783445821461
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "f7e3bff7-dede-45e3-9a66-e8194c5c7116",
    "timestamp": 1783445821461
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "f7e3bff7-dede-45e3-9a66-e8194c5c7116",
    "timestamp": 1783445821463
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "3c49d011-4c02-45bc-8d5e-b1b8d58153b5",
    "timestamp": 1783445821464
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783445821464
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "3c49d011-4c02-45bc-8d5e-b1b8d58153b5",
    "timestamp": 1783445821464
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "b509d69b-396c-4399-b1c1-f71f46d61705",
    "timestamp": 1783445821464
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "b509d69b-396c-4399-b1c1-f71f46d61705",
    "timestamp": 1783445821466
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "e43d8aee-f08a-417d-a99f-5f4eb3d1c5bd",
    "timestamp": 1783445821466
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "e43d8aee-f08a-417d-a99f-5f4eb3d1c5bd",
    "timestamp": 1783445821467
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "bf7d4a28-a523-47ab-8136-1e611a01d633",
    "timestamp": 1783445821468
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783445821468
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "bf7d4a28-a523-47ab-8136-1e611a01d633",
    "timestamp": 1783445821468
  }
]