WhatsApp Multimedia AI Assistant Using Google Gemini
96fa47ce-6539-4fd7-937a-6f8af0bdb34d
Latency
105516ms
Cost
$0.0008
Tokens
396
Status
partialgemini-2.5-flash
Workflow Graph
Trace
[
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "38ffe41a-ecdf-4bb4-bd55-51998abab0f5",
"timestamp": 1783204690832
},
{
"data": {
"kind": "n8n-nodes-base.whatsAppTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1783204690833
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "38ffe41a-ecdf-4bb4-bd55-51998abab0f5",
"timestamp": 1783204690833
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "d38b6f73-272e-4833-85fc-46ce0db91f6a",
"timestamp": 1783204690836
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783204690836
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "d38b6f73-272e-4833-85fc-46ce0db91f6a",
"timestamp": 1783204690836
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "f2ecc9a9-bdd9-475d-be0c-43594d0cb613",
"timestamp": 1783204690838
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "toolwikipedia",
"latencyMs": 250,
"operation": "run",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783204691091
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "f2ecc9a9-bdd9-475d-be0c-43594d0cb613",
"timestamp": 1783204691091
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "8dd972be-305b-4d26-aa05-1dee17411d8a",
"timestamp": 1783204691096
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling google/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783204691096
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "google"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783204691096
},
{
"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": "8dd972be-305b-4d26-aa05-1dee17411d8a",
"timestamp": 1783204716430
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "7e28786b-ab19-4969-9915-2432a25b49d3",
"timestamp": 1783204716435
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling google/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783204716435
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "google"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783204716435
},
{
"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": "7e28786b-ab19-4969-9915-2432a25b49d3",
"timestamp": 1783204741746
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "8832dac3-9433-4dcc-a805-346408042bf2",
"timestamp": 1783204741749
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling google/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783204741749
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "google"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783204741749
},
{
"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": "8832dac3-9433-4dcc-a805-346408042bf2",
"timestamp": 1783204767037
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "7a4c9905-37f0-4cfe-a928-91c7e38914b9",
"timestamp": 1783204767041
},
{
"data": {
"count": 1
},
"event": "splitOut",
"nodeId": "passthrough",
"timestamp": 1783204767041
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "7a4c9905-37f0-4cfe-a928-91c7e38914b9",
"timestamp": 1783204767041
},
{
"data": {
"nodeType": "switch"
},
"event": "node_start",
"nodeId": "325dac6d-6698-41e0-8d2f-9ac5d84c245e",
"timestamp": 1783204767044
},
{
"event": "no rule matched -> default",
"nodeId": "switch",
"timestamp": 1783204767044
},
{
"data": {
"status": "ok",
"nodeType": "switch"
},
"event": "node_end",
"nodeId": "325dac6d-6698-41e0-8d2f-9ac5d84c245e",
"timestamp": 1783204767044
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "a35ac268-eff0-46cd-ac4e-c9b047a3f893",
"timestamp": 1783204767047
},
{
"data": {
"service": "whatsapp",
"resolved": false
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1783204767047
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "whatsapp",
"latencyMs": 250,
"operation": "mediaUrlGet",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783204767299
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "a35ac268-eff0-46cd-ac4e-c9b047a3f893",
"timestamp": 1783204767299
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "a3be543c-949c-4443-bf82-e0d00419ae23",
"timestamp": 1783204767304
},
{
"data": {
"service": "whatsapp",
"resolved": false
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1783204767304
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "whatsapp",
"latencyMs": 250,
"operation": "mediaUrlGet",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783204767555
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "a3be543c-949c-4443-bf82-e0d00419ae23",
"timestamp": 1783204767555
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "dd3cd0e7-0d1e-40cf-8120-aba0d1646d6d",
"timestamp": 1783204767561
},
{
"data": {
"service": "whatsapp",
"resolved": false
},
"event": "credential_access",
"nodeId": "_context",
"timestamp": 1783204767561
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "whatsapp",
"latencyMs": 250,
"operation": "mediaUrlGet",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783204767813
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "dd3cd0e7-0d1e-40cf-8120-aba0d1646d6d",
"timestamp": 1783204767813
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "925a3871-9cdb-49f9-a2b9-890617d09965",
"timestamp": 1783204767818
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783204767818
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "925a3871-9cdb-49f9-a2b9-890617d09965",
"timestamp": 1783204767818
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "b22e3a7d-5fa1-4b8d-be08-b59f5bb5c417",
"timestamp": 1783204767821
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "unresolvable-url",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783204767821
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "b22e3a7d-5fa1-4b8d-be08-b59f5bb5c417",
"timestamp": 1783204767821
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "a3505c93-2719-4a11-8813-39844fe0dd1a",
"timestamp": 1783204767824
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "unresolvable-url",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783204767824
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "a3505c93-2719-4a11-8813-39844fe0dd1a",
"timestamp": 1783204767824
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "dcadbd30-598e-443b-a3a7-10d7f9210f49",
"timestamp": 1783204767827
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "unresolvable-url",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783204767827
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "dcadbd30-598e-443b-a3a7-10d7f9210f49",
"timestamp": 1783204767827
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "2ad0e104-0924-47ef-ad11-d84351d72083",
"timestamp": 1783204767830
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783204767830
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783204767830
},
{
"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": "2ad0e104-0924-47ef-ad11-d84351d72083",
"timestamp": 1783204793221
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "d0c7c2f6-b626-4ec5-86ff-96523749db2c",
"timestamp": 1783204793225
},
{
"event": "fetching POST https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
"nodeId": "http",
"timestamp": 1783204793225
},
{
"data": {
"url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1783204793225
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "http-400",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783204793271
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "d0c7c2f6-b626-4ec5-86ff-96523749db2c",
"timestamp": 1783204793271
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "27261815-f949-48e8-920d-7bf880ea87ce",
"timestamp": 1783204793276
},
{
"event": "fetching POST https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
"nodeId": "http",
"timestamp": 1783204793276
},
{
"data": {
"url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1783204793276
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "http-400",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783204793324
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "27261815-f949-48e8-920d-7bf880ea87ce",
"timestamp": 1783204793324
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "2f0fd658-a138-4f50-95a7-7ddc4eb90fab",
"timestamp": 1783204793328
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783204793328
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783204793328
},
{
"data": {
"model": "gemini-2.5-flash",
"costUsd": 0.0007691,
"provider": "openai",
"latencyMs": 1819,
"promptTokens": 22,
"completionTokens": 305
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1783204795151
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "2f0fd658-a138-4f50-95a7-7ddc4eb90fab",
"timestamp": 1783204795151
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "73d0af9e-d009-4859-b60d-48a2fbeda932",
"timestamp": 1783204795157
},
{
"data": {
"inputKeys": [
"statusCode",
"headers",
"body",
"simulated"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1783204795157
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "73d0af9e-d009-4859-b60d-48a2fbeda932",
"timestamp": 1783204795157
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "d969ce8b-d6c4-4918-985e-3420557ef707",
"timestamp": 1783204795160
},
{
"data": {
"inputKeys": [
"statusCode",
"headers",
"body",
"simulated"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1783204795160
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "d969ce8b-d6c4-4918-985e-3420557ef707",
"timestamp": 1783204795160
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "3459f96b-c0de-4514-9d53-53a9b40d534e",
"timestamp": 1783204795163
},
{
"data": {
"inputKeys": [
"statusCode",
"headers",
"body",
"simulated"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1783204795163
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "3459f96b-c0de-4514-9d53-53a9b40d534e",
"timestamp": 1783204795163
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "85eaad3a-c4d1-4ae7-a37b-0b72be39409d",
"timestamp": 1783204795167
},
{
"data": {
"messages": 2,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783204795167
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783204795167
},
{
"data": {
"model": "gemini-2.5-flash",
"costUsd": 0.000060299999999999995,
"provider": "openai",
"latencyMs": 673,
"promptTokens": 51,
"completionTokens": 18
},
"event": "llm_result",
"nodeId": "_context",
"timestamp": 1783204795841
},
{
"data": {
"status": "ok",
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "85eaad3a-c4d1-4ae7-a37b-0b72be39409d",
"timestamp": 1783204795841
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "89df6f6c-2d91-4c14-a51a-4be29b1018ec",
"timestamp": 1783204795848
},
{
"data": {
"mode": "write",
"status": "ok",
"service": "whatsapp",
"safeMode": true,
"latencyMs": 500,
"operation": "send",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783204796348
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "89df6f6c-2d91-4c14-a51a-4be29b1018ec",
"timestamp": 1783204796348
}
]