Sync GitHub Prompts to n8n Expressions

40cd43ca-3d84-47b7-b99e-5d8c0abd7a77

Latency
1559ms
Cost
$0.0002
Tokens
32
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "34781446-b06e-41eb-83b8-b96bda1a5595",
    "timestamp": 1783207380173
  },
  {
    "data": {
      "initialData": {
        "data": {
          "account_id": "user-12345",
          "error_message": "Invalid credentials provided."
        },
        "keys": [
          "account_id",
          "error_message"
        ],
        "path": "prompts/customer-support/initial-response.md",
        "repo": "my-saas-platform",
        "Prompt": "Draft an initial customer support response for a user reporting a login issue with our SaaS product. The user's account ID is  and their reported error message is ''.  Ensure the response is empathetic and offers a clear next step.",
        "output": "",
        "prompt": "Draft an initial customer support response for a user reporting a login issue with our SaaS product. The user's account ID is  and their reported error message is ''.  Ensure the response is empathetic and offers a clear next step.",
        "Account": "my-github-org",
        "company": "Innovate Solutions Inc.",
        "success": true,
        "missingKeys": []
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783207380173
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "34781446-b06e-41eb-83b8-b96bda1a5595",
    "timestamp": 1783207380173
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2d12a6e2-7976-41b0-8cb2-01466b28269d",
    "timestamp": 1783207380175
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783207380175
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783207380175
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 699,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783207380875
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "2d12a6e2-7976-41b0-8cb2-01466b28269d",
    "timestamp": 1783207380875
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "26aa4e6a-c487-4cdf-91d5-df660cf826a6",
    "timestamp": 1783207380885
  },
  {
    "data": {
      "inputKeys": [
        "Account",
        "path",
        "prompt",
        "repo",
        "data",
        "company",
        "success",
        "keys",
        "missingKeys",
        "Prompt",
        "output"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783207380885
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "26aa4e6a-c487-4cdf-91d5-df660cf826a6",
    "timestamp": 1783207380885
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c53b7243-7c82-47e0-a5ee-bd82bc51c386",
    "timestamp": 1783207380888
  },
  {
    "data": {
      "service": "github",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783207380888
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "github",
      "latencyMs": 250,
      "operation": "get",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207381139
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c53b7243-7c82-47e0-a5ee-bd82bc51c386",
    "timestamp": 1783207381139
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "9976b199-b744-47a7-9d75-4b831274c01b",
    "timestamp": 1783207381147
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783207381147
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "9976b199-b744-47a7-9d75-4b831274c01b",
    "timestamp": 1783207381147
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "32618e10-3285-4c16-9e78-058dde329337",
    "timestamp": 1783207381149
  },
  {
    "data": {
      "inputKeys": [
        "simulated",
        "echo",
        "items"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783207381149
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "32618e10-3285-4c16-9e78-058dde329337",
    "timestamp": 1783207381149
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "3b7712b8-5152-4f60-9401-03c89c39e227",
    "timestamp": 1783207381149
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'matchAll')",
    "nodeId": "code",
    "timestamp": 1783207381151
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207381151
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "3b7712b8-5152-4f60-9401-03c89c39e227",
    "timestamp": 1783207381151
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "6c6c4fde-6ee5-47a8-894d-44d1afcedc2a",
    "timestamp": 1783207381153
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783207381153
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "6c6c4fde-6ee5-47a8-894d-44d1afcedc2a",
    "timestamp": 1783207381153
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "9d92f581-8cd9-448c-aa1d-023a96c1ddda",
    "timestamp": 1783207381153
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'replace')",
    "nodeId": "code",
    "timestamp": 1783207381154
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783207381154
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "9d92f581-8cd9-448c-aa1d-023a96c1ddda",
    "timestamp": 1783207381154
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "4d8b34ca-50dd-4f37-b4f7-542291461662",
    "timestamp": 1783207381156
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783207381156
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "4d8b34ca-50dd-4f37-b4f7-542291461662",
    "timestamp": 1783207381156
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "a78c1e17-9152-4241-bcdf-c0d723da543b",
    "timestamp": 1783207381157
  },
  {
    "data": {
      "inputKeys": [
        "simulated",
        "echo",
        "items"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783207381157
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "a78c1e17-9152-4241-bcdf-c0d723da543b",
    "timestamp": 1783207381157
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "51447c90-a222-4172-a49b-86ec43332559",
    "timestamp": 1783207381159
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783207381159
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783207381159
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 560,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783207381724
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "51447c90-a222-4172-a49b-86ec43332559",
    "timestamp": 1783207381724
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "1f070dc3-3d25-41d8-b534-912ba7c8b2b0",
    "timestamp": 1783207381732
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783207381732
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "1f070dc3-3d25-41d8-b534-912ba7c8b2b0",
    "timestamp": 1783207381732
  }
]