Architecture
Claude writes scripts and hooks
From a brief per content line, with hook variants so each post doubled as a test.
Veo3 renders
Clips generated per scene; failures retried with a capped budget.
Python assembles
Stitching, captions, aspect ratios, and a UTM-tagged link per post.
n8n orchestrates and publishes
Schedules, posts, and logs every run so failed steps are visible in the execution history.
Governance: the 14-day rule
Automation without governance is noise at scale. Every content line ran on a 14-day keep/scale/kill rule, decided by UTM-level signups, not views.
# Representative excerpt SCALE_BAR = 0.8 # signups per 1k views KILL_BAR = 0.2 def decide(line) -> str: if line.age_days < 14 or line.views < 5_000: return "running" # not enough signal yet rate = line.signups / line.views * 1000 if rate >= SCALE_BAR: return "scale" if rate < KILL_BAR: return "kill" return "iterate" # new hook, same line
Thresholds shown are illustrative.
Results
Unit economics were the point: once a video costs nearly nothing, the bottleneck moves to deciding what deserves more volume, which is a data problem I already had the tooling for.
What I learned
Code and queries on this page are representative excerpts, rewritten for the page. Client code and dashboards are private; I am happy to walk through the real ones on a call.