Skip to content
NEWError doctor and Watchtower: failed n8n runs explained in plain words, and emailed to you. See what is new

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

  1. Code
  2. Split Out1
  3. Basic LLM Chain4
  4. Ollama Chat Model
  5. When clicking ‘Test workflow’
  6. Edit Fields
  7. Merge
  8. Filter
  9. When Executed by Another Workflow
  10. Aggregate
  11. Merge1
  12. Basic LLM Chain
  13. Ollama Model
  14. Error Handler

Similar automations