WhatsApp Multimedia AI Assistant Using Google Gemini

f821318c-85c9-4b37-b675-8df4a103c884

Latency
23353ms
Cost
$0.0066
Tokens
2,726
Status
partial
gemini-3-flash-preview

2 nodes ran as pass-throughs

n8n-nodes-base.whatsAppTrigger, @n8n/n8n-nodes-langchain.toolWikipedia

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "unsupported"
    },
    "event": "node_start",
    "nodeId": "38ffe41a-ecdf-4bb4-bd55-51998abab0f5",
    "timestamp": 1780643492054
  },
  {
    "data": {
      "type": "n8n-nodes-base.whatsAppTrigger"
    },
    "event": "unsupported_node",
    "nodeId": "unsupported",
    "timestamp": 1780643492054
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "unsupported"
    },
    "event": "node_end",
    "nodeId": "38ffe41a-ecdf-4bb4-bd55-51998abab0f5",
    "timestamp": 1780643492054
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "d38b6f73-272e-4833-85fc-46ce0db91f6a",
    "timestamp": 1780643492056
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780643492056
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "d38b6f73-272e-4833-85fc-46ce0db91f6a",
    "timestamp": 1780643492056
  },
  {
    "data": {
      "nodeType": "unsupported"
    },
    "event": "node_start",
    "nodeId": "f2ecc9a9-bdd9-475d-be0c-43594d0cb613",
    "timestamp": 1780643492059
  },
  {
    "data": {
      "type": "@n8n/n8n-nodes-langchain.toolWikipedia"
    },
    "event": "unsupported_node",
    "nodeId": "unsupported",
    "timestamp": 1780643492059
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "unsupported"
    },
    "event": "node_end",
    "nodeId": "f2ecc9a9-bdd9-475d-be0c-43594d0cb613",
    "timestamp": 1780643492059
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "8dd972be-305b-4d26-aa05-1dee17411d8a",
    "timestamp": 1780643492061
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling google/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780643492061
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780643492062
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0021428000000000003,
      "provider": "google",
      "latencyMs": 6623,
      "promptTokens": 1,
      "completionTokens": 857
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780643498690
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "8dd972be-305b-4d26-aa05-1dee17411d8a",
    "timestamp": 1780643498690
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "7e28786b-ab19-4969-9915-2432a25b49d3",
    "timestamp": 1780643498694
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling google/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780643498694
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780643498694
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0013828,
      "provider": "google",
      "latencyMs": 4107,
      "promptTokens": 1,
      "completionTokens": 553
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780643502803
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "7e28786b-ab19-4969-9915-2432a25b49d3",
    "timestamp": 1780643502803
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "8832dac3-9433-4dcc-a805-346408042bf2",
    "timestamp": 1780643502812
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling google/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780643502812
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780643502812
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0011328,
      "provider": "google",
      "latencyMs": 3369,
      "promptTokens": 1,
      "completionTokens": 453
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780643506183
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "8832dac3-9433-4dcc-a805-346408042bf2",
    "timestamp": 1780643506183
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "7a4c9905-37f0-4cfe-a928-91c7e38914b9",
    "timestamp": 1780643506191
  },
  {
    "data": {
      "count": 1
    },
    "event": "splitOut",
    "nodeId": "passthrough",
    "timestamp": 1780643506191
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "7a4c9905-37f0-4cfe-a928-91c7e38914b9",
    "timestamp": 1780643506191
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "325dac6d-6698-41e0-8d2f-9ac5d84c245e",
    "timestamp": 1780643506194
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1780643506194
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "325dac6d-6698-41e0-8d2f-9ac5d84c245e",
    "timestamp": 1780643506194
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "a35ac268-eff0-46cd-ac4e-c9b047a3f893",
    "timestamp": 1780643506196
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "latencyMs": 500,
      "operation": "mediaUrlGet",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780643506700
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "a35ac268-eff0-46cd-ac4e-c9b047a3f893",
    "timestamp": 1780643506700
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "a3be543c-949c-4443-bf82-e0d00419ae23",
    "timestamp": 1780643506706
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "latencyMs": 500,
      "operation": "mediaUrlGet",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780643507209
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "a3be543c-949c-4443-bf82-e0d00419ae23",
    "timestamp": 1780643507209
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "dd3cd0e7-0d1e-40cf-8120-aba0d1646d6d",
    "timestamp": 1780643507213
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "latencyMs": 500,
      "operation": "mediaUrlGet",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780643507716
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "dd3cd0e7-0d1e-40cf-8120-aba0d1646d6d",
    "timestamp": 1780643507716
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "925a3871-9cdb-49f9-a2b9-890617d09965",
    "timestamp": 1780643507719
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780643507719
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "925a3871-9cdb-49f9-a2b9-890617d09965",
    "timestamp": 1780643507720
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "b22e3a7d-5fa1-4b8d-be08-b59f5bb5c417",
    "timestamp": 1780643507724
  },
  {
    "data": {
      "error": "HTTP node requires a 'url' parameter",
      "status": "error",
      "degraded": true,
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "b22e3a7d-5fa1-4b8d-be08-b59f5bb5c417",
    "timestamp": 1780643507724
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "a3505c93-2719-4a11-8813-39844fe0dd1a",
    "timestamp": 1780643507727
  },
  {
    "data": {
      "error": "HTTP node requires a 'url' parameter",
      "status": "error",
      "degraded": true,
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "a3505c93-2719-4a11-8813-39844fe0dd1a",
    "timestamp": 1780643507727
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "dcadbd30-598e-443b-a3a7-10d7f9210f49",
    "timestamp": 1780643507730
  },
  {
    "data": {
      "error": "HTTP node requires a 'url' parameter",
      "status": "error",
      "degraded": true,
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "dcadbd30-598e-443b-a3a7-10d7f9210f49",
    "timestamp": 1780643507730
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2ad0e104-0924-47ef-ad11-d84351d72083",
    "timestamp": 1780643507733
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780643507733
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780643507733
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0015928,
      "provider": "openai",
      "latencyMs": 4502,
      "promptTokens": 1,
      "completionTokens": 637
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780643512238
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "2ad0e104-0924-47ef-ad11-d84351d72083",
    "timestamp": 1780643512238
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "d0c7c2f6-b626-4ec5-86ff-96523749db2c",
    "timestamp": 1780643512246
  },
  {
    "event": "fetching POST https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
    "nodeId": "http",
    "timestamp": 1780643512246
  },
  {
    "data": {
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780643512246
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "d0c7c2f6-b626-4ec5-86ff-96523749db2c",
    "timestamp": 1780643512289
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "27261815-f949-48e8-920d-7bf880ea87ce",
    "timestamp": 1780643512293
  },
  {
    "event": "fetching POST https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
    "nodeId": "http",
    "timestamp": 1780643512293
  },
  {
    "data": {
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780643512293
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "27261815-f949-48e8-920d-7bf880ea87ce",
    "timestamp": 1780643512334
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2f0fd658-a138-4f50-95a7-7ddc4eb90fab",
    "timestamp": 1780643512343
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780643512343
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780643512343
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0001616,
      "provider": "openai",
      "latencyMs": 1122,
      "promptTokens": 22,
      "completionTokens": 62
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780643513466
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "2f0fd658-a138-4f50-95a7-7ddc4eb90fab",
    "timestamp": 1780643513466
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "73d0af9e-d009-4859-b60d-48a2fbeda932",
    "timestamp": 1780643513472
  },
  {
    "data": {
      "inputKeys": [
        "statusCode",
        "headers",
        "body"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780643513472
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "73d0af9e-d009-4859-b60d-48a2fbeda932",
    "timestamp": 1780643513472
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "d969ce8b-d6c4-4918-985e-3420557ef707",
    "timestamp": 1780643513476
  },
  {
    "data": {
      "inputKeys": [
        "statusCode",
        "headers",
        "body"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780643513476
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "d969ce8b-d6c4-4918-985e-3420557ef707",
    "timestamp": 1780643513476
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "3459f96b-c0de-4514-9d53-53a9b40d534e",
    "timestamp": 1780643513479
  },
  {
    "data": {
      "inputKeys": [
        "statusCode",
        "headers",
        "body"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780643513479
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "3459f96b-c0de-4514-9d53-53a9b40d534e",
    "timestamp": 1780643513479
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "85eaad3a-c4d1-4ae7-a37b-0b72be39409d",
    "timestamp": 1780643513482
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780643513482
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780643513482
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.00023280000000000002,
      "provider": "openai",
      "latencyMs": 1417,
      "promptTokens": 51,
      "completionTokens": 87
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780643514902
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "85eaad3a-c4d1-4ae7-a37b-0b72be39409d",
    "timestamp": 1780643514902
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "89df6f6c-2d91-4c14-a51a-4be29b1018ec",
    "timestamp": 1780643514907
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "latencyMs": 500,
      "operation": "send",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780643515407
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "89df6f6c-2d91-4c14-a51a-4be29b1018ec",
    "timestamp": 1780643515407
  }
]