Skip to content
AI Agents

Build a Smart Chat Agent with Local Language Models

3 nodes 570 183 Automatic trigger
Download

Loading workflow…

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. 1.Activate chat trigger to receive incoming user messages
  2. 2.Process messages through a local language model running on Ollama
  3. 3.Apply LLM Chain to maintain conversation context and coherence
  4. 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 3
Apps 3
Views 570
Downloads 183

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (3)

When chat message received

Chat Trigger

#1

Ollama Chat Model

Lm Chat Ollama

#2

Sticky Note

Sticky Note

#3

Sticky Note1

Sticky Note

#4

Chat LLM Chain

LLM Chain

#5
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime