AI Agents
Process Questions and Generate AI-Powered Responses Locally
14 nodes
419
216
Automatic trigger
Workflow Description
A workflow that receives user questions through a chat interface, processes them via an intelligent reasoning chain, and generates answers using Ollama, a local language model that keeps data private and eliminates cloud dependencies.
How it works
- 1.Receive incoming questions and requests through the chat trigger interface
- 2.Route user input through an LLM chain to analyze context and extract intent
- 3.Generate contextual responses using the local Ollama language model
- 4.Store conversation data and context in workflow variables for auditing and continuous improvement
Use cases
- Instantly answer customer inquiries without manual intervention or third-party API delays
- Build an internal AI assistant that runs entirely on local infrastructure for data security
- Automatically generate summaries and content suggestions based on user questions
Requirements
- Install and run Ollama locally to power the language model inference
- Configure the chat trigger to handle incoming messages and define response structure
- Deploy a language model supported by Ollama such as Llama or Mistral
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Chat Trigger
LLM Chain
Lm Ollama
Details
Trigger
Automatic trigger
Nodes
14
Apps
3
Views
419
Downloads
216
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 (14)
/
When chat message received
Chat Trigger
Basic LLM Chain
LLM Chain
Ollama Model
Lm Ollama
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Structured Response
Set
Error Response
Set
Sticky Note7
Sticky Note
JSON to Object
Set