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

0c435393-0e0d-411e-aa51-1411ea5293f6

Latency
3125ms
Cost
$0.0007
Tokens
436
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "873a595e-7cd2-460b-9415-de7c1ad98247",
    "timestamp": 1783445822655
  },
  {
    "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": 1783445822655
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "873a595e-7cd2-460b-9415-de7c1ad98247",
    "timestamp": 1783445822655
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "b0290682-9bbe-4e1d-bcd9-c6440c925ca3",
    "timestamp": 1783445822656
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gemma4:e4b",
    "nodeId": "llm",
    "timestamp": 1783445822656
  },
  {
    "data": {
      "model": "gemma4:e4b",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783445822656
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0004703,
      "provider": "openai",
      "latencyMs": 1982,
      "promptTokens": 1,
      "completionTokens": 188
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783445824640
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "b0290682-9bbe-4e1d-bcd9-c6440c925ca3",
    "timestamp": 1783445824640
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "3ba07ee7-4636-45ec-9529-c460b81edda4",
    "timestamp": 1783445824641
  },
  {
    "data": {
      "kind": "n8n-nodes-base.errorTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783445824641
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "3ba07ee7-4636-45ec-9529-c460b81edda4",
    "timestamp": 1783445824641
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "cf2a4069-60d0-4fbe-8eff-ae472c59d6e4",
    "timestamp": 1783445824641
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "cf2a4069-60d0-4fbe-8eff-ae472c59d6e4",
    "timestamp": 1783445824643
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "57e1450d-934e-49b0-9bf9-1a75972581d9",
    "timestamp": 1783445824643
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "57e1450d-934e-49b0-9bf9-1a75972581d9",
    "timestamp": 1783445824644
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "83b53b6b-6a95-49ca-985f-7e2aeafa7de1",
    "timestamp": 1783445824645
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783445824645
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783445824645
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0001907,
      "provider": "openai",
      "latencyMs": 1130,
      "promptTokens": 194,
      "completionTokens": 53
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783445825775
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "83b53b6b-6a95-49ca-985f-7e2aeafa7de1",
    "timestamp": 1783445825775
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "f7e3bff7-dede-45e3-9a66-e8194c5c7116",
    "timestamp": 1783445825775
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "f7e3bff7-dede-45e3-9a66-e8194c5c7116",
    "timestamp": 1783445825776
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "3c49d011-4c02-45bc-8d5e-b1b8d58153b5",
    "timestamp": 1783445825777
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783445825777
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "3c49d011-4c02-45bc-8d5e-b1b8d58153b5",
    "timestamp": 1783445825777
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "b509d69b-396c-4399-b1c1-f71f46d61705",
    "timestamp": 1783445825777
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "b509d69b-396c-4399-b1c1-f71f46d61705",
    "timestamp": 1783445825779
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "e43d8aee-f08a-417d-a99f-5f4eb3d1c5bd",
    "timestamp": 1783445825779
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "e43d8aee-f08a-417d-a99f-5f4eb3d1c5bd",
    "timestamp": 1783445825780
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "bf7d4a28-a523-47ab-8136-1e611a01d633",
    "timestamp": 1783445825780
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783445825780
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "bf7d4a28-a523-47ab-8136-1e611a01d633",
    "timestamp": 1783445825780
  }
]