
Curated by n8n Markets team
Last updated: March 8, 2026
## 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 managing local LLMs, you can send prompts and receive AI-generated responses directly within n8n. ### Use cases * Private AI Interactions Ideal for scenarios where data privacy and confidentiality are important. * Cost-Effective LLM Usage Avoid ongoing cloud API costs by running models on your own hardware. * Experimentation & Learning A great way to explore and experiment with different LLMs in a local, controlled environment. * Prototyping & Development Build and test AI-powered applications without relying on external services. ### How it works 1. When chat message received: Captures the user's input from the chat interface. 2. Chat LLM Chain: Sends the input to the Ollama server and receives the AI-generated response. 3. Delivers the LLM's response back to the chat interface. ### Set up steps * Make sure Ollama is installed and running on your machine before executing this workflow. * Edit the Ollama address if different from the default.
n8n instance (self-hosted or cloud). credentials.
1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation
Included in Builder Pro — $19/mo, 4,177 premium workflows
Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.
100% Secure Checkout
Refund requests within 7 days of a new subscription
0 reviews
No reviews yet.
Log in to ask a question.
No questions yet. Be the first to ask!