Automated workflow
Workflow Description
An intelligent workflow that responds to user messages through live chat, processes them with a local language model (Ollama), and routes them to a smart agent that learns from retained conversation history to deliver increasingly accurate and contextual responses.
How it works
- 1.Receive user messages via chat trigger
- 2.Process text using Ollama language model
- 3.Route data to intelligent agent for analysis and response generation
- 4.Store conversation context and previous responses in memory buffer
- 5.Generate personalized reply based on accumulated learning
Use cases
- Automated customer support that improves with each interaction
- Smart assistant maintaining long conversation context
- Complex query analysis with customized solution delivery
Requirements
- Functional Ollama server installed and running locally
- Stable internet connection for uninterrupted conversation flow
- Processor capable of handling concurrent operations
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
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 (16)
When chat message received
Chat Trigger
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Ollama Dynamic LLM
Lm Chat Ollama
LLM Router
Agent
AI Agent with Dynamic LLM
Agent
Ollama phi4
Lm Chat Ollama
Router Chat Memory
Memory Buffer Window
Agent Chat Memory
Memory Buffer Window
Sticky Note7
Sticky Note
Sticky Note4
Sticky Note
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note
Sticky Note5
Sticky Note