Back to comparisons
VideosWork smarter

n8n: build a chat agent with memory

Follow the chat-to-memory workflow, then check how earlier messages reach a follow-up request.

Watch on YouTube

From chat input to remembered context

n8n’s archived written lesson explicitly adapts this video. It connects Chat Trigger, AI Agent and a chat model, then adds Simple Memory. It also changes the system message and inspects agent logs. You need n8n access and credentials for your chosen model.

Try it today

Use the current Chat Trigger reference alongside the older lesson. Keep public access off during development. When loading previous sessions from memory, connect Chat Trigger and Agent to the same memory node.

Lesson exercise with fictional data: say “My project is Amber,” then ask its name. Repeat with memory attached; compare the conversation and logs.