Mindket

Chat with a model running on your own Ollama

Newversion 1 · updated

Overview

An n8n workflow with a chat window. Each message goes through a Basic LLM Chain to a model served by Ollama on your own machine, and the answer comes back in the same window.

Chat with a model running on your own Ollama is an n8n workflow in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.

At a glance

Runs in
  • n8n on your own computer: the simplest case, with Ollama on the same machine
  • An n8n server: point the credential at the machine that runs Ollama
  • Docker: start the n8n container so it can reach the host’s network, as the workflow’s own note says
  • A public chat page: turn on the Chat Trigger’s public option and add authentication first

Platform

Connects 1 app

How it works

Trigger

Chat message

It starts when you send a message in n8n’s chat:

  • The message you type

Actions

  1. The message is handed to a Basic LLM Chain as one user message, with no system message and no memory
  2. The Ollama Chat Model sends it to the Ollama address in your credential, asking for llama3.2 unless you pick another model
  3. The model writes its answer and the chain returns it as text

Result

The model’s answer appears in the same chat window

Integrations

What you need before you start.

Ollama

Local language model

Runs the chat model on your own machine and answers each message.

NeedsAn Ollama that n8n can reach, with a model pulled

Workflow check

Checked by Mindket on 13 Nov 2026

Steps
2 steps, starting on a chat message
AI
1 step calls an AI model: Chat LLM Chain
Sign-ins
Signs in to: Ollama
API keys
No API key is left in the file
Step types
Mindket’s checker reads all 2 of its step types

Read from the workflow’s file, not from a run.

About

What it is

This n8n workflow puts a chat window in front of a model that runs on your own computer. You type a message in n8n’s chat, a Basic LLM Chain passes it to Ollama, and the model’s answer comes back to the same window. The file names no model, so the Ollama node asks for llama3.2 unless you pick another. No cloud AI provider takes part. Three nodes do the work, beside two sticky notes that explain the flow and the Ollama address.

Who it suits

Developers, tinkerers and privacy-minded teams who already run Ollama and want a quick chat front end inside n8n. Skip it if you need the model to remember the conversation or to use tools. As imported, each message is answered alone.

Who uses it, and how
IndustryWho uses itHow they use itExample
SoftwareDevelopersTry a new local model on real prompts before they build on itA developer pulls a new model and sends the same five test questions to compare answers.
ConsultingPrivacy-minded staffTidy and rewrite text on a machine where client notes never leave the officeA consultant cleans up meeting notes on the office server.
EducationTeachers and studentsPractice prompt wording with no account and no feeA class tries different phrasings on a laptop model during a lesson.
Home labsHobbyistsChat from the browser with a model on a spare machineA hobbyist asks the model on a home server to explain a log file.

You need a little n8n and a working Ollama: import a file, add one credential and pick a model.

Where to use it

Any n8n that can reach your Ollama will run it. The chat opens inside the n8n editor, so plan where people will use it.

  • n8n on your own computer: the simplest case, with Ollama on the same machine
  • An n8n server: point the credential at the machine that runs Ollama
  • Docker: start the n8n container so it can reach the host’s network, as the workflow’s own note says
  • A public chat page: turn on the Chat Trigger’s public option and add authentication first

Setup

Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Install Ollama and pull a model first.

What you need first
NeedDetail
n8nOn n8n Cloud or on a server of your own, with a network path to Ollama
OllamaInstalled and running, with at least one model pulled
A modelThe node asks for llama3.2 unless you pick another
  1. In n8n, create a workflow, open its menu, choose Import from File and pick workflow.json.
  2. Open Ollama Chat Model and create an Ollama credential. Its Base URL starts as http://localhost:11434. Change it if Ollama runs on another machine.
  3. In the same node, pick one of your models in Model.
  4. If n8n runs in Docker, start the container so it can reach the host’s network. The workflow’s note suggests the --net=host option.
  5. Save, open the chat from the button at the bottom of the canvas and send a message.

How to use it

Open the chat and send a message. The answer appears in the window when the model finishes. Each message is answered on its own, so paste in anything the model needs to know.

What to change for a different result
To changeWhere
The modelModel in Ollama Chat Model
Temperature, context length and keep aliveAdd Option in the same node, which start at 0.7, 2,048 tokens and 5 minutes
A system messageChat Messages in Chat LLM Chain
Who can chatMake Chat Publicly Available in When chat message received

Example

A developer has pulled llama3.2 on a laptop and wants to see how it handles a support email. They open the chat and paste the email, with the line Reply in two friendly sentences above it.

