n8n

Chat with local LLMs using n8n and Ollama

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…

Use case
Engineering
Difficulty
beginner
Author
Mihai Farcas
Updated
Jun 7, 2026

Required custom nodes

  • chainLlm
  • lmChatOllama
  • chatTrigger

Chat with local LLMs using n8n and Ollama

A working n8n automation that runs against a local model via Ollama - 77,672 views on the n8n template library. 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…

What it does

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… It chains 4 nodes, integrating chainLlm, lmChatOllama, chatTrigger.

Requirements

  • n8n (self-hosted, free) to run the workflow
  • Ollama serving a local model
  • A GPU with enough VRAM for your chosen model (see best model per GPU)

Import it

Open the workflow on the n8n template library and click Use workflow to import it into your self-hosted n8n, then point its model node at your local Ollama endpoint (http://localhost:11434).

Use it with

n8n · Ollama


Workflow by Mihai Farcas on the n8n template library. We link to the original to import; credit and the workflow JSON belong to its author.