AutomatedReality, home

n8n Automation Business: 5 Local Workflows That Save Hours Every Week

Overview & Architecture

Five small automations are easier to run and sell when they share one backbone. This blueprint uses a single n8n workflow with a Schedule Trigger, a shared Postgres tasks table and a Switch node that routes each task to one of five lanes. Every lane uses a local Ollama model (gemma4:12b-it-qat) and ends by writing its status and output back to the task row.

Only the final outputs (Google Sheets, Discord, Telegram) leave your machine.

The Pipeline

  1. Task queue: Every 15 minutes the workflow creates the tasks table if needed, seeds five demo tasks when it is empty, and claims pending rows.
  2. Routing: A Switch node sends each task by type to its lane.
  3. Intake triage: Ollama classifies a message, a Code node picks the label, and the result goes to Google Sheets and Discord. A Webhook can queue new messages.
  4. Document summariser: Apache Tika extracts text, Ollama summarises, a Code node checks length, and the summary goes to Sheets and Telegram.
  5. Private research: SearXNG finds pages, Browserless fetches three, a Code node checks that enough sources came back, Ollama writes a brief, and it is saved to Sheets.
  6. Daily digest: Today’s finished rows are read from Postgres, Ollama writes a short digest, and it goes to Telegram and Discord.
  7. Content ideas: Ollama generates ideas, a Code node drops duplicates against past ideas in the table, and the rest go to Sheets.
  8. Status tracking: Each lane updates its task row with a status and output.

What You Need

Key Deployment Hurdles & Solutions

Download the Workflow (.json)

Import-ready n8n workflow with all 41 nodes with clear names (the stage groups from the original canvas are not included in the export, so group them yourself if you like). In n8n choose Import from file, then connect your own Postgres, Ollama, Google Sheets, Telegram, Discord and Browserless credentials.

Download the n8n workflow (.json)

Download the Companion System Prompt (.md)

Enter your first name to personalize the assistant prompt so your AI helper can walk you through the Postgres, Ollama, Tika, SearXNG, Browserless, Sheets, Discord and Telegram setup step by step. Add your email optionally to get notified when new home lab blueprints drop.