Problems with the WhatsApp "On message" node

Hi, the “On message” node is having some problems. I’m using version 1.83.2, but I was previously using an earlier version and had no problems with this node. However, after updating, an error appears due to some parameter. I’ve already changed “messages” to all the other available options, but the problem persists.
I’m also using Docker.

If I don’t resolve this by next month my boss will rip my head off :skull:.

{
“nodes”: [
{
“parameters”: {
“updates”: [
“messages”
]
},
“type”: “n8n-nodes-base.whatsAppTrigger”,
“typeVersion”: 1,
“position”: [
-1220,
380
],
“id”: “659af56b-53df-4776-813c-9c95ba4ca7a7”,
“name”: “Receptor de chate”,
“webhookId”: “806f4a09-5b0f-49e8-8e67-5f4fb03f2cd0”,
“credentials”: {
“whatsAppTriggerApi”: {
“id”: “c0NEXmOKeVGsW8CI”,
“name”: “WhatsApp OAuth account”
}
}
},
{
“parameters”: {
“promptType”: “define”,
“text”: “={{ $json.messages[0].text.body }}”,
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 1.8,
“position”: [
-480,
380
],
“id”: “0bc37363-4681-43ca-a9de-6a74fd9d8a11”,
“name”: “AI Agent”
},
{
“parameters”: {
“model”: {
“__rl”: true,
“mode”: “list”,
“value”: “gpt-4o-mini”
},
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.lmChatOpenAi”,
“typeVersion”: 1.2,
“position”: [
-520,
600
],
“id”: “1e09b3f6-e3cf-4bb0-b42a-5d8ecab59848”,
“name”: “OpenAI Chat Model”,
“credentials”: {
“openAiApi”: {
“id”: “awThERa1lZAsEFnv”,
“name”: “OpenAi account”
}
}
},
{
“parameters”: {
“sessionIdType”: “customKey”,
“sessionKey”: “={{ $(‘Receptor de chate’).item.json.contacts[0].wa_id }}”
},
“type”: “@n8n/n8n-nodes-langchain.memoryBufferWindow”,
“typeVersion”: 1.3,
“position”: [
-380,
600
],
“id”: “540e394c-d0d6-4d54-9f46-2cad1e8f043f”,
“name”: “Simple Memory”
},
{
“parameters”: {
“operation”: “send”,
“phoneNumberId”: “582181234982206”,
“recipientPhoneNumber”: “={{ $(‘Receptor de chate’).item.json.contacts[0].wa_id }}”,
“textBody”: “={{ $json.output }}”,
“additionalFields”: {}
},
“type”: “n8n-nodes-base.whatsApp”,
“typeVersion”: 1,
“position”: [
-60,
340
],
“id”: “605a3414-41d2-416a-ab31-c6d31c534dff”,
“name”: “WhatsApp Business Cloud”,
“webhookId”: “f3c2bbf3-8974-4971-ab7b-7aeaed19a3ff”,
“credentials”: {
“whatsAppApi”: {
“id”: “fTCtzzQlb8khW8e6”,
“name”: “WhatsApp account 2”
}
}
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “2094a61d-60f9-4aeb-9036-03344c14784b”,
“leftValue”: “={{ $json.messages[0].text.body }}”,
“rightValue”: “”,
“operator”: {
“type”: “string”,
“operation”: “exists”,
“singleValue”: true
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.if”,
“typeVersion”: 2.2,
“position”: [
-880,
400
],
“id”: “f2c848cc-f8a3-4120-8e2b-324b8c2b35e4”,
“name”: “If”
}
],
“connections”: {
“Receptor de chate”: {
“main”: [
[
{
“node”: “If”,
“type”: “main”,
“index”: 0
}
]
]
},
“AI Agent”: {
“main”: [
[
{
“node”: “WhatsApp Business Cloud”,
“type”: “main”,
“index”: 0
}
]
]
},
“OpenAI Chat Model”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“Simple Memory”: {
“ai_memory”: [
[
{
“node”: “AI Agent”,
“type”: “ai_memory”,
“index”: 0
}
]
]
},
“If”: {
“main”: [
[
{
“node”: “AI Agent”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “28f3097421e281bbde9498dab0c8830eeb4cf03e3c4d58cc543df4de5a43fc13”
}
}

I am having the same issue, but i am using n8n via browser!!! WHat do u mean by version? Do we need to download n8n environment?

I just mentioned the version to illustrate that it was working before but after the update it stopped working, so something may have changed that is causing the problem or just a bug in the current version.

It’s making me insane. I keep getting this error " Some intermediate nodes between ‘WhatsApp Trigger ‘ and ‘Respond to User ‘ have not executed yet. " for no reason.

I am confident i am doing everything fine. Did u get this issue previously?

I have exactly the same error even with the last version: 1.93.0
The process is to simple that is may impossible to do something wrong, I put the app id and the secret and it just not work.

It is required to have the company verified on meta? Like upload legal docs and etc? If it is not, I don’t know Why it not works. :pensive:

did you manage to fix it? also u can upload ure workflow like this and can take look further into it
n8n attach workflow

Also, you may consider using the HTTP request node if needed.