RAG-Based Email Management with Qdrant Vector Store

9b412ef5-7968-4f5d-8071-f686f4eabe1e

Latency
15864ms
Cost
$0.0056
Tokens
2,389
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "9d77e26f-de2b-4bd4-b0f0-9924a8f459a6",
    "timestamp": 1783211706645
  },
  {
    "data": {
      "kind": "n8n-nodes-base.emailReadImap"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783211706645
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "9d77e26f-de2b-4bd4-b0f0-9924a8f459a6",
    "timestamp": 1783211706645
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "6e3f6df0-8924-47d9-855c-51205d19e86d",
    "timestamp": 1783211706646
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211706646
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "6e3f6df0-8924-47d9-855c-51205d19e86d",
    "timestamp": 1783211706646
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "1da0e72a-db97-4216-a1a5-038cebaf7e10",
    "timestamp": 1783211706647
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783211706647
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783211706647
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0012403,
      "provider": "openai",
      "latencyMs": 2988,
      "promptTokens": 1,
      "completionTokens": 496
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783211709636
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "1da0e72a-db97-4216-a1a5-038cebaf7e10",
    "timestamp": 1783211709636
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "36ce51c6-8ee1-4230-84c0-40e259eafb1a",
    "timestamp": 1783211709637
  },
  {
    "data": {
      "initialData": {
        "id": "email_trigger_12345",
        "to": "support@yourcompany.com",
        "data": {
          "text": "Dear Support Team,\n\nI am writing to inquire about the status of my recent order, #ORD789012. I placed it on October 26th, 2023, and was expecting delivery by November 3rd. The tracking information hasn't updated in three days. Could you please provide an update on its whereabouts and an estimated delivery date?\n\nThank you,\n\nJane Doe"
        },
        "from": "jane.doe@example.com",
        "email": {
          "to": "support@yourcompany.com",
          "date": "2023-11-01T10:30:00Z",
          "from": "jane.doe@example.com",
          "subject": "Order Status Inquiry - #ORD789012",
          "messageId": "<abc123xyz@mail.example.com>"
        },
        "output": {},
        "subject": "Order Status Inquiry - #ORD789012",
        "response": {
          "text": ""
        },
        "textHtml": "<html><body><p>Dear Support Team,</p><p>I am writing to inquire about the status of my recent order, #ORD789012. I placed it on October 26th, 2023, and was expecting delivery by November 3rd. The tracking information hasn't updated in three days. Could you please provide an update on its whereabouts and an estimated delivery date?</p><p>Thank you,</p><p>Jane Doe</p></body></html>"
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783211709637
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "36ce51c6-8ee1-4230-84c0-40e259eafb1a",
    "timestamp": 1783211709637
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0cf45d10-3cbf-4eb6-ab30-11f264b3aa8d",
    "timestamp": 1783211709639
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211709639
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0cf45d10-3cbf-4eb6-ab30-11f264b3aa8d",
    "timestamp": 1783211709639
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "c15fd52f-b142-408e-af06-aeed10a1cf85",
    "timestamp": 1783211709640
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211709640
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "c15fd52f-b142-408e-af06-aeed10a1cf85",
    "timestamp": 1783211709640
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "63097039-58cb-4e0f-9fb6-6bf868275519",
    "timestamp": 1783211709641
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783211709641
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783211709641
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0016778,
      "provider": "openai",
      "latencyMs": 4384,
      "promptTokens": 1,
      "completionTokens": 671
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783211714027
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "63097039-58cb-4e0f-9fb6-6bf868275519",
    "timestamp": 1783211714027
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "cf2d020b-b125-4a20-8694-8ed0f7acf755",
    "timestamp": 1783211714028
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211714028
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "cf2d020b-b125-4a20-8694-8ed0f7acf755",
    "timestamp": 1783211714028
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2aff581a-8b64-405c-b62f-74bf189fd7b1",
    "timestamp": 1783211714030
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211714030
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2aff581a-8b64-405c-b62f-74bf189fd7b1",
    "timestamp": 1783211714030
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "21a0c991-65dc-483e-9b98-5cedaba7ae13",
    "timestamp": 1783211714031
  },
  {
    "event": "fetching POST https://QDRANTURL/collections/COLLECTION",
    "nodeId": "http",
    "timestamp": 1783211714031
  },
  {
    "data": {
      "url": "https://QDRANTURL/collections/COLLECTION",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783211714031
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211714035
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "21a0c991-65dc-483e-9b98-5cedaba7ae13",
    "timestamp": 1783211714035
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "9a048d7d-bcdf-40b7-b33a-94b811083eac",
    "timestamp": 1783211714037
  },
  {
    "event": "fetching POST https://QDRANTURL/collections/COLLECTION/points/delete",
    "nodeId": "http",
    "timestamp": 1783211714037
  },
  {
    "data": {
      "url": "https://QDRANTURL/collections/COLLECTION/points/delete",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783211714037
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211714040
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "9a048d7d-bcdf-40b7-b33a-94b811083eac",
    "timestamp": 1783211714040
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "492d48d8-4997-4f04-902b-041da3210417",
    "timestamp": 1783211714041
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211714041
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "492d48d8-4997-4f04-902b-041da3210417",
    "timestamp": 1783211714041
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "37ac411b-4a74-44d1-917e-b07d1c9ca221",
    "timestamp": 1783211714043
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783211714043
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783211714043
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0003703,
      "provider": "openai",
      "latencyMs": 1019,
      "promptTokens": 1,
      "completionTokens": 148
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783211715062
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "37ac411b-4a74-44d1-917e-b07d1c9ca221",
    "timestamp": 1783211715062
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "db494d2d-5390-4f83-9b87-3409fef31a7d",
    "timestamp": 1783211715064
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783211715064
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211715316
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "db494d2d-5390-4f83-9b87-3409fef31a7d",
    "timestamp": 1783211715316
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "91edbac9-847b-4f31-a8dd-09418bd93642",
    "timestamp": 1783211715317
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783211715317
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783211715317
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0001033,
      "provider": "openai",
      "latencyMs": 603,
      "promptTokens": 61,
      "completionTokens": 34
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783211715921
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "91edbac9-847b-4f31-a8dd-09418bd93642",
    "timestamp": 1783211715921
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "e30dbe6f-482e-47f9-b5b8-62c1113e6c8b",
    "timestamp": 1783211715922
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783211715922
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 250,
      "operation": "download",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211716173
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "e30dbe6f-482e-47f9-b5b8-62c1113e6c8b",
    "timestamp": 1783211716173
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "05f65120-ef31-4c67-ac18-e68a8353909c",
    "timestamp": 1783211716175
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211716175
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "05f65120-ef31-4c67-ac18-e68a8353909c",
    "timestamp": 1783211716175
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "41bfceff-0155-4643-be60-ee301e2d69e1",
    "timestamp": 1783211716176
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "smtp",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211716677
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "41bfceff-0155-4643-be60-ee301e2d69e1",
    "timestamp": 1783211716677
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "af2d6284-4c8f-4a07-b689-d0f55aaabd26",
    "timestamp": 1783211716679
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "gmail",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "sendAndWait",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211717180
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "af2d6284-4c8f-4a07-b689-d0f55aaabd26",
    "timestamp": 1783211717180
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "aaccc4a6-ce53-4813-8247-65bd1a9d5639",
    "timestamp": 1783211717182
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783211717182
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783211717182
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0019578,
      "provider": "openai",
      "latencyMs": 4330,
      "promptTokens": 1,
      "completionTokens": 783
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783211721513
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "aaccc4a6-ce53-4813-8247-65bd1a9d5639",
    "timestamp": 1783211721513
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "b46de5d9-1a2e-4d28-930b-e18fb1d7876e",
    "timestamp": 1783211721514
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783211721514
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "b46de5d9-1a2e-4d28-930b-e18fb1d7876e",
    "timestamp": 1783211721514
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2468e643-013f-4925-ab35-c8ef4ee6eed2",
    "timestamp": 1783211721515
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783211721515
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783211721515
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.00026660000000000003,
      "provider": "openai",
      "latencyMs": 994,
      "promptTokens": 97,
      "completionTokens": 95
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783211722509
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "2468e643-013f-4925-ab35-c8ef4ee6eed2",
    "timestamp": 1783211722509
  }
]