Detect hallucinations using specialised Ollama model bespoke-minicheck

Build a summary This is useful to run it in an agentic workflow. You may remove the summary part and return the raw array with the found issues.

Workflow Structure (13 nodes)
100%
Manual Trigger
When clicking ‘Test workflow’
Execute Workflow Trigger
When Executed by Another Workflow
Set
Edit Fields
Code
Code
Merge
Merge1
Split Out
Split Out1
Langchain.chain Llm
Basic LLM Chain4
Merge
Merge
Filter
Filter
Aggregate
Aggregate
Langchain.chain Llm
Basic LLM Chain
Langchain.lm Ollama
Ollama Model
Langchain.lm Chat Ollama
Ollama Chat Model
Node Types:
code
logic
default
trigger
transform
Requires credentials

Prerequisites

Required Credentials (1)

Ollama

Used by: Ollama Chat Model, Ollama Model

Docs

Complexity

Complex

Advanced features used. Requires n8n experience.

Setup time: ~30 min
Score: 60/100
Custom Code
Conditional Logic
4 Integrations

When to Use This Workflow

AI-Powered Content Creation

Automate content generation, summarization, or analysis using AI capabilities.

Save hours of manual work while maintaining quality and consistency.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "meta": {
    "instanceId": "6e361bfcd1e8378c9b07774b22409c7eaea7080f01d5248da45077c0c6108b99",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "cbc036f7-b0e1-4eb4-94c3-7571c67a1efe",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -120,
        40
      ],
      "parameters": {
        "mode": "runOnceForEachItem",
        "jsCode": "// Get the input text\nconst text = $input.item.json.text;\n\n// Ensure text is not null or undefined\nif (!text) {\n throw new Error('Input text is empty');\n}\n\n// Function to split text into sentences while preserving dates and list items\nfunction splitIntoSentences(text) {\n const monthNames = '(?:Januar|Februar|März|April|Mai|Juni|Juli|August|September|Oktober|November|Dezember)';\n const datePattern = `(?:\\\\d{1,2}\\\\.\\\\s*(?:${monthNames}|\\\\d{1,2}\\\\.)\\\\s*\\\\d{2,4})`;\n \n // Split by sentence-ending punctuation, but not within dates or list items\n const regex = new RegExp(`(?<=[.!?])\\\\s+(?=[A-ZÄÖÜ]|$)(?!${datePattern}|\\\\s*[-•]\\\\s)`, 'g');\n \n return text.split(regex)\n .map(sentence => sentence.trim())\n .filter(sentence => sentence !== '');\n}\n\n// Split the text into sentences\nconst sentences = splitIntoSentences(text);\n\n// Output a single object with an array of sentences\nreturn { json: { sentences: sentences } };"
      },
      "typeVersion": 2
    },
...

Workflow Details

Nodes
18
Trigger
Event
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Host Your Own AI Deep Research Agent with n8n, Apify and OpenAI o3

2. Ask Clarifying Questions [Read more about form nodes](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-b...

Outputparserstructured
Lmchatopenai
Form
Chainllm
87 nodesEvent
Curated

Chat with local LLMs using n8n and Ollama

Chat with local LLMs using n8n and Ollama This n8n workflow allows you to seamlessly interact with your self-hosted Larg...

Chat
Lmchatollama
Chainllm
5 nodesEvent
Curated

Enrich FAQ sections on your website pages at scale with AI

🚨 Set Destination Folders Here

Lmchatopenai
Google-drive
Google-sheets
Executeworkflow
36 nodesEvent
Curated

Extract personal data with a self-hosted LLM Mistral NeMo

Update data source When you change the data source, remember to update the Prompt Source (User Message) setting in the B...

Chat
Lmchatollama
Outputparserautofixing
Outputparserstructured
13 nodesEvent
Curated

Calendar_scheduling

Check if incoming email is about appointment We use LLM to check subject and body of the email and determine if it's an...

Gmail
Lmchatopenai
Toolworkflow
Google-calendar
21 nodesEvent
Curated

🐋DeepSeek V3 Chat & R1 Reasoning Quick Start

DeepSeek using HTTP Request DeepSeek Reasoner R1 https://api-docs.deepseek.com/ Raw Body

Chat
Agent
Lmchatopenai
Memorybufferwindow
15 nodesEvent
Curated