Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
An n8n workflow with a chat window and an AI Agent that remembers the conversation. Each message is read with the earlier ones, and the agent answers through an OpenAI model and can use a Calculator tool.
Chat agent with chat memory and a calculator is an n8n workflow in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
Chat message
It starts when you send a message in n8n’s chat:
An answer in the chat window that takes the earlier messages into account
What you need before you start.
Language model
Runs gpt-5.6-terra as the chat model behind the AI Agent.
NeedsOpenAI API key
Checked by Mindket on 13 Nov 2026
This n8n workflow is a chat agent with a memory. You type in n8n’s chat, and a memory node hands back the earlier messages. An AI Agent reads them with your new message, answers through an OpenAI chat model and can use a Calculator tool. The exchange is then stored for the next turn. Mindket’s copy swaps the retired OpenAI Assistant node for that agent and a model node. Ten working nodes run it, beside five sticky notes.
Builders who want a small chat agent that holds a conversation, and teams moving an older assistant flow off OpenAI’s retired Assistants API. Skip it if you need an assistant’s files or retrieval, which this copy does not reproduce.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Start a chat agent they can extend with more tools | A developer adds a lookup tool beside the Calculator and tests it in the chat. |
| Support | Team leads | Try a helper that keeps context before wiring it to a live channel | A lead checks that the agent keeps a customer’s name across five messages. |
| Education | Course builders | Show how chat memory works in n8n | A trainer tells the agent a name, then asks for it a few messages later. |
| Small business | Owners | Keep a private helper for quick sums | An owner asks for a quote total, then a discount on it. |
You need a little n8n: import a file, add an OpenAI credential and write the agent’s instructions.
Any n8n that can reach OpenAI will run it. The chat opens inside the n8n editor, and with Make Chat Publicly Available on it can also open from its own address.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. One OpenAI key covers the model.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| OpenAI | An API key with access to gpt-5.6-terra |
| Instructions | The text your assistant used to be given, if it had any |
workflow.json.OpenAI Chat Model and add an OpenAI credential with your key.AI Agent, choose Add Option, then System Message, and type the instructions the agent should follow.1234 * 5678 to see the Calculator work.Open the chat and talk to it. Each turn the workflow reads up to 20 earlier interactions from the memory node, adds your new message and sends the whole text to the model. The answer and your message are then stored.
| To change | Where |
|---|---|
| The model | Model in OpenAI Chat Model |
| The agent’s instructions | System Message in AI Agent |
| How much it remembers | Context Window Length in Window Buffer Memory, 20 as it stands |
| More tools | Connect other tool nodes to AI Agent, beside Calculator |
| Who can chat | Make Chat Publicly Available in Chat Trigger |
A shop owner types “My name is Dana and I sell tea.” The agent greets her. A few messages later she asks for the cost of 18 boxes at 23.5 each, less 10%, and then asks what her name was.
The agent works the sum with the Calculator and gives the total. It also answers with Dana, because the stored messages come back into every prompt. Edit Fields returns each answer as output for the chat window.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. Here the agent sits in the middle with its model and Calculator plugged in underneath. The boxes before and after it read and write the conversation. Send two messages, then open the run and read the prompt the agent received.
For experts. The history is pasted into the agent’s text by an expression, so the agent node itself has no memory attached.
| Node | What it does | What to know |
|---|---|---|
Chat Memory Manager | Reads the stored messages from Window Buffer Memory | Version 1 returns one item for each exchange, with human and ai |
Aggregate | Folds those items into one messages list | AI Agent builds its “Our Previous Conversation” from it |
AI Agent | Tools Agent 1.8 with OpenAI Chat Model and Calculator | promptType is define, with the text built by an expression |
Chat Memory Manager1 | Adds your message and the answer to the memory | Version 1 returns every stored message as an item |
Limit | Keeps one item | The chat then gets one answer, not one for each stored message |
The OpenAI Assistants API is gone, and this copy no longer uses it.
OpenAI Assistant node for an AI Agent with an OpenAI Chat Modelgpt-5.6-terra. The same page gives 11 December 2026 as the shutdown of gpt-5-mini, the model this node version picks when none is setSimple Memory lives in n8n’s own memory, which its node says does not suit queue mode, and its code clears a session after an hour without a messageundefinedAn n8n workflow with a chat window and an AI Agent that remembers the conversation. Each message is read together with the
earlier ones, the agent can use a Calculator tool, and its answer and your message are stored for the next turn.
workflow.json: the workflow as n8n exports it, ten working nodes and five sticky notes. It holds no credential.README.md: these notes.AI Agent (the Tools Agent, version 1.8) with anOpenAI Chat Model node (gpt-5.6-terra) and the same Calculator tool. The prompt it receives, with the earlier messagesEdit Fields read the answer from the old node's name. It now reads AI Agent.gpt-5.6-terra.workflow.json.OpenAI Chat Model and add an OpenAI credential with your key. Change the model there if you want another.AI Agent, and under Add Option choose System Message. Type what your assistant used to be told.1234 * 5678 to see the Calculator.Chat Trigger takes the message. Make Chat Publicly Available is on, and Load Previous Session is set to From Memory,Chat Memory Manager reads the stored messages from Window Buffer Memory. Aggregate puts them into one messagesAI Agent gets a text made of that history under "Our Previous Conversation" and the new message under "CurrentOpenAI Chat Model, and may call Calculator.Chat Memory Manager1 adds your message and the agent's answer to the memory.Limit keeps one item. Edit Fields sets output to the agent's answer, which the chat window shows.Window Buffer Memory (Simple Memory 1.1) keeps the last 20 interactions. Its key is the chat's session ID with 123 added.
OpenAI Chat Model.AI Agent.Window Buffer Memory, 20 as it stands.AI Agent, beside Calculator.Chat Trigger.OpenAI Assistant node and its assistant ID are not part of it.gpt-5-mini, which angpt-5.6-terra.Simple Memory stores in n8n's own memory. n8n's node says it does not suit queue mode or several main instances, and itsundefined for both sides.Chat Memory Manager1 is version 1, which returns every stored message as an item. Limit is there so the chat gets oneNOTICE.md 630 B README.md 4 KB workflow.json 8 KB
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
zarazhangrui · Skill
Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…
iptv-org · Kit
Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…