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 Basic LLM Chain node.

Workflow Structure (7 nodes)
100%
Langchain.chat Trigger
When chat message received
Langchain.chain Llm
Basic LLM Chain
Set
Extract JSON Output
Langchain.lm Chat Ollama
Ollama Chat Model
Langchain.output Parser Autofixing
Auto-fixing Output Parser
Langchain.output Parser Structured
Structured Output Parser
No Op
On Error
Node Types:
trigger
default
transform
Requires credentials

Prerequisites

Required Credentials (1)

Ollama

Used by: Ollama Chat Model

Docs

Complexity

Moderate

Some experience helpful. Multiple integrations or logic.

Setup time: ~20 min
Score: 22/100

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
{
  "id": "HMoUOg8J7RzEcslH",
  "meta": {
    "instanceId": "3f91626b10fcfa8a3d3ab8655534ff3e94151838fd2709ecd2dcb14afb3d061a",
    "templateCredsSetupCompleted": true
  },
  "name": "Extract personal data with a self-hosted LLM Mistral NeMo",
  "tags": [],
  "nodes": [
    {
      "id": "7e67ae65-88aa-4e48-aa63-2d3a4208cf4b",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -500,
        20
      ],
      "webhookId": "3a7b0ea1-47f3-4a94-8ff2-f5e1f3d9dc32",
      "parameters": {
        "options": {}
...

Workflow Details

Nodes
13
Trigger
Event
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

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

Proxmox AI Agent with n8n and Generative AI Integration

API Key for Proxmox Create Credentails ensure to create credentials in Proxmox Data Center as API Key and then create...

Http-request
Toolhttprequest
Outputparserautofixing
Lmchatgooglegemini
35 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

Intelligent Web Query and Semantic Re-Ranking Flow

Step 1. Set Up a Free Brave Web Search Query API Key To attain the free web search API tier from Brave, follow these ste...

Webhook
Outputparserautofixing
Outputparserstructured
Chainllm
20 nodesWebhook
Curated

BambooHR AI-Powered Company Policies and Benefits Chatbot

STEP 1: Retrieve company policies and load them into a vector store

Documentdefaultdataloader
Embeddingsopenai
Textsplitterrecursivecharactertextsplitter
Memorybufferwindow
50 nodesEvent
Curated

[AI/LangChain] Output Parser 4

Parser which defines the output format and which gets used to validate the output

Chainllm
Outputparserstructured
Outputparserautofixing
Lmchatopenai
11 nodesManual
Curated