Chat with OpenAI Assistant (by adding a memory)
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 4 nodes and runs when a chat message arrives. Along the way it connects OpenAI.
How it runs
Trigger: When a chat message arrives.
- OpenAI: work with assistant, with 1 tool (Calculator); memory: Simple Memory
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI
@n8n/n8n-nodes-langchain.openAi - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger
From the author
OpenAI Assistant is a powerful tool, but at the time of writing it doesn't automatically remember past messages from a conversation. This workflow demonstrates how to get around this, by managing the chat history in n8n and passing it to the assistant when…