Gmail AI Summarization to Google Drive

2560a264-47a4-44ab-9020-c66a50c6e170

Latency
2964ms
Cost
$0.0004
Tokens
170
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "n0",
    "timestamp": 1780646391364
  },
  {
    "data": {
      "initialData": {
        "messages": [
          {
            "id": "189a2c3d4e5f6g7h",
            "date": "2023-10-27T14:30:00Z",
            "from": "project.lead@company.com",
            "text": "Hi Team, following up on our meeting. We have decided to prioritize the API integration over the UI overhaul for the next sprint. Budget has been approved for two additional contractors. Please review the attached timeline and provide feedback by EOD Friday. Best, Mark.",
            "snippet": "Here is the summary of our discussion regarding the Q4 roadmap and resource allocation.",
            "subject": "Weekly Project Sync - Q4 Roadmap",
            "threadId": "189a2c3d4e5f6g7h"
          }
        ]
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1780646391364
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "n0",
    "timestamp": 1780646391364
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "n1",
    "timestamp": 1780646391367
  },
  {
    "data": {
      "service": "gmail",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780646391367
  },
  {
    "data": {
      "url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780646391367
  },
  {
    "data": {
      "status": 200
    },
    "event": "gmail.read",
    "nodeId": "integration",
    "timestamp": 1780646391585
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 218,
      "operation": "getAll"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780646391585
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "n1",
    "timestamp": 1780646391585
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "n2",
    "timestamp": 1780646391589
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 160
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780646391589
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780646391589
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0003612,
      "provider": "openai",
      "latencyMs": 1798,
      "promptTokens": 29,
      "completionTokens": 141
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780646393389
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "n2",
    "timestamp": 1780646393389
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "n3",
    "timestamp": 1780646393393
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780646393393
  },
  {
    "data": {
      "url": "https://www.googleapis.com/drive/v3/files",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780646393393
  },
  {
    "data": {
      "status": 200
    },
    "event": "drive.create",
    "nodeId": "integration",
    "timestamp": 1780646394328
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 935,
      "operation": "create"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780646394328
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "n3",
    "timestamp": 1780646394328
  }
]