Generate AI Email Draft Replies
a3b06b05-308a-4b59-881a-170465439928
Latency
768ms
Cost
$0.0002
Tokens
167
Status
successgemini-2.5-flash
Workflow Graph
Trace
[
{
"data": {
"nodeType": "manualTrigger"
},
"event": "node_start",
"nodeId": "trigger",
"timestamp": 1783203975484
},
{
"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": 1783203975484
},
{
"data": {
"status": "ok",
"nodeType": "manualTrigger"
},
"event": "node_end",
"nodeId": "trigger",
"timestamp": 1783203975484
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "drafter",
"timestamp": 1783203975487
},
{
"data": {
"messages": 2,
"maxTokens": 250
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783203975487
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783203975487
},
{
"data": {
"model": "gemini-2.5-flash",
"costUsd": 0.0002481,
"provider": "openai",
"latencyMs": 754,
"promptTokens": 77,
"completionTokens": 90
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1783203976252
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "drafter",
"timestamp": 1783203976252
}
]