WhatsApp Multimedia AI Assistant Using Google Gemini

bc603b7b-abb7-4c10-b1ac-700e0d724316

Latency
20268ms
Cost
$0.0066
Tokens
2,725
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "38ffe41a-ecdf-4bb4-bd55-51998abab0f5",
    "timestamp": 1783204797273
  },
  {
    "data": {
      "kind": "n8n-nodes-base.whatsAppTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783204797273
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "38ffe41a-ecdf-4bb4-bd55-51998abab0f5",
    "timestamp": 1783204797273
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "d38b6f73-272e-4833-85fc-46ce0db91f6a",
    "timestamp": 1783204797276
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204797276
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "d38b6f73-272e-4833-85fc-46ce0db91f6a",
    "timestamp": 1783204797276
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "f2ecc9a9-bdd9-475d-be0c-43594d0cb613",
    "timestamp": 1783204797279
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "toolwikipedia",
      "latencyMs": 250,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204797530
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "f2ecc9a9-bdd9-475d-be0c-43594d0cb613",
    "timestamp": 1783204797530
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "8dd972be-305b-4d26-aa05-1dee17411d8a",
    "timestamp": 1783204797535
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling google/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204797535
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204797535
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0019103,
      "provider": "google",
      "latencyMs": 5472,
      "promptTokens": 1,
      "completionTokens": 764
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204803009
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "8dd972be-305b-4d26-aa05-1dee17411d8a",
    "timestamp": 1783204803009
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "7e28786b-ab19-4969-9915-2432a25b49d3",
    "timestamp": 1783204803013
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling google/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204803013
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204803013
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0012378,
      "provider": "google",
      "latencyMs": 2861,
      "promptTokens": 1,
      "completionTokens": 495
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204805879
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "7e28786b-ab19-4969-9915-2432a25b49d3",
    "timestamp": 1783204805879
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "8832dac3-9433-4dcc-a805-346408042bf2",
    "timestamp": 1783204805883
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling google/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204805883
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204805883
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0023103000000000004,
      "provider": "google",
      "latencyMs": 5419,
      "promptTokens": 1,
      "completionTokens": 924
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204811304
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "8832dac3-9433-4dcc-a805-346408042bf2",
    "timestamp": 1783204811304
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "7a4c9905-37f0-4cfe-a928-91c7e38914b9",
    "timestamp": 1783204811310
  },
  {
    "data": {
      "count": 1
    },
    "event": "splitOut",
    "nodeId": "passthrough",
    "timestamp": 1783204811310
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "7a4c9905-37f0-4cfe-a928-91c7e38914b9",
    "timestamp": 1783204811310
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "325dac6d-6698-41e0-8d2f-9ac5d84c245e",
    "timestamp": 1783204811313
  },
  {
    "event": "no rule matched -> default",
    "nodeId": "switch",
    "timestamp": 1783204811313
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "325dac6d-6698-41e0-8d2f-9ac5d84c245e",
    "timestamp": 1783204811313
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "a35ac268-eff0-46cd-ac4e-c9b047a3f893",
    "timestamp": 1783204811317
  },
  {
    "data": {
      "service": "whatsapp",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783204811317
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "whatsapp",
      "latencyMs": 250,
      "operation": "mediaUrlGet",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204811570
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "a35ac268-eff0-46cd-ac4e-c9b047a3f893",
    "timestamp": 1783204811570
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "a3be543c-949c-4443-bf82-e0d00419ae23",
    "timestamp": 1783204811576
  },
  {
    "data": {
      "service": "whatsapp",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783204811576
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "whatsapp",
      "latencyMs": 250,
      "operation": "mediaUrlGet",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204811828
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "a3be543c-949c-4443-bf82-e0d00419ae23",
    "timestamp": 1783204811828
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "dd3cd0e7-0d1e-40cf-8120-aba0d1646d6d",
    "timestamp": 1783204811834
  },
  {
    "data": {
      "service": "whatsapp",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783204811834
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "whatsapp",
      "latencyMs": 250,
      "operation": "mediaUrlGet",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204812086
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "dd3cd0e7-0d1e-40cf-8120-aba0d1646d6d",
    "timestamp": 1783204812086
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "925a3871-9cdb-49f9-a2b9-890617d09965",
    "timestamp": 1783204812090
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204812090
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "925a3871-9cdb-49f9-a2b9-890617d09965",
    "timestamp": 1783204812090
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "b22e3a7d-5fa1-4b8d-be08-b59f5bb5c417",
    "timestamp": 1783204812092
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "unresolvable-url",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204812092
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "b22e3a7d-5fa1-4b8d-be08-b59f5bb5c417",
    "timestamp": 1783204812093
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "a3505c93-2719-4a11-8813-39844fe0dd1a",
    "timestamp": 1783204812096
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "unresolvable-url",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204812096
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "a3505c93-2719-4a11-8813-39844fe0dd1a",
    "timestamp": 1783204812096
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "dcadbd30-598e-443b-a3a7-10d7f9210f49",
    "timestamp": 1783204812099
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "unresolvable-url",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204812099
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "dcadbd30-598e-443b-a3a7-10d7f9210f49",
    "timestamp": 1783204812099
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2ad0e104-0924-47ef-ad11-d84351d72083",
    "timestamp": 1783204812102
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204812102
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204812102
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0008902999999999999,
      "provider": "openai",
      "latencyMs": 2479,
      "promptTokens": 1,
      "completionTokens": 356
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204814582
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "2ad0e104-0924-47ef-ad11-d84351d72083",
    "timestamp": 1783204814583
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "d0c7c2f6-b626-4ec5-86ff-96523749db2c",
    "timestamp": 1783204814589
  },
  {
    "event": "fetching POST https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
    "nodeId": "http",
    "timestamp": 1783204814589
  },
  {
    "data": {
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783204814589
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-400",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204814635
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "d0c7c2f6-b626-4ec5-86ff-96523749db2c",
    "timestamp": 1783204814635
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "27261815-f949-48e8-920d-7bf880ea87ce",
    "timestamp": 1783204814640
  },
  {
    "event": "fetching POST https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
    "nodeId": "http",
    "timestamp": 1783204814640
  },
  {
    "data": {
      "url": "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-002:generateContent",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783204814640
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-400",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204814687
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "27261815-f949-48e8-920d-7bf880ea87ce",
    "timestamp": 1783204814687
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2f0fd658-a138-4f50-95a7-7ddc4eb90fab",
    "timestamp": 1783204814691
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204814691
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204814691
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0001841,
      "provider": "openai",
      "latencyMs": 1319,
      "promptTokens": 22,
      "completionTokens": 71
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204816012
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "2f0fd658-a138-4f50-95a7-7ddc4eb90fab",
    "timestamp": 1783204816012
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "73d0af9e-d009-4859-b60d-48a2fbeda932",
    "timestamp": 1783204816018
  },
  {
    "data": {
      "inputKeys": [
        "statusCode",
        "headers",
        "body",
        "simulated"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204816018
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "73d0af9e-d009-4859-b60d-48a2fbeda932",
    "timestamp": 1783204816018
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "d969ce8b-d6c4-4918-985e-3420557ef707",
    "timestamp": 1783204816023
  },
  {
    "data": {
      "inputKeys": [
        "statusCode",
        "headers",
        "body",
        "simulated"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204816023
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "d969ce8b-d6c4-4918-985e-3420557ef707",
    "timestamp": 1783204816023
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "3459f96b-c0de-4514-9d53-53a9b40d534e",
    "timestamp": 1783204816026
  },
  {
    "data": {
      "inputKeys": [
        "statusCode",
        "headers",
        "body",
        "simulated"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204816026
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "3459f96b-c0de-4514-9d53-53a9b40d534e",
    "timestamp": 1783204816026
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "85eaad3a-c4d1-4ae7-a37b-0b72be39409d",
    "timestamp": 1783204816029
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204816029
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204816029
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0001103,
      "provider": "openai",
      "latencyMs": 1003,
      "promptTokens": 51,
      "completionTokens": 38
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204817034
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "85eaad3a-c4d1-4ae7-a37b-0b72be39409d",
    "timestamp": 1783204817034
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "89df6f6c-2d91-4c14-a51a-4be29b1018ec",
    "timestamp": 1783204817040
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "whatsapp",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "send",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204817541
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "89df6f6c-2d91-4c14-a51a-4be29b1018ec",
    "timestamp": 1783204817541
  }
]