AutomationFlowsAI & RAG › Chat with Local LLMs Using Ollama

Chat with Local LLMs Using Ollama

Original n8n title: Chat with Local Llms Using N8n and Ollama (chat Trigger)

ByMihai Farcas @mihailtd on n8n.io

This n8n workflow allows you to seamlessly interact with your self-hosted Large Language Models (LLMs) through a user-friendly chat interface. By connecting to Ollama, a powerful tool for managing local LLMs, you can send prompts and receive AI-generated responses directly…

Chat trigger trigger★★☆☆☆ complexityAI-powered5 nodesChat TriggerOllama ChatChain Llm
AI & RAG Trigger: Chat trigger Nodes: 5 Complexity: ★★☆☆☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #2384 — we link there as the canonical source.

This workflow follows the Chainllm → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json

  

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This n8n workflow allows you to seamlessly interact with your self-hosted Large Language Models (LLMs) through a user-friendly chat interface. By connecting to Ollama, a powerful tool for managing local LLMs, you can send prompts and receive AI-generated responses directly…

Source: https://n8n.io/workflows/2384/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow shows how to use a self-hosted Large Language Model (LLM) with n8n's LangChain integration to extract personal information from user input. This is particularly useful for enterprise env

Chat Trigger, Ollama Chat, Output Parser Autofixing +2
AI & RAG

Chat with local LLMs using n8n and Ollama. Uses chatTrigger, lmChatOllama, stickyNote, chainLlm. Chat trigger; 5 nodes.

Chat Trigger, Ollama Chat, Chain Llm
AI & RAG

Open WebUI Agent with Web Search. Uses memoryPostgresChat, chatTrigger, agent, executeWorkflowTrigger. Chat trigger; 22 nodes.

Memory Postgres Chat, Chat Trigger, Agent +5
AI & RAG

Becomex v2. Uses chatTrigger, lmChatOllama, agent, toolWorkflow. Chat trigger; 17 nodes.

Chat Trigger, Ollama Chat, Agent +9
AI & RAG

🐋DeepSeek V3 Chat & R1 Reasoning Quick Start. Uses chatTrigger, agent, lmChatOpenAi, memoryBufferWindow. Chat trigger; 15 nodes.

Chat Trigger, Agent, OpenAI Chat +4