The chain sends that text to Ollama as one user message. The reply appears in the window as plain text. A second message reaches the model without the first, so the model cannot refer back to the email.

For newcomers and experts

If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. Here a chat trigger feeds a chain, and the model node plugs into the chain from below. Send one message, then open the run to see what each node passed on.

For experts. The chain reads chatInput from the connected Chat Trigger and has no memory input.

Where to look closer
NodeWhat it doesWhat to know
When chat message receivedChat Trigger 1.1 with no options setNot public, and it answers when the last node finishes
Chat LLM ChainBasic LLM Chain 1.4 with no parameters setSends chatInput as one user message, with no system message
Ollama Chat ModelOllama chat model, version 1The file names no model, so the node asks for its default, llama3.2

Good to know

Everything stays on your own machine unless you point the credential somewhere else.

  • Memory: none is connected, and a Basic LLM Chain has no memory input. For a conversation, swap in an AI Agent with a Simple Memory node
  • Context: the node’s context length starts at 2,048 tokens. Raise it under Add Option if your messages are long
  • Slow starts: Keep Alive starts at 5 minutes, after which Ollama can unload the model, so the first answer after a pause is slower
  • Hardware: speed and quality depend on the model and your machine. There is no fee for each message
  • Docker: a container cannot see your computer’s own localhost unless it shares the host’s network
  • Not public: the chat opens only inside the n8n editor until you turn on Make Chat Publicly Available
  • Your data: messages go only to the Ollama address in the credential
  • Credentials: the JSON holds none

README and files

README

Chat with a model running on your own Ollama

An n8n workflow with a chat window. You type a message, a Basic LLM Chain sends it to a model served by Ollama on your own
machine, and the answer comes back in the same window. No cloud AI provider is involved.

What is inside

  • workflow.json: the workflow as n8n exports it, five nodes, two of them sticky notes (one explains the flow, one the Ollama
    address). It holds no credential.
  • README.md: these notes.

What we changed from the original copy

  • The Ollama Chat Model was linked to a credential in its author's n8n. The link is gone, so add your own.
  • Nothing else. The file has no Code node and no expression.

Before you start

  • An n8n instance that can reach your Ollama over the network, on your own computer or a server.
  • Ollama installed and running, with at least one model pulled. The file names no model, so the node uses its own default,
    llama3.2.

Set it up

  1. In n8n, create a workflow, open its menu and choose Import from File. Pick workflow.json.
  2. Open Ollama Chat Model. Under Credential to connect with, create an Ollama credential. Its Base URL starts as
    http://localhost:11434, the address Ollama listens on. Change it if Ollama runs on another machine.
  3. If n8n runs in a Docker container, the container has to reach the host's network. The workflow's own note says to start it
    with the --net=host option.
  4. In the same node, pick one of your models in Model. Without a choice the node asks Ollama for llama3.2.
  5. Save, open the chat from the button at the bottom of the canvas and send a message.

How a run goes

  1. When chat message received (Chat Trigger 1.1) takes the message you type. Its Make Chat Publicly Available switch is off,
    so the chat opens only inside the n8n editor.
  2. Chat LLM Chain (Basic LLM Chain 1.4) takes the prompt from the connected Chat Trigger, its chatInput field, and sends
    it as one user message. It has no system message and no memory.
  3. Ollama Chat Model carries the request to the Ollama address in its credential. The model's answer returns as text, and
    the chat window shows it.

Change the look

  • The model: Model in Ollama Chat Model. Add Option there for temperature (0.7 as it stands), Context Length (2,048 tokens)
    and Keep Alive (5 minutes).
  • A voice for the model: open Chat LLM Chain and add a System message under Chat Messages.
  • Memory: a Basic LLM Chain has no memory input. To make it remember earlier messages, swap it for an AI Agent and connect a
    Simple Memory node.
  • Who can chat: turn on Make Chat Publicly Available in the Chat Trigger, then add authentication before you share the
    address.

Good to know

  • Each message is answered on its own. Nothing connects the second message to the first.
  • The node's context length starts at 2,048 tokens. Raise it under Add Option if your messages are long.
  • The node's Keep Alive is 5 minutes: after that Ollama can unload the model, so the first answer after a pause is slower.
  • Speed and quality come from your model and your hardware. There is no per-message fee.
  • Your messages go only to the Ollama address in the credential. That stays on your machine unless you point it at a server.
Files
NOTICE.md  614 B
README.md  3 KB
workflow.json  3 KB

3 files, 7 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k