Local Ollama Self-Hosted AI Assistant

n8n AI Dev Ops Productivity

Contributed by Sabrina Ramonov 🍄. From the community directory at agents.sabrina.dev, republished with permission and full credit.

Transform your local N8N instance into a powerful chat interface using any local & private Ollama model, with zero cloud dependencies . This workflow creates a structured chat experience that processes messages locally through a language model chain and returns formatted responses .

How it works

Chat messages trigger the workflow

Messages are processed through Llama 3.2 via Ollama (or any other Ollama compatible model)

Responses are formatted as structured JSON

Error handling ensures robust operation

Set up steps

Install N8N and Ollama

Download Ollama 3.2 model (or other model)

Configure Ollama API credentials

Import and activate workflow

This template provides a foundation for building AI-powered chat applications while maintaining full control over your data and infrastructure .

Tools used: Ollama

Download the workflow template (JSON)

Original tutorial

Want this running in your business? KOBA42 builds and operates automations like this one.