Provide academic OCR and RAG answers on Telegram with Gemini, GPT-4 mini and Supabase
0811a230-ef6f-41ee-9c9d-7e2cd28e2c54
Latency
18793ms
Cost
$0.0001
Tokens
796
Status
partialgemini-2.5-flash-lite
Workflow Graph
Trace
[
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "d2ba99b1-454c-4a40-94ee-cbab20d44359",
"timestamp": 1780870095547
},
{
"data": {
"kind": "n8n-nodes-base.telegramTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1780870095547
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "d2ba99b1-454c-4a40-94ee-cbab20d44359",
"timestamp": 1780870095547
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "a3a9b1be-431d-4679-a35f-10b9ec38cb93",
"timestamp": 1780870095548
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4.1-mini",
"nodeId": "llm",
"timestamp": 1780870095548
},
{
"data": {
"model": "gpt-4.1-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780870095548
},
{
"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": "a3a9b1be-431d-4679-a35f-10b9ec38cb93",
"timestamp": 1780870099663
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "ef6b2648-afd6-463b-bae3-b7eb36c9be05",
"timestamp": 1780870099666
},
{
"data": {
"service": "googleSheets",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870099666
},
{
"data": {
"url": "https://sheets.googleapis.com/v4/spreadsheets/1e8XpVw-np2ABv8gBd_VYhphaHZUYnJ5zoOa--qocbPE/values/A1%3AZ100",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870099666
},
{
"data": {
"status": 200
},
"event": "sheets.read",
"nodeId": "integration",
"timestamp": 1780870099819
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "googleSheets",
"latencyMs": 153,
"operation": "read"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780870099819
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "ef6b2648-afd6-463b-bae3-b7eb36c9be05",
"timestamp": 1780870099819
},
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "93652721-b311-4026-adc7-05f9f8221f53",
"timestamp": 1780870099821
},
{
"data": {
"kind": "n8n-nodes-base.googleDriveTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1780870099821
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "93652721-b311-4026-adc7-05f9f8221f53",
"timestamp": 1780870099821
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "513ebace-f452-4809-8dc9-c9cf177c2901",
"timestamp": 1780870099822
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780870099822
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "513ebace-f452-4809-8dc9-c9cf177c2901",
"timestamp": 1780870099822
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "496f3026-a99d-4b44-b333-0338a486bde4",
"timestamp": 1780870099824
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780870099824
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "496f3026-a99d-4b44-b333-0338a486bde4",
"timestamp": 1780870099824
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "3099b95b-2aa1-4375-976a-331793fe26d1",
"timestamp": 1780870099826
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780870099826
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780870099826
},
{
"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": "3099b95b-2aa1-4375-976a-331793fe26d1",
"timestamp": 1780870103929
},
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "2bfb8253-67b7-4cc0-8a56-313e0ce82f89",
"timestamp": 1780870103931
},
{
"data": {
"kind": "n8n-nodes-base.executeWorkflowTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1780870103931
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "2bfb8253-67b7-4cc0-8a56-313e0ce82f89",
"timestamp": 1780870103931
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "64e34487-2f23-4de9-8b04-8c1927e744d9",
"timestamp": 1780870103933
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780870103933
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "64e34487-2f23-4de9-8b04-8c1927e744d9",
"timestamp": 1780870103933
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "13350c2d-6290-49d6-9696-677fd2f139d2",
"timestamp": 1780870103935
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "embeddingshuggingfaceinference",
"latencyMs": 250,
"operation": "run",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780870104187
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "13350c2d-6290-49d6-9696-677fd2f139d2",
"timestamp": 1780870104187
},
{
"data": {
"nodeType": "switch"
},
"event": "node_start",
"nodeId": "14a65c1f-9f0f-4ad6-bb58-8ab1c797cf27",
"timestamp": 1780870104191
},
{
"event": "matched rule 0 -> 0",
"nodeId": "switch",
"timestamp": 1780870104191
},
{
"data": {
"status": "ok",
"nodeType": "switch"
},
"event": "node_end",
"nodeId": "14a65c1f-9f0f-4ad6-bb58-8ab1c797cf27",
"timestamp": 1780870104191
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "ea0a3c38-ef3e-4f2d-9aed-9c9761375353",
"timestamp": 1780870104194
},
{
"data": {
"service": "googleDrive",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870104194
},
{
"data": {
"url": "https://www.googleapis.com/drive/v3/files?pageSize=10&fields=files(id,name,mimeType)",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870104194
},
{
"data": {
"status": 200
},
"event": "drive.read",
"nodeId": "integration",
"timestamp": 1780870104573
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "googleDrive",
"latencyMs": 379,
"operation": "download"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780870104573
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "ea0a3c38-ef3e-4f2d-9aed-9c9761375353",
"timestamp": 1780870104573
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "cf8fd7c4-768b-4ea0-a443-af3756985e8a",
"timestamp": 1780870104575
},
{
"data": {
"service": "supabase",
"resolved": false
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870104575
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "supabase",
"latencyMs": 150,
"operation": "getAll",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1780870104725
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "cf8fd7c4-768b-4ea0-a443-af3756985e8a",
"timestamp": 1780870104725
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "bcdc084a-dbf5-4a77-924f-912d259d1257",
"timestamp": 1780870104728
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780870104728
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "bcdc084a-dbf5-4a77-924f-912d259d1257",
"timestamp": 1780870104728
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "40214665-dd74-45e4-abbb-d1ba3b0b8826",
"timestamp": 1780870104730
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780870104730
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "40214665-dd74-45e4-abbb-d1ba3b0b8826",
"timestamp": 1780870104730
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "942f85a7-9e8b-47b1-b07c-d1841e0f896a",
"timestamp": 1780870104732
},
{
"data": {
"service": "telegram",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870104732
},
{
"data": {
"url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870104732
},
{
"data": {
"status": 200
},
"event": "telegram.read",
"nodeId": "integration",
"timestamp": 1780870105282
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "telegram",
"latencyMs": 550,
"operation": "read"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780870105282
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "942f85a7-9e8b-47b1-b07c-d1841e0f896a",
"timestamp": 1780870105282
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "5947be32-89c0-4691-88e3-811291ccf73e",
"timestamp": 1780870105284
},
{
"data": {
"service": "googleSheets",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870105284
},
{
"data": {
"url": "https://sheets.googleapis.com/v4/spreadsheets/1e8XpVw-np2ABv8gBd_VYhphaHZUYnJ5zoOa--qocbPE/values/A1%3AZ100",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870105284
},
{
"data": {
"status": 200
},
"event": "sheets.read",
"nodeId": "integration",
"timestamp": 1780870105539
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "googleSheets",
"latencyMs": 255,
"operation": "read"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780870105539
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "5947be32-89c0-4691-88e3-811291ccf73e",
"timestamp": 1780870105539
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "871b681a-64b9-4389-aeeb-e3ddc8a78369",
"timestamp": 1780870105542
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1780870105542
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "871b681a-64b9-4389-aeeb-e3ddc8a78369",
"timestamp": 1780870105542
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "f2d6f9d7-69af-4d16-9554-91f39faed09c",
"timestamp": 1780870105544
},
{
"data": {
"service": "googleSheets",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870105544
},
{
"data": {
"url": "https://sheets.googleapis.com/v4/spreadsheets/1e8XpVw-np2ABv8gBd_VYhphaHZUYnJ5zoOa--qocbPE/values/Sink:append?valueInputOption=RAW",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870105544
},
{
"data": {
"tab": "Sink",
"status": 200
},
"event": "sheets.write",
"nodeId": "integration",
"timestamp": 1780870105687
},
{
"data": {
"mode": "write",
"status": "ok",
"service": "googleSheets",
"latencyMs": 143,
"operation": "appendOrUpdate"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780870105687
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "f2d6f9d7-69af-4d16-9554-91f39faed09c",
"timestamp": 1780870105687
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "b5d12b17-5365-4499-b486-94a1feb625b3",
"timestamp": 1780870105690
},
{
"data": {
"messages": 2,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780870105690
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780870105690
},
{
"data": {
"model": "gemini-2.5-flash-lite",
"costUsd": 0.0000453,
"provider": "openai",
"latencyMs": 340,
"promptTokens": 401,
"completionTokens": 13
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780870106030
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "b5d12b17-5365-4499-b486-94a1feb625b3",
"timestamp": 1780870106030
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "25d826fe-52b4-4b94-82c4-eec691a3eb73",
"timestamp": 1780870106032
},
{
"event": "fetching POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent?key=",
"nodeId": "http",
"timestamp": 1780870106032
},
{
"data": {
"url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent?key=",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870106032
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "25d826fe-52b4-4b94-82c4-eec691a3eb73",
"timestamp": 1780870106077
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "94dc8e5a-b32d-4fbe-89cb-af1a8d648bdb",
"timestamp": 1780870106082
},
{
"data": {
"messages": 2,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1780870106082
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1780870106082
},
{
"data": {
"model": "gemini-2.5-flash-lite",
"costUsd": 0.000040600000000000004,
"provider": "openai",
"latencyMs": 379,
"promptTokens": 374,
"completionTokens": 8
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1780870106461
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "94dc8e5a-b32d-4fbe-89cb-af1a8d648bdb",
"timestamp": 1780870106461
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "97ba79ce-54fa-4afa-89cc-cfd4e06446ce",
"timestamp": 1780870106463
},
{
"data": {
"service": "telegram",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870106463
},
{
"data": {
"url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870106463
},
{
"data": {
"mode": "read",
"error": "telegram.getUpdates failed: HTTP 409",
"status": "error",
"service": "telegram",
"operation": "read"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780870107588
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "97ba79ce-54fa-4afa-89cc-cfd4e06446ce",
"timestamp": 1780870107588
},
{
"data": {
"nodeType": "if"
},
"event": "node_start",
"nodeId": "4c6d0bdd-4c69-4c43-a214-f5a852bbae5c",
"timestamp": 1780870107590
},
{
"event": "false branch",
"nodeId": "if",
"timestamp": 1780870107590
},
{
"data": {
"status": "ok",
"nodeType": "if"
},
"event": "node_end",
"nodeId": "4c6d0bdd-4c69-4c43-a214-f5a852bbae5c",
"timestamp": 1780870107590
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "0b95b103-e406-48d6-ad60-2cd238a5c1e2",
"timestamp": 1780870107592
},
{
"data": {
"service": "telegram",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870107592
},
{
"data": {
"url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870107592
},
{
"data": {
"status": 200
},
"event": "telegram.read",
"nodeId": "integration",
"timestamp": 1780870110756
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "telegram",
"latencyMs": 3164,
"operation": "read"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780870110756
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "0b95b103-e406-48d6-ad60-2cd238a5c1e2",
"timestamp": 1780870110756
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "edbcab18-0dbb-4806-82f2-8dd4cdc47a72",
"timestamp": 1780870110758
},
{
"data": {
"service": "telegram",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870110758
},
{
"data": {
"url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870110758
},
{
"data": {
"status": 200
},
"event": "telegram.read",
"nodeId": "integration",
"timestamp": 1780870110925
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "telegram",
"latencyMs": 167,
"operation": "read"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780870110925
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "edbcab18-0dbb-4806-82f2-8dd4cdc47a72",
"timestamp": 1780870110925
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "7eb9f58a-cde5-4f06-8f51-12510a514603",
"timestamp": 1780870110929
},
{
"data": {
"service": "googleSheets",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870110929
},
{
"data": {
"url": "https://sheets.googleapis.com/v4/spreadsheets/1e8XpVw-np2ABv8gBd_VYhphaHZUYnJ5zoOa--qocbPE/values/Sink:append?valueInputOption=RAW",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870110929
},
{
"data": {
"tab": "Sink",
"status": 200
},
"event": "sheets.write",
"nodeId": "integration",
"timestamp": 1780870111187
},
{
"data": {
"mode": "write",
"status": "ok",
"service": "googleSheets",
"latencyMs": 258,
"operation": "appendOrUpdate"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780870111187
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "7eb9f58a-cde5-4f06-8f51-12510a514603",
"timestamp": 1780870111187
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "c22e9058-c600-4d76-94e4-2beb38e04f1f",
"timestamp": 1780870111192
},
{
"data": {
"service": "telegram",
"resolved": true
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1780870111192
},
{
"data": {
"url": "https://api.telegram.org/bot8601839237:AAEoFA4ys16Txlcu68Orq7B6q_QPBOVBDvs/getUpdates?limit=5",
"method": "GET"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1780870111192
},
{
"data": {
"status": 200
},
"event": "telegram.read",
"nodeId": "integration",
"timestamp": 1780870114340
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "telegram",
"latencyMs": 3148,
"operation": "read"
},
"event": "integration_call",
"nodeId": "integration",
"timestamp": 1780870114340
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "c22e9058-c600-4d76-94e4-2beb38e04f1f",
"timestamp": 1780870114340
}
]