Case Study: How We Built a 35-Workflow Production Platform — Insightful Agents
Case Study

How We Built a 35-Workflow Production Platform with n8n

Occam's Investing started as a side project. Within 6 months, it grew into a fully automated investment research platform — with AI-powered valuations, SEC filing ingestion, cold outreach, and a paying subscriber base. Every piece runs on n8n.

By John Gillespie, Founder — Insightful Agents · April 2026
187
Total n8n workflows built
35+
Active in production daily
700+
Stocks analyzed weekly
1,100+
Outreach leads processed

The Problem

I wanted to build an investment research platform that could do what Wall Street analysts do — fundamental valuation, forensic accounting, peer comparisons — but automated and accessible to individual investors. The catch: I wasn't going to hire a team. Everything had to be built, maintained, and scaled by one person.

That meant every piece of the business — from SEC data ingestion to subscriber billing to cold outreach — needed to run autonomously. Manual steps would become bottlenecks. Bottlenecks would kill the project.

The Solution: n8n as the Backbone

I chose n8n as the workflow automation platform because it gives full control over every node, supports custom JavaScript, and connects to any API. Over the course of building Occam's Investing, I created 187 total workflows. 35+ of them run in production every day. Here's how they break down.

AI-Powered Valuation Engine

The core product is a hybrid valuation system that combines Occam's forensic analysis with Damodaran-style DCF models. When a subscriber requests a valuation, an n8n workflow detects the company's sector (standard equity, REIT, BDC, bank, pipeline, or cyclical), routes it to the correct child workflow, and orchestrates a 3-model AI jury — Claude, Perplexity, and Gemini — to deliver independent analyst-grade reports.

SEC Filing Pipeline

Every quarter, public companies file financial statements with the SEC in XBRL format. I built a 50-node n8n workflow that monitors SEC EDGAR for new filings, downloads the XBRL data, parses it into structured JSON, runs forensic scoring (Rule of 40, zombie detection, dividend risk analysis), and stores everything in Supabase. A separate workflow monitors for real-time filing alerts and notifies subscribers within minutes of an SEC submission.

Subscriber Operations

The subscriber system is fully automated: Stripe handles checkout and payments, n8n workflows manage subscription creation, quota enforcement, magic link authentication, and cancellation. A weekly Monday Scanner emails subscribers with the latest stock ideas, and a newsletter nurture drip sequence onboards new users over their first two weeks. Systemic risk alerts fire automatically when 3 or more companies in a sector trigger SELL signals — no human in the loop.

Cold Outreach: Apollo + Instantly + Facebook Ads

Building the product was only half the challenge. Finding users required a complete outreach system, also built on n8n.

Lead Sourcing with Apollo.io

Apollo.io is the lead source. I built filters to identify our ideal customer profile — business owners, operations managers, and CTOs at companies running AI or automation tools — and export qualified leads in batches. Apollo provides verified email addresses, company data, and role information that feeds directly into the scoring pipeline.

The 4-Workflow Outreach Pipeline

Cold outreach runs through four n8n workflows that operate as a single pipeline:

The result: 1,100+ leads processed end to end with zero manual email writing, zero manual sends, and full attribution tracking from first touch to reply.

Facebook Ads for Top-of-Funnel

Cold email handles warm outreach, but Facebook Ads bring in cold traffic. I run campaigns targeting business owners and operations managers interested in automation tools (n8n, Zapier, Make). The ads drive traffic to a free audit tool landing page — a low-friction lead magnet that demonstrates value before asking for a call.

The ad strategy is systematic: launch 6-9 ad variations per campaign across different hooks (security, cost of inaction, DIY rescue), test for 3-5 days at $15/day, then kill underperformers based on cost-per-landing-page-view. In the most recent campaign, 9 of 18 ads were paused within the first week. The survivors — Security v2, Cost of Inaction v2, and Monday Morning hooks — achieved landing page view costs under $0.65.

Quality Control: Auditing Our Own Workflows

With 187 workflows and growing, maintenance is a real problem. That's why I built the n8n Workflow Audit Tool — the same free tool we offer clients. It scans workflow JSON for missing error handlers, hardcoded API keys, dormant nodes, and redundant API calls. I run it against my own stack regularly to catch issues before they become production failures.

The audit tool has already caught workflows calling the same API endpoint in multiple places (consolidated into cached lookups), nodes with no error handling on critical paths, and credentials that needed rotation. It's the same tool we use when auditing client environments — because we built it to solve our own problem first.

Results

Occam's Investing now runs as a production platform with paying subscribers, automated daily operations, and zero manual intervention for routine tasks. Here's what the numbers look like:

Tech Stack

n8n Cloud

Workflow automation backbone. 187 workflows, 35+ active. Handles orchestration, scheduling, API calls, and AI model routing.

Supabase

PostgreSQL database for all structured data — valuations, leads, SEC filings, subscriber records, outreach analytics.

Claude, Perplexity, Gemini

3-model AI jury for valuation analysis. Claude handles lead personalization. Haiku runs high-volume scoring at lower cost.

Apollo.io

Lead sourcing with ICP filtering. Verified emails, company data, and role-based targeting for outreach pipeline ingestion.

Instantly.ai

Email sending with domain warmup, rotation across 2 sender accounts, and deliverability monitoring via API.

Meta Ads (Facebook)

Cold traffic acquisition. A/B testing across multiple hooks with systematic kill criteria based on cost-per-landing-page-view.

Stripe

Subscription billing, checkout, and webhook-driven lifecycle management. Includes referral tracking with 40% commission.

SEC EDGAR

Real-time filing monitor. XBRL parsing into structured JSON for forensic scoring and BDC portfolio analysis.

FMP API

Financial data provider for stock prices, financial statements, and market data feeding valuation models and screeners.

Want Us to Build Yours?

We built this for ourselves. Now we build them for clients. Same tools, same rigor, same production-grade standard.

Book a Call →