AutomatedReality, home

How to Make Money With n8n Using a Free Local Proposal Engine

Overview & Architecture

Writing a proposal from a messy client brief is repeatable work, and none of it has to run in a paid tool.

This blueprint starts with an n8n form where you enter the client name, client email, the brief and any scope files. Apache Tika pulls the text out of the files, a local Ollama model drafts a summary, deliverables and three pricing tiers, and a Code node checks the structure before anything is saved. Valid proposals are logged to a database table and posted to Discord for your review. Nothing is sent to the client automatically.

The Pipeline

  1. Proposal Request Form: An n8n Form Trigger collects the client name, client email, the brief, and a multi-file upload for scope documents.
  2. Split Scope Files: A Code node turns the upload into one item per file. With no attachment, the brief still goes through.
  3. Extract Text (Tika): An HTTP Request node sends each file to Apache Tika and gets plain text back. It continues on error, so a file with no readable text does not stop the run.
  4. Build Prompt: A Code node combines the brief and the extracted text into one prompt.
  5. Draft Proposal: A Basic LLM Chain with an Ollama Chat Model (qwen2.5:14b-instruct-q4_K_M, JSON output) writes the summary, deliverables and Starter, Standard and Premium tiers.
  6. Validate Proposal: A Code node checks the summary, the deliverables, exactly three tiers, numeric prices and the includes lists, and builds the review message.
  7. Structure Valid?: An If node splits valid and invalid output.
  8. Log and Notify: Valid proposals are saved to a proposals table in Postgres and posted to Discord. Invalid output sends a Discord alert with the raw model text.

In the test run, a form submission with a text scope file produced a validated three-tier proposal, a row in the table and a Discord message.

What You Need

Key Deployment Hurdles & Solutions

Download the Workflow (.json)

Import-ready n8n workflow with 12 nodes. In n8n choose Import from file, then pick your own Postgres and Discord credentials and your own Ollama credential on the model node.

Download the n8n workflow (.json)

Download the Companion System Prompt (.md)

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