AI Agents

Trigger intelligent workflow via chat and language processing

14 nodes 226 112 Automatic trigger
Download

Workflow Description

An automation workflow activated by user chat interactions, where input is passed through an advanced language model chain (LLM Chain) for intelligent processing and analysis, then executed via the Ollama local engine to deliver final results. Includes variable tracking for transparency.

How it works

  1. 1.Activate workflow when user sends a chat message
  2. 2.Route input through natural language processing chain
  3. 3.Process query using local Ollama model engine
  4. 4.Log intermediate variables and results for audit trail

Use cases

  • Build an intelligent assistant that answers employee questions based on company-specific context and policies
  • Automatically classify and route customer inquiries without relying on external cloud services

Requirements

  • Ollama engine installed and running on local server infrastructure
  • Basic understanding of language chain construction and workflow variable management

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 226
Downloads 112

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

/

When chat message received

Chat Trigger

#1

Basic LLM Chain

LLM Chain

#2

Ollama Model

Lm Ollama

#3

Sticky Note

Sticky Note

#4

Sticky Note1

Sticky Note

#5

Sticky Note2

Sticky Note

#6

Sticky Note3

Sticky Note

#7

Sticky Note4

Sticky Note

#8

Sticky Note5

Sticky Note

#9

Sticky Note6

Sticky Note

#10

Structured Response

Set

#11

Error Response

Set

#12

Sticky Note7

Sticky Note

#13

JSON to Object

Set

#14