AutomationFlowsAI & RAG › Ollama Chat Wrapper

Ollama Chat Wrapper

Ollama Chat Wrapper. Uses lmChatOllama, chainLlm. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexityAI-powered3 nodesOllama ChatChain Llm
AI & RAG Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆ AI nodes: yes Added:

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 →

Download .json
{
  "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.

Pro

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 →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

04-SMS-Capture. Uses lmChatOllama, chainLlm, httpRequest. Webhook trigger; 5 nodes.

Ollama Chat, Chain Llm, HTTP Request
AI & RAG

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.

Google Sheets, Chain Llm, Ollama Chat +1
AI & RAG

Nexus Omnichannel Router V5.1 (Refined) - Audit Mode. Uses chainLlm, lmChatOllama, httpRequest. Webhook trigger; 10 nodes.

Chain Llm, Ollama Chat, HTTP Request
AI & RAG

parse. Uses chainLlm, lmChatOllama. Webhook trigger; 5 nodes.

Chain Llm, Ollama Chat
AI & RAG

Firecrawl_WebScraping. Uses agent, lmChatOllama, chatTrigger, @mendable/n8n-nodes-firecrawl. Webhook trigger; 7 nodes.

Agent, Ollama Chat, Chat Trigger +2