Chatbot CANT access Chat Memory History

Hi everyone,

I’m attaching my workflow scenario for context. I want to achieve a setup where the entire chat history is passed to the AI when generating responses.
Currently, every time I send a new message through the WhatsApp module, it starts a new conversation, ignoring the previous context of the chat. I want to change that so the AI can access and respond based on the full chat history. Any tips or guidance would be greatly appreciated!

Thanks!

Here is the workflow. Only the Chat Memory is important.

  • n8n version: 1.69.2
  • Database (default: SQLite): QLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own, main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): self-hosted in google cloud
  • Operating system: Windows10