⚡ Chat with OpenAI Assistant (by adding a memory)
⚡ 65,864 views · ⚡ Personal Productivity
Description
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.
🔗 Nodes Used
Simple Memory, Calculator, OpenAI Assistant, Chat Memory Manager, Chat Trigger
📥 Import
Download workflow.json and import into n8n:
Workflow menu → Import from File