AI Agents

Process Questions and Generate AI-Powered Responses Locally

14 nodes 419 216 Automatic trigger
Download

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. 1.Receive incoming questions and requests through the chat trigger interface
  2. 2.Route user input through an LLM chain to analyze context and extract intent
  3. 3.Generate contextual responses using the local Ollama language model
  4. 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. 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