Gmail AI Classifier and Google Sheets Logger

af94763e-bb8f-4182-b79f-8f7241dbe208

Latency
2110ms
Cost
$0.0001
Tokens
65
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "n0",
    "timestamp": 1783446636717
  },
  {
    "data": {
      "initialData": {
        "messages": [
          {
            "id": "msg_12345",
            "payload": {
              "body": {
                "data": "Dear Sales Team,\n\nI hope this email finds you well.\n\nMy name is John Doe, and I'm very interested in your Premium Plan for your software. I've been exploring your website and the features seem to align perfectly with our company's needs.\n\nCould you please provide more information on pricing and any available demos? I'm available for a call anytime this week.\n\nBest regards,\nJohn Doe\nAcme Corp\njohn.doe@example.com\n+1 (555) 123-4567"
              },
              "headers": {
                "To": "sales@example.com",
                "From": "john.doe@example.com",
                "Subject": "New Lead - Premium Plan Inquiry"
              }
            },
            "snippet": "Urgent: New Lead - John Doe, interested in Premium Plan. Please contact ASAP.",
            "labelIds": [
              "INBOX",
              "IMPORTANT"
            ],
            "threadId": "thread_abcde"
          },
          {
            "id": "msg_67890",
            "payload": {
              "body": {
                "data": "Dear Customer,\n\nYour invoice #INV-98765 for your recent order is attached. Please review and process payment within 30 days.\n\nThank you for your business.\n\nSincerely,\nYour Company Billing Department"
              },
              "headers": {
                "To": "billing@example.com",
                "From": "noreply@example.com",
                "Subject": "Invoice #INV-98765"
              }
            },
            "snippet": "Invoice #INV-98765 for your recent order.",
            "labelIds": [
              "INBOX"
            ],
            "threadId": "thread_fghij"
          }
        ]
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783446636717
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "n0",
    "timestamp": 1783446636717
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "n1",
    "timestamp": 1783446636718
  },
  {
    "data": {
      "service": "gmail",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783446636718
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 250,
      "operation": "getAll",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783446636970
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "n1",
    "timestamp": 1783446636970
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "n2",
    "timestamp": 1783446636971
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 120
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783446636971
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783446636971
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0001273,
      "provider": "openai",
      "latencyMs": 1354,
      "promptTokens": 16,
      "completionTokens": 49
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783446638325
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "n2",
    "timestamp": 1783446638325
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "n3",
    "timestamp": 1783446638326
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleSheets",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "append",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783446638827
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "n3",
    "timestamp": 1783446638827
  }
]