Chat with Local LLMs using n8n and Ollama
detail.loadingPreview
Interact with self-hosted Large Language Models (LLMs) via a chat interface in n8n.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow enables seamless interaction with your self-hosted Large Language Models (LLMs) through a user-friendly chat interface. It connects to Ollama, a tool for managing local LLMs, allowing you to send prompts and receive AI-generated responses directly within n8n.
Key Features
- Integrates with Ollama for local LLM access.
- Provides a chat interface for prompt input and response output.
- Leverages n8n's automation capabilities.
How To Use
- Ensure Ollama is installed and running on your machine.
- Import this workflow into your n8n instance.
- Configure the Ollama connection, updating the address if it differs from the default.
- If running n8n in Docker, ensure the container has host network access (
--net=host) to connect to Ollama.
Apps Used
Workflow JSON
{
"id": "e99f3b45-da79-4f7a-b426-a66ddee2d583",
"name": "Chat with Local LLMs using n8n and Ollama",
"nodes": 0,
"category": "AI / Machine Learning",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: e99f3b45-da79...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Dynamically Switch Between LLMs
Switch between different LLM models dynamically based on conditions.
LangChain Example: Workflow Retriever
Retrieve information from a specific n8n workflow using LangChain.
AI-Powered Conversational Agent with Tools
Build a conversational AI agent that leverages tools like SerpAPI and Wikipedia to answer user prompts.
Proxmox AI Agent Template
Automate Proxmox tasks using an AI agent powered by Google Gemini.
Chat with GitHub OpenAPI Spec using RAG
Chat with the GitHub API documentation using Retrieval Augmented Generation (RAG) with Pinecone and OpenAI.
Gemini Object Detection Bounding Boxes
Detect objects in an image using Gemini and draw bounding boxes.