AI-powered customer feedback collection with GPT-4o, Google Sheets & Slack alerts

059ffe24-1d11-4aeb-b8b0-bd7df43f31b4

Latency
9275ms
Cost
$0.0000
Tokens
0
Status
partial
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "53c2ee78-a622-467f-bf8d-e3c1af6f2a0f",
    "timestamp": 1780868743775
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780868743775
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780868743775
  },
  {
    "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": "53c2ee78-a622-467f-bf8d-e3c1af6f2a0f",
    "timestamp": 1780868747873
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "f7edd99f-e567-4b6e-a71e-8e460b124a73",
    "timestamp": 1780868747878
  },
  {
    "data": {
      "service": "gmail",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780868747878
  },
  {
    "data": {
      "url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868747878
  },
  {
    "data": {
      "status": 200
    },
    "event": "gmail.read",
    "nodeId": "integration",
    "timestamp": 1780868748090
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 212,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780868748090
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "f7edd99f-e567-4b6e-a71e-8e460b124a73",
    "timestamp": 1780868748090
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "75eb2281-de65-43f3-bb44-ed23af196088",
    "timestamp": 1780868748094
  },
  {
    "data": {
      "initialData": {
        "tags": [
          "API",
          "Integration",
          "Production Issue"
        ],
        "status": "Open",
        "priority": "High",
        "ticket_id": "TKT-12345",
        "created_at": "2023-10-27T10:00:00Z",
        "resolution": null,
        "updated_at": "2023-10-27T12:30:00Z",
        "assigned_to": "support@example.com",
        "customer_name": "Acme Corp",
        "customer_tier": "Enterprise",
        "customer_email": "support@acmecorp.com",
        "feedback_score": null,
        "internal_notes": [
          {
            "note": "Investigating API logs. Seeing increased error rates around the time reported.",
            "author": "agent@example.com",
            "timestamp": "2023-10-27T11:00:00Z"
          },
          {
            "note": "Confirmed a recent deployment might have introduced a bug. Escalating to engineering.",
            "author": "lead@example.com",
            "timestamp": "2023-10-27T12:00:00Z"
          }
        ],
        "ticket_subject": "Urgent: Issue with API integration",
        "feedback_comments": null,
        "feedback_received": null,
        "feedback_requested": false,
        "ticket_description": "We are experiencing intermittent failures when calling the /v1/users endpoint.  The error message is 'Internal Server Error 500'. This started occurring approximately 2 hours ago.  We need this resolved urgently as it's impacting our production systems.  Please investigate and provide an update within the next hour."
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1780868748094
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "75eb2281-de65-43f3-bb44-ed23af196088",
    "timestamp": 1780868748094
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "3e6598ca-2275-44aa-9615-49eb2e2a0a61",
    "timestamp": 1780868748097
  },
  {
    "data": {
      "service": "googleSheets",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780868748097
  },
  {
    "data": {
      "url": "https://sheets.googleapis.com/v4/spreadsheets/1e8XpVw-np2ABv8gBd_VYhphaHZUYnJ5zoOa--qocbPE/values/A1%3AZ100",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868748097
  },
  {
    "data": {
      "status": 200
    },
    "event": "sheets.read",
    "nodeId": "integration",
    "timestamp": 1780868748330
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleSheets",
      "latencyMs": 233,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780868748330
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "3e6598ca-2275-44aa-9615-49eb2e2a0a61",
    "timestamp": 1780868748330
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "0703b3e9-c517-4684-acc6-436332a653c2",
    "timestamp": 1780868748335
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780868748335
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "0703b3e9-c517-4684-acc6-436332a653c2",
    "timestamp": 1780868748335
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "d8e362ce-ebec-46b9-92ec-a5209a9c42be",
    "timestamp": 1780868748335
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "no-source",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780868748335
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "d8e362ce-ebec-46b9-92ec-a5209a9c42be",
    "timestamp": 1780868748335
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "4a63c13d-777f-4f0b-8cb0-2cc0e9d53b73",
    "timestamp": 1780868748337
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780868748337
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780868748337
  },
  {
    "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": "4a63c13d-777f-4f0b-8cb0-2cc0e9d53b73",
    "timestamp": 1780868752461
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "2f662712-4b54-4bae-93da-fd93034fc306",
    "timestamp": 1780868752461
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "no-source",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780868752461
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "2f662712-4b54-4bae-93da-fd93034fc306",
    "timestamp": 1780868752461
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "ad84c4c4-b4b9-4a93-b452-9c2880805d18",
    "timestamp": 1780868752466
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1780868752466
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "ad84c4c4-b4b9-4a93-b452-9c2880805d18",
    "timestamp": 1780868752466
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "1d682089-e1f2-448c-9600-7e1c80fbceb9",
    "timestamp": 1780868752469
  },
  {
    "data": {
      "service": "gmail",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780868752469
  },
  {
    "data": {
      "url": "https://gmail.googleapis.com/gmail/v1/users/me/messages?maxResults=5&q=in%3Ainbox",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868752469
  },
  {
    "data": {
      "status": 200
    },
    "event": "gmail.read",
    "nodeId": "integration",
    "timestamp": 1780868752681
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "gmail",
      "latencyMs": 212,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780868752681
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "1d682089-e1f2-448c-9600-7e1c80fbceb9",
    "timestamp": 1780868752681
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c2594027-0047-4464-8b2c-eeb5b84e3ffc",
    "timestamp": 1780868752686
  },
  {
    "data": {
      "service": "googleSheets",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780868752686
  },
  {
    "data": {
      "url": "https://sheets.googleapis.com/v4/spreadsheets/1e8XpVw-np2ABv8gBd_VYhphaHZUYnJ5zoOa--qocbPE/values/A1%3AZ100",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868752686
  },
  {
    "data": {
      "status": 200
    },
    "event": "sheets.read",
    "nodeId": "integration",
    "timestamp": 1780868752911
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleSheets",
      "latencyMs": 225,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780868752911
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c2594027-0047-4464-8b2c-eeb5b84e3ffc",
    "timestamp": 1780868752911
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "73b7b8ed-5f5f-4aec-a261-dfa19bd12412",
    "timestamp": 1780868752915
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780868752915
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "73b7b8ed-5f5f-4aec-a261-dfa19bd12412",
    "timestamp": 1780868752915
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "d2ae3cec-ca1b-491f-a7fe-5f28a8e9ceba",
    "timestamp": 1780868752917
  },
  {
    "data": {
      "service": "slack",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780868752917
  },
  {
    "data": {
      "url": "https://slack.com/api/conversations.history?channel=C0B6WTD21QX&limit=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868752917
  },
  {
    "data": {
      "status": 200
    },
    "event": "slack.read",
    "nodeId": "integration",
    "timestamp": 1780868753050
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "slack",
      "latencyMs": 133,
      "operation": "read"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780868753050
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "d2ae3cec-ca1b-491f-a7fe-5f28a8e9ceba",
    "timestamp": 1780868753050
  }
]