My AI Agent forgets previous messages even though I'm using Simple Memory I'm using: Chat Trigger AI Agent OpenAI Chat Model Simple Memory

AI Agent forgets previous messages even though I’m using Simple Memory

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Modokpeaye_Faulkner, while you wait for a response, here are some things that might help:

Suggested resources

Automatically matched to your question.

Docs:

Forum:

@AlvLeoAI, @gualter, @Gallo_AIA - you’ve helped with similar issues before, can you take a look?

Automatically suggested by n8n’s community bot. It’s a pilot - please share feedback here.

Simple Memory only stores conversation history during the current session. If the session changes or the chat is refreshed, the memory is reset.

Check that your Chat Trigger is consistently sending the same Session ID. If each request generates a new session, the AI Agent treats it as a new conversation.

For long-term conversations, use persistent memory backed by a database or another storage solution instead of Simple Memory.

A good first debugging step is to log the incoming Session ID and verify it remains the same across requests.

Yeah, I’ll look into it

I got a reply from another user and it’s solved what I was asking for, thanks