Generate strategic business recommendations with GPT-4 Mini and multi-channel distribution

8f20f903-4945-4fd3-a478-8a621c498215

Latency
32468ms
Cost
$0.0026
Tokens
1,222
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "5fcfbd33-d86e-4982-92d2-559d0b7a3cbb",
    "timestamp": 1783210968293
  },
  {
    "data": {
      "kind": "n8n-nodes-base.scheduleTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783210968293
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "5fcfbd33-d86e-4982-92d2-559d0b7a3cbb",
    "timestamp": 1783210968293
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "cce22eae-b13c-4c64-a21b-55009b371dc4",
    "timestamp": 1783210968294
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4.1-mini",
    "nodeId": "llm",
    "timestamp": 1783210968294
  },
  {
    "data": {
      "model": "gpt-4.1-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783210968294
  },
  {
    "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": "cce22eae-b13c-4c64-a21b-55009b371dc4",
    "timestamp": 1783210993757
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "e9353013-2a40-43dd-bb32-2560a693f44f",
    "timestamp": 1783210993758
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783210993758
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "e9353013-2a40-43dd-bb32-2560a693f44f",
    "timestamp": 1783210993758
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "e42687e8-7267-4f5b-bf8b-79daf27ac382",
    "timestamp": 1783210993759
  },
  {
    "data": {
      "inputKeys": [
        "salesApiUrl",
        "marketingApiUrl",
        "financeApiUrl",
        "supportApiUrl",
        "unifiedData",
        "reportRecipients",
        "recommendations"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783210993759
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "e42687e8-7267-4f5b-bf8b-79daf27ac382",
    "timestamp": 1783210993759
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "da68f57a-282f-4a87-bd93-6ae7433c5970",
    "timestamp": 1783210993761
  },
  {
    "event": "fetching GET https://api.example.com/sales/v1/reports/monthly",
    "nodeId": "http",
    "timestamp": 1783210993761
  },
  {
    "data": {
      "url": "https://api.example.com/sales/v1/reports/monthly",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783210993761
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210993763
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "da68f57a-282f-4a87-bd93-6ae7433c5970",
    "timestamp": 1783210993763
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "f8278139-f071-43db-a0f6-4b9095f03226",
    "timestamp": 1783210993765
  },
  {
    "event": "fetching GET https://api.example.com/marketing/v2/campaigns/performance",
    "nodeId": "http",
    "timestamp": 1783210993765
  },
  {
    "data": {
      "url": "https://api.example.com/marketing/v2/campaigns/performance",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783210993765
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210993766
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "f8278139-f071-43db-a0f6-4b9095f03226",
    "timestamp": 1783210993766
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "69aed389-362b-43f2-a4ac-d8e04d29a4a4",
    "timestamp": 1783210993768
  },
  {
    "event": "fetching GET https://api.example.com/finance/v3/statements/monthly-summary",
    "nodeId": "http",
    "timestamp": 1783210993768
  },
  {
    "data": {
      "url": "https://api.example.com/finance/v3/statements/monthly-summary",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783210993768
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210993769
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "69aed389-362b-43f2-a4ac-d8e04d29a4a4",
    "timestamp": 1783210993769
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "67aecba5-c61b-4423-a398-d2b28fd60d26",
    "timestamp": 1783210993771
  },
  {
    "event": "fetching GET https://api.example.com/support/v1/tickets/resolution-times",
    "nodeId": "http",
    "timestamp": 1783210993771
  },
  {
    "data": {
      "url": "https://api.example.com/support/v1/tickets/resolution-times",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783210993771
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210993773
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "67aecba5-c61b-4423-a398-d2b28fd60d26",
    "timestamp": 1783210993773
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "b9a86336-21e8-4622-b5a5-c591c63889f7",
    "timestamp": 1783210993774
  },
  {
    "data": {
      "count": 1
    },
    "event": "aggregate",
    "nodeId": "passthrough",
    "timestamp": 1783210993774
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "b9a86336-21e8-4622-b5a5-c591c63889f7",
    "timestamp": 1783210993774
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "2bde5bd8-2864-4e2c-9ea4-30a1fd053941",
    "timestamp": 1783210993774
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "2bde5bd8-2864-4e2c-9ea4-30a1fd053941",
    "timestamp": 1783210993776
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "9184da7f-6861-4893-b4c5-04bca91a3996",
    "timestamp": 1783210993779
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783210993779
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "9184da7f-6861-4893-b4c5-04bca91a3996",
    "timestamp": 1783210993779
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "e2992bd8-abb0-40fa-ac62-21b5ad4772a1",
    "timestamp": 1783210993781
  },
  {
    "data": {
      "inputKeys": [
        "items"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783210993781
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "e2992bd8-abb0-40fa-ac62-21b5ad4772a1",
    "timestamp": 1783210993781
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "004304ac-6fde-42ee-9be3-90feb6ff6639",
    "timestamp": 1783210993782
  },
  {
    "data": {
      "service": "slack",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783210993782
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "slack",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210994034
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "004304ac-6fde-42ee-9be3-90feb6ff6639",
    "timestamp": 1783210994034
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "2b58303b-0fdb-445c-891f-7880e5da8f0e",
    "timestamp": 1783210994036
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "unresolvable-url",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210994036
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "2b58303b-0fdb-445c-891f-7880e5da8f0e",
    "timestamp": 1783210994036
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "17f09db1-24e8-4c2e-b800-412b14063e36",
    "timestamp": 1783210994037
  },
  {
    "data": {
      "inputKeys": [
        "statusCode",
        "headers",
        "body",
        "simulated"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783210994037
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "17f09db1-24e8-4c2e-b800-412b14063e36",
    "timestamp": 1783210994037
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "40bb53f7-18bd-437d-9992-be4fc2dfb212",
    "timestamp": 1783210994039
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783210994039
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783210994039
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0026194,
      "provider": "openai",
      "latencyMs": 5332,
      "promptTokens": 198,
      "completionTokens": 1024
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783210999373
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "40bb53f7-18bd-437d-9992-be4fc2dfb212",
    "timestamp": 1783210999373
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "788cce64-2252-45e5-8639-44d2ae9d82eb",
    "timestamp": 1783210999377
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783210999377
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "788cce64-2252-45e5-8639-44d2ae9d82eb",
    "timestamp": 1783210999377
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "1d0003e9-d48e-4194-a433-9bfacf4ad96b",
    "timestamp": 1783210999378
  },
  {
    "data": {
      "service": "postgres",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783210999378
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "postgres",
      "latencyMs": 120,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210999498
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "1d0003e9-d48e-4194-a433-9bfacf4ad96b",
    "timestamp": 1783210999498
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "46e26f77-9a79-4c4d-bee2-eb1272464cc8",
    "timestamp": 1783210999498
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "46e26f77-9a79-4c4d-bee2-eb1272464cc8",
    "timestamp": 1783210999500
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "b6076620-8da2-4711-8059-b3ce424b23de",
    "timestamp": 1783210999501
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1783210999501
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "b6076620-8da2-4711-8059-b3ce424b23de",
    "timestamp": 1783210999501
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "30a2391f-51f9-4d79-a2ac-902366eb5391",
    "timestamp": 1783210999502
  },
  {
    "data": {
      "service": "slack",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783210999502
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "slack",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210999753
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "30a2391f-51f9-4d79-a2ac-902366eb5391",
    "timestamp": 1783210999753
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "7dded0b7-205c-4e62-ac6a-01a4f5c04aa0",
    "timestamp": 1783210999754
  },
  {
    "data": {
      "service": "gmail",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783210999754
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211000005
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "7dded0b7-205c-4e62-ac6a-01a4f5c04aa0",
    "timestamp": 1783211000005
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "a3fb00ec-ae34-43b8-9857-0a8d938932fe",
    "timestamp": 1783211000007
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "asana",
      "latencyMs": 250,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211000258
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "a3fb00ec-ae34-43b8-9857-0a8d938932fe",
    "timestamp": 1783211000258
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "a513f792-8cc5-4d17-9ac6-8e15b3293ee5",
    "timestamp": 1783211000260
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleSheets",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "append",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211000761
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "a513f792-8cc5-4d17-9ac6-8e15b3293ee5",
    "timestamp": 1783211000761
  }
]