Chat with OpenAI Assistant by Adding a Memory - n8n Workflow | Neura Market
Chat with OpenAI Assistant by Adding a Memory
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 required.
This makes it possible to use OpenAI Assistant for chatbot use cases.
Note that to use this template, you need to be on n8n version 1.28.0 or later.
Platform
n8n
Category
AI
Price
Free
Creator
David Roberts
set
limit
aggregate
stickyNote
chatTrigger
memoryManager
toolCalculator
openAiAssistant
memoryBufferWindow
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.