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. An OpenAI model answers your questions and, when it needs fresh facts, runs a Google search through SerpApi, with the last five messages kept as its memory.
Chat assistant that searches Google through SerpApi 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, such as a question like:
A reply in the chat that answers your question, drawn from Google results when the agent searched
What you need before you start.
Language model
Runs gpt-4o-mini as the agent that talks to you and decides when to search.
NeedsOpenAI API key
Web search
Runs the Google search the agent asks for and returns the results.
NeedsSerpApi API key
Checked by Mindket on 13 Nov 2026
This n8n workflow is a chat assistant that can look things up on Google. You type a question, and an OpenAI model decides whether it can answer from what it knows or should run a search first. A SerpApi tool does the search, and the model writes the answer from the results. A short memory keeps the last five messages, so a follow-up such as “and in Spain?” makes sense. Five nodes run it. There are no sticky notes.
People who want a small chat that can answer questions about recent events, prices or other facts a model does not carry. It is also the shortest working example of an n8n agent with a tool and a memory, so it suits anyone learning those pieces. Skip it if you need answers from your own documents. Its one tool is a Google search.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Marketing | Content writers | Check a recent fact before they publish it | A writer asks what a competitor announced this week and gets an answer drawn from the results. |
| Customer support | Support agents | Look up a public detail during a live chat | An agent asks for the opening hours of a partner’s shop. |
| Software | Developers learning agents | Start from five nodes and add tools of their own | A developer plugs a calculator in beside the search. |
| Education | Tutors | Pull a current figure into a lesson | A tutor asks for today’s exchange rate before a maths class. |
You need almost no n8n: import a file and add two credentials.
Any n8n that can reach OpenAI and SerpApi will run it. You talk to it in n8n’s own chat panel.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Two credentials cover every step.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| OpenAI | An API key |
| SerpApi | An account and its API key |
workflow.json.OpenAI Chat Model.SerpAPI.Open the chat and ask. “Who won last night’s match?” makes the agent search, because a model cannot know. “Explain what a webhook is” it can answer alone. Ask a follow-up to see the memory at work. The agent decides on each message whether to search.
| To change | Where |
|---|---|
| What the assistant is for | A system message under the options of AI Agent, empty here |
| Where and how it searches | The Options list of SerpAPI, empty here |
| The model | OpenAI Chat Model, which sets gpt-4o-mini |
| How much it remembers | The context window length in Window Buffer Memory, 5 by default |
| What else it can do | More tools plugged into AI Agent |
A writer drafts a note on a competitor’s launch and asks the chat what was announced this week. The agent runs a Google search through SerpApi and answers from the results. The writer then asks how it compares with their own product, and the memory keeps the thread. It works.
An answer is only as good as the results the model reads. Open the pages before you quote a figure, because the model can misread a snippet or pick an old page.
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 three small boxes plugged into it: a model, a memory and a search tool. Ask something that needs today’s news. Then ask something that needs none, and see which one makes it search.
For experts. The agent is the Tools agent on version 1.6, so the model chooses whether to call the tool, and the prompt is read from the trigger’s chatInput field.
| Node | What it does | What to know |
|---|---|---|
AI Agent | Tools agent with no system message set | n8n then sends “You are a helpful assistant”, and the agent stops after 10 tool rounds, the default limit |
SerpAPI | Google search tool with an empty options list | n8n’s source marks it deprecated and hidden from the node picker, and points to a verified community node |
Window Buffer Memory | Keeps the last five messages of each chat | It lives inside the n8n instance and does not work in queue mode |
When chat message received | Chat trigger, version 1.1 | Its public setting is off, so only n8n’s own panel opens the chat |
It sends your questions to two outside services, and its search tool is a deprecated node.
gpt-4o-mini. OpenAI’s deprecations page, read on 12 November 2026, gives 14 January 2027 as the shutdown of gpt-4o-mini-2024-07-18, with gpt-6-luna as the replacementAn n8n workflow with a chat. You type a question, and an OpenAI model either answers from what it knows or runs a Google
search through SerpApi first and answers from the results. A short memory holds the five latest messages.
workflow.json: the workflow as n8n exports it, 5 nodes and no sticky notes. It holds no credential.README.md: these notes.The file linked two accounts of its author, one for OpenAI and one for SerpApi, and it carried a webhook id for the chat.
Mindket's copy leaves all three out, so you add your own credentials, and n8n makes a new chat address when you import it.
Nothing else needed a repair. The nodes, their settings and their connections are as the original had them.
workflow.json.OpenAI Chat Model.SerpAPI.When chat message received passes each message you type to the agent. The trigger's public setting is off, so theAI Agent takes the message as its prompt. No system message is set, so n8n sends its default, "You are a helpfulSerpAPI, which searches GoogleOpenAI Chat Model writes the answer on gpt-4o-mini. Window Buffer Memory keeps the last five messages of the chat,AI Agent. It is empty here, and the model decidesSerpAPI, which is empty here. n8n offers Country, Device, Google Domainus, desktop, google.com and en as its defaults for them.OpenAI Chat Model. The node sets gpt-4o-mini and no other option.Window Buffer Memory, which is at its default of 5.AI Agent.gpt-4o-mini-2024-07-18, with gpt-6-luna asWindow Buffer Memory is temporary: n8n's source says it lives inside the instance and does not work in queue mode.NOTICE.md 548 B README.md 4 KB workflow.json 2 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…