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

1bfac714-fc18-4510-b9ba-ae533813e56c

Latency
26673ms
Cost
$0.0002
Tokens
350
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "7df0f7e9-3391-4a1d-ae35-0700c43282ef",
    "timestamp": 1783209485170
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/openai/gpt-4.1",
    "nodeId": "llm",
    "timestamp": 1783209485170
  },
  {
    "data": {
      "model": "openai/gpt-4.1",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783209485170
  },
  {
    "data": {
      "error": "Google Gemini API error (500): {\n  \"error\": {\n    \"code\": 500,\n    \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n    \"status\": \"INTERNAL\"\n  }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "7df0f7e9-3391-4a1d-ae35-0700c43282ef",
    "timestamp": 1783209510853
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "ab0a0ebd-e9e6-4679-a8c3-0410d69d1e9d",
    "timestamp": 1783209510857
  },
  {
    "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": 1783209510857
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "ab0a0ebd-e9e6-4679-a8c3-0410d69d1e9d",
    "timestamp": 1783209510857
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "ffb364c8-df57-43cb-9e39-9c68cd0e7135",
    "timestamp": 1783209510862
  },
  {
    "data": {
      "inputKeys": [
        "output.replace",
        "subject",
        "name",
        "webViewLink",
        "thumbnailLink"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783209510862
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "ffb364c8-df57-43cb-9e39-9c68cd0e7135",
    "timestamp": 1783209510862
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "3032992c-6911-492d-8116-b4709258e5eb",
    "timestamp": 1783209510864
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783209510864
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783209510864
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0001776,
      "provider": "openai",
      "latencyMs": 456,
      "promptTokens": 317,
      "completionTokens": 33
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783209511321
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "3032992c-6911-492d-8116-b4709258e5eb",
    "timestamp": 1783209511321
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "0ed20bfa-c93e-423c-b25b-028f2ff4d497",
    "timestamp": 1783209511330
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209511330
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "0ed20bfa-c93e-423c-b25b-028f2ff4d497",
    "timestamp": 1783209511330
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "57ac832c-74ce-46fb-8298-8f323a12e9bb",
    "timestamp": 1783209511333
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783209511333
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "57ac832c-74ce-46fb-8298-8f323a12e9bb",
    "timestamp": 1783209511333
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c7576a7f-f0a1-4688-9e25-73e177ebfaa5",
    "timestamp": 1783209511334
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783209511334
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209511585
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c7576a7f-f0a1-4688-9e25-73e177ebfaa5",
    "timestamp": 1783209511585
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "5ab783f8-67ef-4fe0-b01c-a39f20cc0481",
    "timestamp": 1783209511592
  },
  {
    "data": {
      "service": "slack",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783209511592
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "slack",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209511843
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "5ab783f8-67ef-4fe0-b01c-a39f20cc0481",
    "timestamp": 1783209511843
  }
]