AI Agents

Automated workflow

16 nodes 200 126 Automatic trigger
Download

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. 1.Receive user messages via chat trigger
  2. 2.Process text using Ollama language model
  3. 3.Route data to intelligent agent for analysis and response generation
  4. 4.Store conversation context and previous responses in memory buffer
  5. 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

Chat Trigger Lm Chat Ollama AI Agent Memory

Details

Trigger Automatic trigger
Nodes 16
Apps 4
Views 200
Downloads 126

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 (16)

/

When chat message received

Chat Trigger

#1

Sticky Note

Sticky Note

#2

Sticky Note1

Sticky Note

#3

Sticky Note2

Sticky Note

#4

Sticky Note3

Sticky Note

#5

Ollama Dynamic LLM

Lm Chat Ollama

#6

LLM Router

Agent

#7

AI Agent with Dynamic LLM

Agent

#8

Ollama phi4

Lm Chat Ollama

#9

Router Chat Memory

Memory Buffer Window

#10

Agent Chat Memory

Memory Buffer Window

#11

Sticky Note7

Sticky Note

#12

Sticky Note4

Sticky Note

#13

Sticky Note8

Sticky Note

#14

Sticky Note9

Sticky Note

#15

Sticky Note5

Sticky Note

#16