Automate GDPR Consent Management with Azure OpenAI Emails and Slack Alerts

261771c4-36b0-475e-87cf-1aaf2cf6b18c

Latency
9779ms
Cost
$0.0052
Tokens
710
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "91bac74a-a1f3-4931-9caf-0e2cb93ee828",
    "timestamp": 1783149210070
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783149210070
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "91bac74a-a1f3-4931-9caf-0e2cb93ee828",
    "timestamp": 1783149210071
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "6e8d46b5-be5b-48a3-81a7-4e7bcef14129",
    "timestamp": 1783149210074
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783149210074
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783149210074
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 705,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783149210780
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "6e8d46b5-be5b-48a3-81a7-4e7bcef14129",
    "timestamp": 1783149210780
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "660d56f9-0aa4-4d42-b954-8325bebbed60",
    "timestamp": 1783149210786
  },
  {
    "data": {
      "inputKeys": [
        "body",
        "name",
        "text",
        "email",
        "output",
        "subject",
        "version",
        "html_body",
        "timestamp"
      ],
      "mergeKeys": [
        "string"
      ]
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783149210786
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "660d56f9-0aa4-4d42-b954-8325bebbed60",
    "timestamp": 1783149210786
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ef52d87a-9db6-46e2-a43e-e4604a9800dd",
    "timestamp": 1783149210789
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "googleSheets",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "appendOrUpdate",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783149211292
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ef52d87a-9db6-46e2-a43e-e4604a9800dd",
    "timestamp": 1783149211292
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "bc18b374-662f-405d-b65a-418cfc3f5dd4",
    "timestamp": 1783149211298
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783149211298
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783149211298
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0051175,
      "provider": "openai",
      "latencyMs": 7777,
      "promptTokens": 243,
      "completionTokens": 451
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783149219076
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "bc18b374-662f-405d-b65a-418cfc3f5dd4",
    "timestamp": 1783149219076
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "04e1e7ae-7579-4760-b8ad-ea072ecd8b09",
    "timestamp": 1783149219076
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "04e1e7ae-7579-4760-b8ad-ea072ecd8b09",
    "timestamp": 1783149219082
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "856d21fb-24c3-4f8d-a4fc-f625480d9e2f",
    "timestamp": 1783149219082
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'replace')",
    "nodeId": "code",
    "timestamp": 1783149219086
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783149219086
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "856d21fb-24c3-4f8d-a4fc-f625480d9e2f",
    "timestamp": 1783149219087
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "99666648-fee1-46bc-ae3d-2e35b8c01b6a",
    "timestamp": 1783149219091
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "smtp",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783149219591
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "99666648-fee1-46bc-ae3d-2e35b8c01b6a",
    "timestamp": 1783149219591
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c5d695d3-a9c5-490d-b0df-e47a17239622",
    "timestamp": 1783149219597
  },
  {
    "data": {
      "service": "slack",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783149219597
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "slack",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783149219849
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c5d695d3-a9c5-490d-b0df-e47a17239622",
    "timestamp": 1783149219849
  }
]