Generate AI Email Draft Replies

838d6555-f347-4084-9b38-feb31cf7da12

Latency
3165ms
Cost
$0.0010
Tokens
156
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "trigger",
    "timestamp": 1780344029628
  },
  {
    "data": {
      "initialData": {
        "context": "You're a co-founder at a SaaS startup. Daniel is a long-term customer (account: Aurora Labs). Be helpful and propose 2 specific time slots.",
        "incoming_email": {
          "body": "Hey — saw the invoice you sent on Friday. The line for the consulting block looks right but the platform usage is higher than I expected vs the May numbers. Can we hop on 15 min Thursday or Friday to walk through it? Open after 2pm PT either day. Thanks, Daniel.",
          "from": "Daniel Yoo <daniel@aurora-labs.io>",
          "subject": "Quick question on the Q3 invoice"
        }
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1780344029628
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "trigger",
    "timestamp": 1780344029628
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "drafter",
    "timestamp": 1780344029628
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 250
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780344029628
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780344029628
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0009525,
      "provider": "openai",
      "latencyMs": 3165,
      "promptTokens": 81,
      "completionTokens": 75
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780344032797
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "drafter",
    "timestamp": 1780344032797
  }
]