šŸ”šŸ¦™šŸ¤– Private & Local Ollama Self-Hosted AI Assistant

Go to Workflow
45,130 views
Built by Joseph LePage Joseph LePage
Created on January 15, 2025

Description

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 šŸš€.

Nodes Used (2)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Ollama Model
@n8n/n8n-nodes-langchain.lmOllama