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

b7ec621a-55f4-42e3-9fd3-ae6e4dfe92b1

Latency
3785ms
Cost
$0.0014
Tokens
294
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "5fcfbd33-d86e-4982-92d2-559d0b7a3cbb",
    "timestamp": 1783210962920
  },
  {
    "data": {
      "kind": "n8n-nodes-base.scheduleTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783210962920
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "5fcfbd33-d86e-4982-92d2-559d0b7a3cbb",
    "timestamp": 1783210962920
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "cce22eae-b13c-4c64-a21b-55009b371dc4",
    "timestamp": 1783210962922
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4.1-mini",
    "nodeId": "llm",
    "timestamp": 1783210962922
  },
  {
    "data": {
      "model": "gpt-4.1-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783210962922
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 624,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783210963551
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "cce22eae-b13c-4c64-a21b-55009b371dc4",
    "timestamp": 1783210963551
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "e9353013-2a40-43dd-bb32-2560a693f44f",
    "timestamp": 1783210963553
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783210963553
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "e9353013-2a40-43dd-bb32-2560a693f44f",
    "timestamp": 1783210963553
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "e42687e8-7267-4f5b-bf8b-79daf27ac382",
    "timestamp": 1783210963554
  },
  {
    "data": {
      "inputKeys": [
        "salesApiUrl",
        "marketingApiUrl",
        "financeApiUrl",
        "supportApiUrl",
        "unifiedData",
        "reportRecipients",
        "recommendations"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783210963554
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "e42687e8-7267-4f5b-bf8b-79daf27ac382",
    "timestamp": 1783210963554
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "da68f57a-282f-4a87-bd93-6ae7433c5970",
    "timestamp": 1783210963555
  },
  {
    "event": "fetching GET https://api.example.com/sales/v1/reports/monthly",
    "nodeId": "http",
    "timestamp": 1783210963555
  },
  {
    "data": {
      "url": "https://api.example.com/sales/v1/reports/monthly",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783210963555
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210963601
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "da68f57a-282f-4a87-bd93-6ae7433c5970",
    "timestamp": 1783210963601
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "f8278139-f071-43db-a0f6-4b9095f03226",
    "timestamp": 1783210963602
  },
  {
    "event": "fetching GET https://api.example.com/marketing/v2/campaigns/performance",
    "nodeId": "http",
    "timestamp": 1783210963602
  },
  {
    "data": {
      "url": "https://api.example.com/marketing/v2/campaigns/performance",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783210963602
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210963604
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "f8278139-f071-43db-a0f6-4b9095f03226",
    "timestamp": 1783210963604
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "69aed389-362b-43f2-a4ac-d8e04d29a4a4",
    "timestamp": 1783210963606
  },
  {
    "event": "fetching GET https://api.example.com/finance/v3/statements/monthly-summary",
    "nodeId": "http",
    "timestamp": 1783210963606
  },
  {
    "data": {
      "url": "https://api.example.com/finance/v3/statements/monthly-summary",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783210963606
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210963608
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "69aed389-362b-43f2-a4ac-d8e04d29a4a4",
    "timestamp": 1783210963608
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "67aecba5-c61b-4423-a398-d2b28fd60d26",
    "timestamp": 1783210963609
  },
  {
    "event": "fetching GET https://api.example.com/support/v1/tickets/resolution-times",
    "nodeId": "http",
    "timestamp": 1783210963609
  },
  {
    "data": {
      "url": "https://api.example.com/support/v1/tickets/resolution-times",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783210963609
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210963611
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "67aecba5-c61b-4423-a398-d2b28fd60d26",
    "timestamp": 1783210963611
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "b9a86336-21e8-4622-b5a5-c591c63889f7",
    "timestamp": 1783210963613
  },
  {
    "data": {
      "count": 1
    },
    "event": "aggregate",
    "nodeId": "passthrough",
    "timestamp": 1783210963613
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "b9a86336-21e8-4622-b5a5-c591c63889f7",
    "timestamp": 1783210963613
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "2bde5bd8-2864-4e2c-9ea4-30a1fd053941",
    "timestamp": 1783210963613
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "2bde5bd8-2864-4e2c-9ea4-30a1fd053941",
    "timestamp": 1783210963614
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "9184da7f-6861-4893-b4c5-04bca91a3996",
    "timestamp": 1783210963615
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783210963615
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "9184da7f-6861-4893-b4c5-04bca91a3996",
    "timestamp": 1783210963615
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "e2992bd8-abb0-40fa-ac62-21b5ad4772a1",
    "timestamp": 1783210963617
  },
  {
    "data": {
      "inputKeys": [
        "items"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783210963617
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "e2992bd8-abb0-40fa-ac62-21b5ad4772a1",
    "timestamp": 1783210963617
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "004304ac-6fde-42ee-9be3-90feb6ff6639",
    "timestamp": 1783210963618
  },
  {
    "data": {
      "service": "slack",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783210963618
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "slack",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210963868
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "004304ac-6fde-42ee-9be3-90feb6ff6639",
    "timestamp": 1783210963868
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "2b58303b-0fdb-445c-891f-7880e5da8f0e",
    "timestamp": 1783210963870
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "unresolvable-url",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210963870
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "2b58303b-0fdb-445c-891f-7880e5da8f0e",
    "timestamp": 1783210963870
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "17f09db1-24e8-4c2e-b800-412b14063e36",
    "timestamp": 1783210963872
  },
  {
    "data": {
      "inputKeys": [
        "statusCode",
        "headers",
        "body",
        "simulated"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783210963872
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "17f09db1-24e8-4c2e-b800-412b14063e36",
    "timestamp": 1783210963872
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "40bb53f7-18bd-437d-9992-be4fc2dfb212",
    "timestamp": 1783210963873
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783210963873
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783210963873
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0012725,
      "provider": "openai",
      "latencyMs": 1442,
      "promptTokens": 201,
      "completionTokens": 77
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783210965316
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "40bb53f7-18bd-437d-9992-be4fc2dfb212",
    "timestamp": 1783210965316
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "788cce64-2252-45e5-8639-44d2ae9d82eb",
    "timestamp": 1783210965318
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783210965318
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "788cce64-2252-45e5-8639-44d2ae9d82eb",
    "timestamp": 1783210965318
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "1d0003e9-d48e-4194-a433-9bfacf4ad96b",
    "timestamp": 1783210965319
  },
  {
    "data": {
      "service": "postgres",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783210965319
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "postgres",
      "latencyMs": 120,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210965441
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "1d0003e9-d48e-4194-a433-9bfacf4ad96b",
    "timestamp": 1783210965441
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "46e26f77-9a79-4c4d-bee2-eb1272464cc8",
    "timestamp": 1783210965441
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "46e26f77-9a79-4c4d-bee2-eb1272464cc8",
    "timestamp": 1783210965442
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "b6076620-8da2-4711-8059-b3ce424b23de",
    "timestamp": 1783210965444
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1783210965444
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "b6076620-8da2-4711-8059-b3ce424b23de",
    "timestamp": 1783210965444
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "30a2391f-51f9-4d79-a2ac-902366eb5391",
    "timestamp": 1783210965445
  },
  {
    "data": {
      "service": "slack",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783210965445
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "slack",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210965697
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "30a2391f-51f9-4d79-a2ac-902366eb5391",
    "timestamp": 1783210965697
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "7dded0b7-205c-4e62-ac6a-01a4f5c04aa0",
    "timestamp": 1783210965699
  },
  {
    "data": {
      "service": "gmail",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783210965699
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210965949
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "7dded0b7-205c-4e62-ac6a-01a4f5c04aa0",
    "timestamp": 1783210965949
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "a3fb00ec-ae34-43b8-9857-0a8d938932fe",
    "timestamp": 1783210965951
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "asana",
      "latencyMs": 250,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210966202
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "a3fb00ec-ae34-43b8-9857-0a8d938932fe",
    "timestamp": 1783210966202
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "a513f792-8cc5-4d17-9ac6-8e15b3293ee5",
    "timestamp": 1783210966204
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleSheets",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "append",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783210966705
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "a513f792-8cc5-4d17-9ac6-8e15b3293ee5",
    "timestamp": 1783210966705
  }
]