Workflow Stuck on 'When Chat Message Received' Node - No Response or Output

Describe the problem/error/question

When I trigger my workflow using the “When chat message received” node, the workflow does not respond and the UI shows it as “loading” indefinitely. No output is generated, and the workflow does not proceed.

What is the error message (if any)?


There is no explicit error message in the UI; it just stays in the “loading” state and the execution shows Succeeded

Please share your workflow

{
“meta”: {
“instanceId”: “2a3911c074816f4d91111bd938adafc244cf59aa8356f828c9b8f6585dc43922”
},
“nodes”: [
{
“parameters”: {
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 1.7,
“position”: [
-80,
20
],
“id”: “f3771378-09e5-47d2-92b6-2a95af9de460”,
“name”: “AI Agent”
},
{
“parameters”: {
“model”: “gpt-4o”,
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.lmChatOpenAi”,
“typeVersion”: 1.1,
“position”: [
-280,
260
],
“id”: “4d54c135-bded-4a99-82d5-65d1d4d49bd1”,
“name”: “OpenAI Chat Model”,
“credentials”: {
“openAiApi”: {
“id”: “m9QJhVXIgVZsLxKU”,
“name”: “OpenAi account”
}
}
},
{
“parameters”: {
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.chatTrigger”,
“typeVersion”: 1.1,
“position”: [
-420,
0
],
“id”: “852eb7bd-0b17-4457-ad60-adbcc66d1469”,
“name”: “When chat message received”,
“webhookId”: “763629b3-bcbf-4a98-a008-6b7a02a17991”
}
],
“connections”: {
“OpenAI Chat Model”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“When chat message received”: {
“main”: [
[
{
“node”: “AI Agent”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {}
}

Share the output returned by the last node

There is no output because the workflow gets stuck on the “When chat message received” node.

Information on your n8n setup

  • **n8n version:*1.74.3
  • Database (default: SQLite): posgreSQL
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):**own
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):**Docker
  • **Operating system:**Ubuntu 24.10 x64

Can you please share your workflow with us?
You can copy and paste it inside a code block.

To create a code block you just have to click here:
image

Your workflow will show up like this: