Icon
Back to home page

An Autonomous AI Financial Blogger & Newsletter Engine

A 115-node, fully autonomous n8n pipeline that researches, writes, illustrates, and publishes a daily voice-driven financial blog post to Ghost — entirely on self-hosted infrastructure, with zero human input.

Case Study Image

The brief: a newspaper that writes itself.

The client runs a financial blog with a distinct personality — contrarian, evidence-driven, and unafraid to tell readers when the mainstream take is wrong. The challenge was deceptively simple to state and brutally hard to deliver: publish one original, fully-researched, illustrated article every single day, in a consistent editorial voice, without a human writer touching the keyboard. The output also had to do commercial work — naturally surfacing the eight ETFs the business cares about, but only when the connection was genuine, never as forced product placement.

We architected the solution as a 115-node n8n workflow split into seven discrete, chained flows, each owning one stage of the editorial supply chain. This modular design was a deliberate choice: a monolithic "do everything" agent would have been impossible to debug, expensive to run, and prone to compounding errors. By breaking the pipeline into independent flows connected via internal webhooks, each stage could be tested, retried, and reasoned about in isolation.

Flow 1 — Keyword-to-ETF relevance scoring. Before any writing happens, an AI research analyst (running Mistral with a Claude fallback, augmented by live Brave Search) cross-references each trending keyword against all eight ETF profiles. It returns a strict YES/NO verdict per fund, with a self-contained justification on every YES. Crucially, it's calibrated to err toward NO — false positives downstream waste compute and produce unconvincing copy, so the bar for "relevant" is a paragraph a writer could actually defend.

Flows 2–5 — Discovery, scoring, and editorial selection. The pipeline pulls candidate YouTube videos (via RapidAPI), then computes a custom virality score blending view velocity, like-to-view engagement ratio, and subscriber outperformance — a proxy for "what the investing public actually cares about right now." Winning videos are transcribed, and a senior-editorial-strategist agent then picks exactly one video as the day's story, judged on timeliness, article potential, originality of angle, and breadth of appeal.

Flow 6 — Source discovery and RAG. This is where the blog's contrarian, evidence-first ethos really shows. A research agent runs 4–6 targeted searches to find 5–8 high-quality supplementary sources — hard data, opposing viewpoints, primary documents, and ETF-specific context — filtered through a Tier 1/2/3 source-quality hierarchy that prioritises Bloomberg, Reuters, the Fed and SEC filings over low-signal blogs. Selected pages are fetched full-text via Jina Reader, cleaned and chunked, embedded with Cohere, and upserted into a self-hosted Qdrant vector collection — giving the writer a fact-checked knowledge base to query rather than hallucinate against.

Flow 7 — Writing, illustration, and publishing. The Blog Writer agent transforms the transcript into an original article — not a summary — built around a single thesis, written in the blog's signature conversational-but-rigorous voice, and output as a structured array of Ghost content blocks. Image placeholders are then fanned out, candidate images sourced via Brave image search, and a vision-capable AI image editor visually reviews thumbnails to pick the single most professional, on-topic image per slot. Finally, the assembled post is published to Ghost via a custom self-hosted publisher endpoint as a members-only article, with the newsletter dispatch flagged on in the same call.

The result is a genuinely autonomous editorial operation. Every morning, the system independently decides what's worth writing about, what the data actually says, how to argue it in a distinctive voice, and how to illustrate and distribute it — running entirely on infrastructure the owner controls. Google Sheets acts as the orchestration spine and audit trail (status flags track each article's journey), so the owner retains full visibility and the ability to intervene at any stage without ever being required to.

End-to-end autonomy across seven chained flows
RAG-grounded, fact-checked writing
Vision-based image curation
Call Icon
+1-888-669-1935