AcademyWorkflowsProductivity

AI agent chat

Teams that use n8n and want a simple chat agent with web search as a starting point for their own automations.

  • Recommendedour rating
  • 780,399views on n8n
Open on n8n.io ↗

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

ai-agent-chat.json

Loading the file...

AI automation

Want this workflow running in your company?

A template is the start. We adapt automations like this to your tools, handle the exceptions, and test and monitor them so they hold up under real load.

  • Free 20-minute call to look at your process
  • Connected to the tools you already use
  • Tested, monitored and documented

What it does

An n8n workflow template that sets up a conversational agent. It uses an OpenAI chat model, can search Google through SerpApi, and keeps a short memory of the conversation. You start it from a manual chat trigger inside n8n.

Use cases

  1. 01Ask questions that need a live web search
  2. 02Test a chat agent before building a larger flow
  3. 03Keep context across several messages in one chat

Connects

AI Agent · OpenAI Chat Model · Simple Memory · SerpApi (Google Search)

Questions about
AI agent chat.

What is AI agent chat used for?

Teams that use n8n and want a simple chat agent with web search as a starting point for their own automations. An n8n workflow template that sets up a conversational agent. It uses an OpenAI chat model, can search Google through SerpApi, and keeps a short memory of the conversation. You start it from a manual chat trigger inside n8n.

How do I import AI agent chat 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 AI agent chat 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.