OpenRuna
Sign in
← Workflows

Chat with local LLMs using n8n and Ollama

5 nodes · chat, lmChatOllama, chainLlm

Engine
n8n
Nodes
5
Trigger
scheduled/triggered
Source file
1379_Stickynote_Automation_Triggered.json

Workflow flow

IntegrationsChatLmChatOllamaChainLlm@n8n/n8n-nodes-langchain.chat@n8n/n8n-nodes-langchain.lmChatOllama@n8n/n8n-nodes-langchain.chainLlm
100%
TRIGGER

When chat message received

@n8n/n8n-nodes-langchain.chat

Ollama Chat Model

@n8n/n8n-nodes-langchain.lmChatOllama

Chat LLM Chain

@n8n/n8n-nodes-langchain.chainLlm

3 steps · flows top to bottom, branches left to right

Browse by integration

Browse all integrations →

Import into n8n

  1. Download the n8n JSON file (full or sanitized).
  2. In n8n: Workflows → Import from file.
  3. Open each node and reconnect credentials to your accounts.
  4. Test with manual execution before enabling triggers.

Sanitized JSON removes credential IDs — safer for sharing. Flow graph JSON is OpenRuna's lightweight format for diagrams and other tools, not n8n import.

View source corpus ↗

Overview

Free n8n workflow: Chat with local LLMs using n8n and Ollama. 5 nodes across chat, lmChatOllama, chainLlm, with a downloadable JSON and a visual flow diagram on OpenRuna.

What this workflow does

"Chat with local LLMs using n8n and Ollama" automates a chat-to-lmChatOllama flow in n8n across 5 nodes. 5 nodes · chat, lmChatOllama, chainLlm Execution begins at the scheduled/triggered trigger and flows through the 5 configured nodes. OpenRuna shows the full flow diagram, an integration breakdown, and a one-click JSON export for n8n's "Import from file". Use it to learn integration patterns, fork it for your own use case, or deploy it quickly after reconnecting credentials.

Use cases

  • Benchmark it against your current chat integration to spot missing steps or redundant nodes.
  • Fork it to add error handling, retries, or a notification step without designing the 5-node flow from scratch.
  • Share it with your team as a documented reference for scheduled/triggered automations in the chat stack.
  • Study how data moves from chat to lmChatOllama before building your own variant.

Example output

Imported into n8n, "Chat with local LLMs using n8n and Ollama" exposes 5 configured nodes. Trigger type: scheduled/triggered. Integrations: chat, lmChatOllama, chainLlm. Reconnect the chat credential first, then walk the remaining nodes top to bottom. Run it once in test mode to verify any branch logic (Switch/IF nodes) before enabling production triggers.

Tips by platform

Claude

Paste the exported JSON for "Chat with local LLMs using n8n and Ollama" into Claude and ask it to explain each of the 5 nodes. Claude is good at suggesting credential mappings for chat, lmChatOllama, chainLlm, plus error-handling and idempotency improvements before you run it in production.

ChatGPT

Have ChatGPT generate a checklist for adapting "Chat with local LLMs using n8n and Ollama" to your accounts — which chat, lmChatOllama, chainLlm credentials to create and which node parameters to change first.

Cursor

Open the downloaded JSON in Cursor and use Agent mode to refactor hard-coded URLs into env vars, or to generate tests for any Code nodes. Keep the OpenRuna flow diagram open so you do not break connection order across the 5 nodes.

Frequently asked questions

How do I import "Chat with local LLMs using n8n and Ollama" into n8n?
Click Download n8n JSON on this page, then in n8n choose Workflows → Import from file and select the downloaded file. Reconnect credentials on each node — the export carries credential IDs from the original author's instance, not working secrets.
Which integrations does "Chat with local LLMs using n8n and Ollama" use?
It uses: chat, lmChatOllama, chainLlm. The flow diagram above shows how each service connects across the 5 nodes. Filter OpenRuna by integration to find related workflows and tools.
Can I import a sanitized export without credentials?
Yes. Use "Download sanitized JSON" to strip credential references before sharing internally. You will still add your own chat and lmChatOllama credentials in n8n after import.
What trigger type does "Chat with local LLMs using n8n and Ollama" use?
Trigger type: scheduled/triggered. After import, confirm the trigger node (webhook, schedule, or app event) matches your environment, then activate the workflow when you are ready to run it.
Is "Chat with local LLMs using n8n and Ollama" free to use?
OpenRuna catalogs community n8n workflows under open licenses. Check the source corpus link for the original license; commercial use may require verifying the third-party API terms for chat, lmChatOllama, chainLlm.

Related resources