Hey there,
I’m getting stuck trying to do something, I feel, relatively simple. Spend hours looking into previous post, videos, and documentation but I can’t seem to figure this one out.
My goal is simple, to embed a chat function on my website, and store each chat session onto an Airtable.
Describe the problem/error/question
So I’m not sure my workflow is the correct approach, I’ve based it off some examples I saw online but none had the entire flow exactly how I need it to achieve my goal.
The issue is that somehow the ‘Chat Memory’ node isn’t receiving the Session ID, and the ‘Chat Memory Manager’ isn’t triggered to store anything in the Airtable database. Also, in it’s current form, where the ‘AI Agent’ is directly connected to ‘Chat Memory Manager’, I get a fault message in my embedded chat ‘{ “message”: “Error in workflow” }’
What is the error message (if any)?
Error in sub-node: ‘Simple Memory’
No session ID found
Please share your workflow
Share the output returned by the last node
{
“errorMessage”: “Error in sub-node ‘Simple Memory’”,
“errorDescription”: “No session ID found”,
“errorDetails”: {},
“n8nDetails”: {
“nodeName”: “Simple Memory”,
“nodeType”: “@n8n/n8n-nodes-langchain.memoryBufferWindow”,
“nodeVersion”: 1.3,
“itemIndex”: 0,
“time”: “24/04/2025, 19:03:25”,
“n8nVersion”: “1.86.1 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeOperationError: Error in sub-node Simple Memory”,
" at ExecuteContext.getInputConnectionData (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/node-execution-context/utils/get-input-connection-data.js:99:23)“,
" at ExecuteContext.getInputConnectionData (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/node-execution-context/execute-context.js:45:16)”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/dist/nodes/memory/MemoryManager/MemoryManager.node.js:296:20)“,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:681:27)”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:913:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1246:20"
]
}
}
Information on your n8n setup
- n8n version: 1.86.1
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
- **Operating system: **
Thank you so much in advance to anyone who can help me out on this, its truly my last resort!
Kind regards,
Mitch