n8n

🔐🦙Private & Local Ollama Self-Hosted + Dynamic LLM Router

Who is this for? This workflow template is designed for AI enthusiasts, developers, and privacy-conscious users who want to leverage the power of local large language models (LLMs) without…

Use case
Engineering
Difficulty
beginner
Author
Joseph LePage
Updated
Jun 7, 2026

Required custom nodes

  • agent
  • lmChatOllama
  • memoryBufferWindow
  • chatTrigger

🔐🦙Private & Local Ollama Self-Hosted + Dynamic LLM Router

A working n8n automation that runs against a local model via Ollama - 11,663 views on the n8n template library. Who is this for? This workflow template is designed for AI enthusiasts, developers, and privacy-conscious users who want to leverage the power of local large language models (LLMs) without…

What it does

Who is this for? This workflow template is designed for AI enthusiasts, developers, and privacy-conscious users who want to leverage the power of local large language models (LLMs) without… It chains 5 nodes, integrating agent, lmChatOllama, memoryBufferWindow, 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 Joseph LePage on the n8n template library. We link to the original to import; credit and the workflow JSON belong to its author.