AI Email Auto-Responder with RAG Knowledge
18363196-5b08-4bd1-a218-f1f8a48885e0
Latency
27423ms
Cost
$0.0001
Tokens
340
Status
partialgemini-2.5-flash-lite
Workflow Graph
Trace
[
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "59885699-0f6c-4522-acff-9e28b2a07b82",
"timestamp": 1780867091853
},
{
"data": {
"kind": "n8n-nodes-base.emailReadImap"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1780867091853
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "59885699-0f6c-4522-acff-9e28b2a07b82",
"timestamp": 1780867091853
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "13c2d151-6f59-4e1f-a174-02d4d0bcaefd",
"timestamp": 1780867091854
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/deepseek/deepseek-r1:free",
"nodeId": "llm",
"timestamp": 1780867091854
},
{
"data": {
"model": "deepseek/deepseek-r1:free",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780867091854
},
{
"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": "13c2d151-6f59-4e1f-a174-02d4d0bcaefd",
"timestamp": 1780867095937
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "20daf5d3-dc9c-4fad-9f2f-98d86bc1660c",
"timestamp": 1780867095939
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780867095939
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "20daf5d3-dc9c-4fad-9f2f-98d86bc1660c",
"timestamp": 1780867095939
},
{
"data": {
"nodeType": "manualTrigger"
},
"event": "node_start",
"nodeId": "baf60eba-5e7b-467f-b27e-1388a91622d0",
"timestamp": 1780867095940
},
{
"data": {
"initialData": {
"id": "email_abcde",
"to": "support@yourcompany.com",
"data": [
{
"id": "msg_12345",
"body": {
"text": "I have a question about the recent project update. Could you please provide more details on the timeline for phase 2?"
}
}
],
"from": "john.doe@example.com",
"text": "Hello,\n\nI hope this email finds you well.\n\nI have a question about the recent project update. Could you please provide more details on the timeline for phase 2?\n\nThanks,\nJohn Doe",
"output": {
"response": "Thank you for your email. Regarding phase 2 of the project, we are currently finalizing the detailed timeline and expect to share it by the end of next week. We appreciate your patience."
},
"subject": "Question about Project Update",
"response": {
"text": "Thank you for your email. Regarding phase 2 of the project, we are currently finalizing the detailed timeline and expect to share it by the end of next week. We appreciate your patience."
},
"textHtml": "<html><body><p>Hello,</p><p>I hope this email finds you well.</p><p>I have a question about the recent project update. Could you please provide more details on the timeline for phase 2?</p><p>Thanks,</p><p>John Doe</p></body></html>"
}
},
"event": "triggered",
"nodeId": "manualTrigger",
"timestamp": 1780867095940
},
{
"data": {
"status": "ok",
"nodeType": "manualTrigger"
},
"event": "node_end",
"nodeId": "baf60eba-5e7b-467f-b27e-1388a91622d0",
"timestamp": 1780867095940
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "ec6737ad-3fbe-4864-9df8-44f82d6f2c5c",
"timestamp": 1780867095941
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780867095941
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "ec6737ad-3fbe-4864-9df8-44f82d6f2c5c",
"timestamp": 1780867095941
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "0818fb6a-2adf-4725-90a4-11cdd7d14036",
"timestamp": 1780867095942
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780867095942
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "0818fb6a-2adf-4725-90a4-11cdd7d14036",
"timestamp": 1780867095942
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "386c27cb-6e69-4d96-a8ab-8cfd43e6b171",
"timestamp": 1780867095943
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780867095943
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780867095943
},
{
"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": "386c27cb-6e69-4d96-a8ab-8cfd43e6b171",
"timestamp": 1780867100040
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "0bd17bef-e205-464e-9b36-dcda75254e06",
"timestamp": 1780867100043
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/deepseek/deepseek-r1:free",
"nodeId": "llm",
"timestamp": 1780867100043
},
{
"data": {
"model": "deepseek/deepseek-r1:free",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780867100043
},
{
"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": "0bd17bef-e205-464e-9b36-dcda75254e06",
"timestamp": 1780867104157
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "3b6ae6aa-75a8-4038-bbc2-248ab533b3ab",
"timestamp": 1780867104161
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780867104161
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780867104161
},
{
"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": "3b6ae6aa-75a8-4038-bbc2-248ab533b3ab",
"timestamp": 1780867108345
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "b268ab9d-b2e3-46e6-b7ae-70aff0b5484d",
"timestamp": 1780867108349
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780867108349
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "b268ab9d-b2e3-46e6-b7ae-70aff0b5484d",
"timestamp": 1780867108349
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "633f0ce9-04ff-4653-8bbc-7457ba0d18bd",
"timestamp": 1780867108351
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780867108351
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "633f0ce9-04ff-4653-8bbc-7457ba0d18bd",
"timestamp": 1780867108351
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "77e6160f-20a7-4a75-9fef-bc875b953a16",
"timestamp": 1780867108352
},
{
"event": "fetching POST https://QDRANTURL/collections/COLLECTION",
"nodeId": "http",
"timestamp": 1780867108352
},
{
"data": {
"url": "https://QDRANTURL/collections/COLLECTION",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780867108352
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780867108358
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "77e6160f-20a7-4a75-9fef-bc875b953a16",
"timestamp": 1780867108358
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "ab7764d1-531c-4281-8b89-015fb3f5e780",
"timestamp": 1780867108360
},
{
"event": "fetching POST https://QDRANTURL/collections/COLLECTION/points/delete",
"nodeId": "http",
"timestamp": 1780867108360
},
{
"data": {
"url": "https://QDRANTURL/collections/COLLECTION/points/delete",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780867108360
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780867108364
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "ab7764d1-531c-4281-8b89-015fb3f5e780",
"timestamp": 1780867108364
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "8171b8f2-998d-4d72-ac28-524daae4a2d7",
"timestamp": 1780867108365
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780867108365
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "8171b8f2-998d-4d72-ac28-524daae4a2d7",
"timestamp": 1780867108365
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "9f7742e9-87d5-40b9-9129-0777d8a37933",
"timestamp": 1780867108367
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780867108367
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780867108367
},
{
"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": "9f7742e9-87d5-40b9-9129-0777d8a37933",
"timestamp": 1780867112480
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "cd3eaa81-0f94-484b-b0c2-ecf0ca4541dc",
"timestamp": 1780867112485
},
{
"data": {
"service": "googleDrive",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780867112485
},
{
"data": {
"url": "https://www.googleapis.com/drive/v3/files?pageSize=10&fields=files(id,name,mimeType)",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780867112485
},
{
"data": {
"status": 200
},
"event": "drive.read",
"nodeId": "integration",
"timestamp": 1780867112787
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "googleDrive",
"latencyMs": 302,
"operation": "read"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780867112787
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "cd3eaa81-0f94-484b-b0c2-ecf0ca4541dc",
"timestamp": 1780867112787
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "67699bca-4096-4259-bbd4-51a879539aca",
"timestamp": 1780867112789
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780867112789
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780867112789
},
{
"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": "67699bca-4096-4259-bbd4-51a879539aca",
"timestamp": 1780867116906
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "b39ecd2d-4d5b-4885-86a9-2cfe9f6074ef",
"timestamp": 1780867116910
},
{
"data": {
"service": "googleDrive",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780867116910
},
{
"data": {
"url": "https://www.googleapis.com/drive/v3/files?pageSize=10&fields=files(id,name,mimeType)",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780867116910
},
{
"data": {
"status": 200
},
"event": "drive.read",
"nodeId": "integration",
"timestamp": 1780867117287
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "googleDrive",
"latencyMs": 377,
"operation": "download"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780867117287
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "b39ecd2d-4d5b-4885-86a9-2cfe9f6074ef",
"timestamp": 1780867117287
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "e2d404c0-2aad-407d-b75e-5ef0c5105c0e",
"timestamp": 1780867117290
},
{
"data": {
"messages": 2,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780867117290
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780867117290
},
{
"data": {
"model": "gemini-2.5-flash-lite",
"costUsd": 0.00004380000000000001,
"provider": "openai",
"latencyMs": 714,
"promptTokens": 50,
"completionTokens": 97
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780867118004
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "e2d404c0-2aad-407d-b75e-5ef0c5105c0e",
"timestamp": 1780867118004
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "36d384be-3e11-43b1-b8c3-f63df600a6a6",
"timestamp": 1780867118006
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780867118006
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "36d384be-3e11-43b1-b8c3-f63df600a6a6",
"timestamp": 1780867118006
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "21e2326a-138d-46f3-a849-a80aa7917da9",
"timestamp": 1780867118007
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780867118007
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "21e2326a-138d-46f3-a849-a80aa7917da9",
"timestamp": 1780867118007
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "3786c2de-c5cb-4233-826e-7265f2bccbdb",
"timestamp": 1780867118009
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780867118009
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780867118009
},
{
"data": {
"model": "gemini-2.5-flash-lite",
"costUsd": 0.0000748,
"provider": "openai",
"latencyMs": 764,
"promptTokens": 8,
"completionTokens": 185
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780867118774
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "3786c2de-c5cb-4233-826e-7265f2bccbdb",
"timestamp": 1780867118774
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "8149e40d-64e6-4fb9-aebc-2a2483961f07",
"timestamp": 1780867118776
},
{
"data": {
"service": "smtp",
"resolved": false
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780867118776
},
{
"data": {
"mode": "write",
"status": "ok",
"service": "smtp",
"latencyMs": 500,
"operation": "read",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780867119276
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "8149e40d-64e6-4fb9-aebc-2a2483961f07",
"timestamp": 1780867119276
}
]