AutomationFlowsGeneral › AI Chatbot with Ollama

AI Chatbot with Ollama

Original n8n title: Demo Workflow

Demo workflow. Uses chatTrigger, chainLlm, lmChatOllama. Chat trigger; 3 nodes.

Chat trigger trigger★☆☆☆☆ complexityAI-powered3 nodesChat TriggerChain LlmOllama Chat
General Trigger: Chat trigger Nodes: 3 Complexity: ★☆☆☆☆ AI nodes: yes Added:

This workflow follows the Chainllm → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

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": "demo_workflow",
  "nodes": [
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        -432,
        -176
      ],
      "id": "ebe0f64d-b79a-4bb5-8809-ab638785d679",
      "name": "When clicking \u2018Execute workflow\u2019"
    },
    {
      "parameters": {
        "message": "Helo",
        "model": "mock-gpt-pro",
        "temperature": 0.6,
        "requestOptions": {}
      },
      "type": "CUSTOM.agentNode",
      "typeVersion": 1,
      "position": [
        -128,
        -352
      ],
      "id": "922006bd-b92e-4798-aab6-e1b8ec3ca74c",
      "name": "Chat with Agent",
      "credentials": {
        "AgentNodeApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "summarize",
        "requestOptions": {}
      },
      "type": "CUSTOM.agentNode",
      "typeVersion": 1,
      "position": [
        -128,
        -176
      ],
      "id": "ee637486-aac9-420e-bcfd-df83a35ec18a",
      "name": "Summarize text",
      "credentials": {
        "AgentNodeApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "extract",
        "additionalFields": {
          "include_summary": true
        },
        "requestOptions": {}
      },
      "type": "CUSTOM.agentNode",
      "typeVersion": 1,
      "position": [
        -128,
        32
      ],
      "id": "09350625-f255-4d23-9ab5-04b2704449c6",
      "name": "Extract structured fields",
      "credentials": {
        "AgentNodeApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "Chat with Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Summarize text",
            "type": "main",
            "index": 0
          },
          {
            "node": "Extract structured fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Chat with Agent": {
      "main": [
        []
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate",
    "availableInMCP": false
  },
  "versionId": "b20ab64b-b3ed-43aa-8052-5035f7c2d96d",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "zs0KY23s2qDjKvP5",
  "tags": []
}

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

Demo workflow. Uses chatTrigger, chainLlm, lmChatOllama. Chat trigger; 3 nodes.

Source: https://github.com/HGgameGD/self-hosted-ai-starter-kit/blob/main/n8n/demo-data/workflows/srOnR8PAY3u4RSwb.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

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

General

Demo workflow. Uses chatTrigger, chainLlm, lmChatOllama. Chat trigger; 3 nodes.

Chat Trigger, Chain Llm, Ollama Chat
General

AI Story Generator. Uses chatTrigger, httpRequest, openAi, googleSheets. Chat trigger; 14 nodes.

Chat Trigger, HTTP Request, OpenAI +2
General

Extract personal data with a self-hosted LLM Mistral NeMo. Uses chatTrigger, lmChatOllama, outputParserAutofixing, outputParserStructured. Chat trigger; 13 nodes.

Chat Trigger, Ollama Chat, Output Parser Autofixing +2
General

Extract personal data with a self-hosted LLM Mistral NeMo. Uses chatTrigger, lmChatOllama, outputParserAutofixing, outputParserStructured. Chat trigger; 13 nodes.

Chat Trigger, Ollama Chat, Output Parser Autofixing +2
General

Stickynote. Uses stickyNote, chatTrigger, chainLlm, lmOpenHuggingFaceInference. Chat trigger; 4 nodes.

Chat Trigger, Chain Llm, Lm Open Hugging Face Inference