🗨️Ollama Chat

🦙 Ollama Chat Workflow A simple N8N workflow that integrates Ollama LLM for chat message processing and returns a structured JSON object. Overview This workflow creates a chat interface that processes messages using the Llama 3.2 model through Ollama. When a chat message is received, it gets processed through a basic LLM chain and returns a response. Components - Trigger Node - Processing Node - Model Node - JSON to Object Node - Structured Response Node - Error Response Node Workflow Struct

Integrations Used (3)

Workflow Structure (6 nodes)
100%
Langchain.chat Trigger
When chat message received
Langchain.chain Llm
Basic LLM Chain
Set
JSON to Object
Set
Structured Response
Langchain.lm Ollama
Ollama Model
Set
Error Response
Node Types:
trigger
default
transform
Requires credentials

Prerequisites

Required Credentials (1)

Ollama

Used by: Ollama Model

Docs

Complexity

Simple

Great for beginners. Few nodes, straightforward setup.

Setup time: ~15 min
Score: 15/100

When to Use This Workflow

AI-Powered Content Creation

Automate content generation, summarization, or analysis using AI capabilities.

Save hours of manual work while maintaining quality and consistency.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "Telr6HU0ltH7s9f7",
  "meta": {
    "instanceId": "31e69f7f4a77bf465b805824e303232f0227212ae922d12133a0f96ffeab4fef"
  },
  "name": "🗨️Ollama Chat",
  "tags": [],
  "nodes": [
    {
      "id": "9560e89b-ea08-49dc-924e-ec8b83477340",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        280,
        60
      ],
      "webhookId": "4d06a912-2920-489c-a33c-0e3ea0b66745",
      "parameters": {
        "options": {}
      },
...

Workflow Details

Nodes
14
Trigger
Event
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Open Deep Research - AI-Powered Autonomous Research Workflow

SerpAPI Setup Instructions 1. Obtain your API key from https://serpapi.com/manage-api-key. 2. Save your API key securely...

Chat
Chainllm
Lmchatopenrouter
Http-request
17 nodesEvent
Curated

Chat with local LLMs using n8n and Ollama

Chat with local LLMs using n8n and Ollama This n8n workflow allows you to seamlessly interact with your self-hosted Larg...

Chat
Lmchatollama
Chainllm
5 nodesEvent
Curated

Detect hallucinations using specialised Ollama model bespoke-minicheck

Build a summary This is useful to run it in an agentic workflow. You may remove the summary part and return the raw arra...

Chainllm
Lmchatollama
Executeworkflow
Lmollama
18 nodesEvent
Curated

Extract personal data with a self-hosted LLM Mistral NeMo

Update data source When you change the data source, remember to update the Prompt Source (User Message) setting in the B...

Chat
Lmchatollama
Outputparserautofixing
Outputparserstructured
13 nodesEvent
Curated

🐋DeepSeek V3 Chat & R1 Reasoning Quick Start

DeepSeek using HTTP Request DeepSeek Reasoner R1 https://api-docs.deepseek.com/ Raw Body

Chat
Agent
Lmchatopenai
Memorybufferwindow
15 nodesEvent
Curated

Testing Mulitple Local LLM with LM Studio

🧠Text Analysis Readability Score Ranges: When testing model responses, readability scores can range across different l...

Http-request
Chat
Lmchatopenai
Google-sheets
21 nodesEvent
Curated