The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Ollama Chat Wrapper",
"nodes": [
{
"parameters": {
"model": "llama3.2:latest",
"options": {}
},
"id": "ollama-node",
"name": "Ollama Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"typeVersion": 1,
"position": [
840,
460
],
"credentials": {
"ollamaApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"content": "={{ $json.message }}",
"options": {}
},
"id": "agent-node",
"name": "Basic Chain",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.4,
"position": [
1060,
280
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "chat",
"responseMode": "lastNode",
"options": {}
},
"id": "webhook-trigger",
"name": "Chat Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
580,
280
]
}
],
"connections": {
"Ollama Chat Model": {
"ai_languageModel": [
[
{
"node": "Basic Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Chat Webhook": {
"main": [
[
{
"node": "Basic Chain",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
ollamaApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Ollama Chat Wrapper. Uses lmChatOllama, chainLlm. Webhook trigger; 3 nodes.
Source: https://github.com/Acehfhd/nexus-command/blob/main/workflows/n8n_ollama_chat.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
04-SMS-Capture. Uses lmChatOllama, chainLlm, httpRequest. Webhook trigger; 5 nodes.
Receive WhatsApp messages via Whapi, generate AI replies with a local Ollama model, log conversations in Google Sheets, and auto-capture leads — all without touching a cloud LLM.
Nexus Omnichannel Router V5.1 (Refined) - Audit Mode. Uses chainLlm, lmChatOllama, httpRequest. Webhook trigger; 10 nodes.
Firecrawl_WebScraping. Uses agent, lmChatOllama, chatTrigger, @mendable/n8n-nodes-firecrawl. Webhook trigger; 7 nodes.