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…
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.
Chat message
It starts when you send a message in n8n’s chat:
The model’s answer appears in the same chat window
What you need before you start.
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
Checked by Mindket on 13 Nov 2026
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.
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.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Developers | Try a new local model on real prompts before they build on it | A developer pulls a new model and sends the same five test questions to compare answers. |
| Consulting | Privacy-minded staff | Tidy and rewrite text on a machine where client notes never leave the office | A consultant cleans up meeting notes on the office server. |
| Education | Teachers and students | Practice prompt wording with no account and no fee | A class tries different phrasings on a laptop model during a lesson. |
| Home labs | Hobbyists | Chat from the browser with a model on a spare machine | A 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.
Any n8n that can reach your Ollama will run it. The chat opens inside the n8n editor, so plan where people will use it.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Install Ollama and pull a model first.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own, with a network path to Ollama |
| Ollama | Installed and running, with at least one model pulled |
| A model | The node asks for llama3.2 unless you pick another |
workflow.json.Ollama Chat Model and create an Ollama credential. Its Base URL starts as http://localhost:11434. Change it if Ollama runs on another machine.--net=host option.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.
| To change | Where |
|---|---|
| The model | Model in Ollama Chat Model |
| Temperature, context length and keep alive | Add Option in the same node, which start at 0.7, 2,048 tokens and 5 minutes |
| A system message | Chat Messages in Chat LLM Chain |
| Who can chat | Make Chat Publicly Available in When chat message received |
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.
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.
| Node | What it does | What to know |
|---|---|---|
When chat message received | Chat Trigger 1.1 with no options set | Not public, and it answers when the last node finishes |
Chat LLM Chain | Basic LLM Chain 1.4 with no parameters set | Sends chatInput as one user message, with no system message |
Ollama Chat Model | Ollama chat model, version 1 | The file names no model, so the node asks for its default, llama3.2 |
Everything stays on your own machine unless you point the credential somewhere else.
localhost unless it shares the host’s networkAn 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.
workflow.json: the workflow as n8n exports it, five nodes, two of them sticky notes (one explains the flow, one the OllamaREADME.md: these notes.llama3.2.workflow.json.Ollama Chat Model. Under Credential to connect with, create an Ollama credential. Its Base URL starts ashttp://localhost:11434, the address Ollama listens on. Change it if Ollama runs on another machine.--net=host option.llama3.2.When chat message received (Chat Trigger 1.1) takes the message you type. Its Make Chat Publicly Available switch is off,Chat LLM Chain (Basic LLM Chain 1.4) takes the prompt from the connected Chat Trigger, its chatInput field, and sendsOllama Chat Model carries the request to the Ollama address in its credential. The model's answer returns as text, andOllama Chat Model. Add Option there for temperature (0.7 as it stands), Context Length (2,048 tokens)Chat LLM Chain and add a System message under Chat Messages.NOTICE.md 614 B README.md 3 KB workflow.json 3 KB
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…
Qwen · Kit
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…
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…
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…
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…
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.