Extract personal data with self-hosted LLM Mistral NeMo
This workflow shows how to use a self-hosted Large Language Model (LLM) with n8n's LangChain integration to extract personal information from user input. Thi...
🔌 Nodes & Integrations Used (5)
📖 Implementation & Setup Guide
This workflow shows how to use a self-hosted Large Language Model (LLM) with n8n's LangChain integration to extract personal information from user input. This is particularly useful for enterprise environments where data privacy is crucial, as it allows sensitive information to be processed locally.
📖 For a detailed explanation and more insights on using open-source LLMs with n8n, take a look at our [comprehensive guide on open-source LLMs](https://blog.n8n.io/open-source-llm/).
🔑 Key Features
- **Local LLM**
- - Connect Ollama to run Mistral NeMo LLM locally
- - Provide a foundation for compliant data processing, keeping sensitive information on-premises
2. **Data extraction** - Convert unstructured text to a consistent JSON format - Adjust the JSON schema to meet your specific data extraction needs.
3. **Error handling** - Implement auto-fixing for LLM outputs - Include error output for further processing
⚙️ Setup and сonfiguration
Prerequisites
- [n8n AI Starter Kit](https://docs.n8n.io/hosting/starter-kits/ai-starter-kit/) installed
Configuration steps
- Add the **Basic LLM Chain** node with system prompts.
- Set up the **Ollama Chat Model** with optimized parameters.
- Define the JSON schema in the **Structured Output Parser** node.
🔍 Further resources --------------------
- [Run LLMs locally with n8n](https://blog.n8n.io/local-llm/)
- [Video tutorial on using local AI with n8n](https://www.youtube.com/watch?v=xz_X2N-hPg0)
Apply the power of self-hosted LLMs in your n8n workflows while maintaining control over your data processing pipeline!
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Extract personal data with self-hosted LLM Mistral NeMo.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related Docs, PDF & OCR Workflows
View All in Docs, PDF & OCR →Add articles to a Notion list by accessing a Discord slash comma
This workflow allows you to add articles to a Notion reading list by accessing a Discord slash command. Prerequisites - A Notion account and [credentials](),...
Adobe PDF Services API Automation
Production-ready n8n automation template for Adobe PDF Services API Automation built by AhiXLight. Seamlessly connects HTTP Request, Execute Workflow Trigger, Dropbox with 20 configured nodes.
Adobe PDF Services API Workflow
Production-ready n8n automation template for Adobe PDF Services API Workflow built by AhiXLight. Seamlessly connects HTTP Request, Execute Workflow Trigger, Dropbox with 20 configured nodes.
AI Brand Voice Content Generator
Production-ready n8n automation template for AI Brand Voice Content Generator built by AhiXLight. Seamlessly connects Lm Chat Open Ai, Information Extractor, HTTP Request with 27 configured nodes.