AI-enhanced image generation with GPT-4.1, Google Drive & Slack notifications

a4074e37-57a9-4e4a-963b-717404e90cad

Latency
3142ms
Cost
$0.0013
Tokens
369
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "7df0f7e9-3391-4a1d-ae35-0700c43282ef",
    "timestamp": 1783209480784
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/openai/gpt-4.1",
    "nodeId": "llm",
    "timestamp": 1783209480784
  },
  {
    "data": {
      "model": "openai/gpt-4.1",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783209480784
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 526,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783209481315
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "7df0f7e9-3391-4a1d-ae35-0700c43282ef",
    "timestamp": 1783209481315
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "ab0a0ebd-e9e6-4679-a8c3-0410d69d1e9d",
    "timestamp": 1783209481320
  },
  {
    "data": {
      "initialData": {
        "name": "image_generation_request_12345.txt",
        "subject": "A whimsical illustration of a cat wearing a tiny astronaut helmet, floating in space with a nebula in the background.",
        "webViewLink": "https://docs.google.com/document/d/1AbCdEfGhIjKlMnOpQrStUvWxYz0123456789abcdef",
        "thumbnailLink": "https://example.com/thumbnails/image_generation_request_12345.png",
        "output.replace": "true"
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783209481320
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "ab0a0ebd-e9e6-4679-a8c3-0410d69d1e9d",
    "timestamp": 1783209481320
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "ffb364c8-df57-43cb-9e39-9c68cd0e7135",
    "timestamp": 1783209481322
  },
  {
    "data": {
      "inputKeys": [
        "output.replace",
        "subject",
        "name",
        "webViewLink",
        "thumbnailLink"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783209481322
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "ffb364c8-df57-43cb-9e39-9c68cd0e7135",
    "timestamp": 1783209481322
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "3032992c-6911-492d-8116-b4709258e5eb",
    "timestamp": 1783209481326
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783209481326
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783209481326
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0011675,
      "provider": "openai",
      "latencyMs": 2078,
      "promptTokens": 315,
      "completionTokens": 38
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783209483405
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "3032992c-6911-492d-8116-b4709258e5eb",
    "timestamp": 1783209483405
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "0ed20bfa-c93e-423c-b25b-028f2ff4d497",
    "timestamp": 1783209483410
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209483410
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "0ed20bfa-c93e-423c-b25b-028f2ff4d497",
    "timestamp": 1783209483410
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "57ac832c-74ce-46fb-8298-8f323a12e9bb",
    "timestamp": 1783209483413
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783209483413
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "57ac832c-74ce-46fb-8298-8f323a12e9bb",
    "timestamp": 1783209483413
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c7576a7f-f0a1-4688-9e25-73e177ebfaa5",
    "timestamp": 1783209483415
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783209483415
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209483667
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c7576a7f-f0a1-4688-9e25-73e177ebfaa5",
    "timestamp": 1783209483667
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "5ab783f8-67ef-4fe0-b01c-a39f20cc0481",
    "timestamp": 1783209483674
  },
  {
    "data": {
      "service": "slack",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783209483674
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "slack",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209483926
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "5ab783f8-67ef-4fe0-b01c-a39f20cc0481",
    "timestamp": 1783209483926
  }
]