AcademyWorkflowsDevelopment

Chat with OpenAI Assistant by adding a memory

Teams building chatbots on OpenAI Assistants who need the assistant to keep the context of a conversation.

  • Recommendedour rating
  • 60,367views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

chat-with-openai-assistant-by-adding-a-memory.json

Loading the file...

What it does

An n8n workflow that adds conversation memory to an OpenAI Assistant, which does not remember past messages on its own. n8n stores the chat history and passes it to the assistant when needed, so the assistant can be used for chatbot cases. It needs n8n version 1.28.0 or later.

Use cases

  1. 01Give an OpenAI Assistant memory across messages
  2. 02Build a chatbot that follows a long conversation
  3. 03Test chat history handling in n8n

Connects

Simple Memory · Calculator · OpenAI Assistant · Chat Memory Manager

Questions about
Chat with OpenAI Assistant by adding a memory.

What is Chat with OpenAI Assistant by adding a memory used for?

Teams building chatbots on OpenAI Assistants who need the assistant to keep the context of a conversation. An n8n workflow that adds conversation memory to an OpenAI Assistant, which does not remember past messages on its own. n8n stores the chat history and passes it to the assistant when needed, so the assistant can be used for chatbot cases. It needs n8n version 1.28.0 or later.

How do I import Chat with OpenAI Assistant by adding a memory into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Chat with OpenAI Assistant by adding a memory safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.