Generate AI Email Draft Replies

1b2fa32a-2df2-4656-aa81-6ddd92ab8de1

Latency
1253ms
Cost
$0.0002
Tokens
156
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "trigger",
    "timestamp": 1783203977093
  },
  {
    "data": {
      "initialData": {
        "context": "You are an AI assistant helping a customer support team draft replies to incoming emails. The goal is to provide a helpful and professional response that addresses the customer's query.",
        "incoming_email": {
          "to": "support@yourcompany.com",
          "body": "Hi there,\n\nI'm writing to inquire about the shipping status of my recent order, #12345. I placed it on October 26th and haven't received any shipping confirmation yet. Could you please provide an update on when I can expect it to be shipped?\n\nThank you,\nJane Doe",
          "from": "customer@example.com",
          "subject": "Question about Order #12345 - Shipping Status"
        }
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783203977093
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "trigger",
    "timestamp": 1783203977093
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "drafter",
    "timestamp": 1783203977097
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 250
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783203977097
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783203977097
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0002206,
      "provider": "openai",
      "latencyMs": 1248,
      "promptTokens": 77,
      "completionTokens": 79
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783203978346
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "drafter",
    "timestamp": 1783203978346
  }
]