Automate GDPR Consent Management with Azure OpenAI Emails and Slack Alerts

18bb59e6-0749-44d8-b85a-d3a56ea42179

Latency
28986ms
Cost
$0.0013
Tokens
734
Status
partial
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "91bac74a-a1f3-4931-9caf-0e2cb93ee828",
    "timestamp": 1783149220966
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783149220966
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "91bac74a-a1f3-4931-9caf-0e2cb93ee828",
    "timestamp": 1783149220966
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "6e8d46b5-be5b-48a3-81a7-4e7bcef14129",
    "timestamp": 1783149220968
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783149220968
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783149220968
  },
  {
    "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": "6e8d46b5-be5b-48a3-81a7-4e7bcef14129",
    "timestamp": 1783149246247
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "660d56f9-0aa4-4d42-b954-8325bebbed60",
    "timestamp": 1783149246252
  },
  {
    "data": {
      "inputKeys": [
        "body",
        "name",
        "text",
        "email",
        "output",
        "subject",
        "version",
        "html_body",
        "timestamp"
      ],
      "mergeKeys": [
        "string"
      ]
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783149246252
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "660d56f9-0aa4-4d42-b954-8325bebbed60",
    "timestamp": 1783149246252
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ef52d87a-9db6-46e2-a43e-e4604a9800dd",
    "timestamp": 1783149246256
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleSheets",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "appendOrUpdate",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783149246757
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ef52d87a-9db6-46e2-a43e-e4604a9800dd",
    "timestamp": 1783149246757
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "bc18b374-662f-405d-b65a-418cfc3f5dd4",
    "timestamp": 1783149246763
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783149246763
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783149246763
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0012674000000000001,
      "provider": "openai",
      "latencyMs": 2417,
      "promptTokens": 258,
      "completionTokens": 476
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783149249181
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "bc18b374-662f-405d-b65a-418cfc3f5dd4",
    "timestamp": 1783149249182
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "04e1e7ae-7579-4760-b8ad-ea072ecd8b09",
    "timestamp": 1783149249182
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "04e1e7ae-7579-4760-b8ad-ea072ecd8b09",
    "timestamp": 1783149249186
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "856d21fb-24c3-4f8d-a4fc-f625480d9e2f",
    "timestamp": 1783149249186
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'replace')",
    "nodeId": "code",
    "timestamp": 1783149249190
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783149249190
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "856d21fb-24c3-4f8d-a4fc-f625480d9e2f",
    "timestamp": 1783149249190
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "99666648-fee1-46bc-ae3d-2e35b8c01b6a",
    "timestamp": 1783149249194
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "smtp",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783149249696
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "99666648-fee1-46bc-ae3d-2e35b8c01b6a",
    "timestamp": 1783149249696
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c5d695d3-a9c5-490d-b0df-e47a17239622",
    "timestamp": 1783149249701
  },
  {
    "data": {
      "service": "slack",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783149249701
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "slack",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783149249952
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c5d695d3-a9c5-490d-b0df-e47a17239622",
    "timestamp": 1783149249952
  }
]