Give Your n8n AI Agent Memory (Postgres Chat Memory, Step by Step)
Your n8n agent forgets every message because the model is stateless. Add Postgres Chat Memory, set a per-user Session Key, and tune Context Window Length to keep conversations coherent without blowing your token budget.
