Library / Building Blocks & Utilities
Building Blocks & Utilities
Process Item Lists with a Local Ollama LLM Chain
When you run it manually or another workflow calls it, it splits a list and runs each item through a local Ollama model chain.
What it does
# Code Workflow ## Overview Automated workflow: Code Workflow. This workflow integrates 12 different services: filter, stickyNote, code, lmOllama, splitOut. It contains 18 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 18 - Node Types: 12 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Code: code - Split Out1: splitOut - Basic LLM Chain4: chainLlm - Ollama Chat Model: lmChatOllama - When clicking ‘Test workflow’: manualTrigger - Edit Fields: set - Merge: merge - Filter: filter - When Executed by Another Workflow: executeWorkflowTrigger - Aggregate: aggregate - ... and 8 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible
The steps
- Code
- Split Out1
- Basic LLM Chain4
- Ollama Chat Model
- When clicking ‘Test workflow’
- Edit Fields
- Merge
- Filter
- When Executed by Another Workflow
- Aggregate
- Merge1
- Basic LLM Chain
- Ollama Model
- Error Handler
Similar automations
Building Blocks & UtilitiesProcess Item Lists with a Local Ollama LLM Chain14 stepsAI Agents & AssistantsRoute Chats to Local Ollama Models with Private Router7 stepsChatbots & Messaging BotsChat with Local LLMs Using n8n and Ollama3 stepsRAG & Knowledge BasesChat with local documents using Ollama and MariaDB Vector cache28 steps