AI Agents
Build a Smart Chat Agent with Local Language Models
5 nodes
247
121
Automatic trigger
Workflow Description
An automation that creates an intelligent conversational agent powered by locally-hosted language models through Ollama, enabling companies to deploy private AI solutions without relying on third-party services.
How it works
- 1.Activate chat trigger to receive incoming user messages
- 2.Process messages through a local language model running on Ollama
- 3.Apply LLM Chain to maintain conversation context and coherence
- 4.Send intelligent responses back to users in real time
Use cases
- Self-service customer support operating entirely on local infrastructure
- Internal employee assistant with custom, secure language models
Requirements
- Local server running Ollama with a language model such as Llama or Mistral
- Secure n8n chat channel for user interaction and message handling
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Chat Trigger
Lm Chat Ollama
LLM Chain
Details
Trigger
Automatic trigger
Nodes
5
Apps
3
Views
247
Downloads
121
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (5)
When chat message received
Chat Trigger
Ollama Chat Model
Lm Chat Ollama
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Chat LLM Chain
LLM Chain