AI Agents

Automated message processing and AI-powered response generation

14 nodes 322 202 Automatic trigger
Download

Workflow Description

An automated workflow that captures incoming messages through a chat interface and processes them via an advanced language chain powered by a locally-hosted AI model, generating intelligent contextual responses automatically without manual intervention.

How it works

  1. 1.Receive incoming message from user via chat trigger interface
  2. 2.Pass message content to the natural language processing chain
  3. 3.Process text and generate response using local language model
  4. 4.Store conversation context and data in workflow variables
  5. 5.Send auto-generated response back to the user

Use cases

  • Build an intelligent assistant for instant customer inquiry responses
  • Automate replies to recurring questions with personalized content
  • Handle high message volume efficiently without direct human involvement

Requirements

  • Active and operational chat trigger configured to receive messages
  • Locally-hosted language model via Ollama installed and running
  • Proper node connections established for seamless data flow

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 322
Downloads 202

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