Build a self-improving ad scriptwriting system
I connected Claude Code to Apify's API to scrape high-performing content from IG/TikTok for ad creative inspiration, and to ElevenLabs' API to automatically transcribe videos — so I can analyze not just visuals, but the exact hooks, pacing, and language top creators are using. From there, I developed a scriptwriting system that takes rough thoughts on a hook and angle and turns them into ad scripts, drawing inspiration from winners and applying proven copywriting principles. After generating, it also grades itself against a 12-point rubric. If it doesn't score at least 90%, it rewrites until it does. I then feed it back in and say, "This is the final version." It analyzes the changes I made and updates its understanding of my style. 1. I connected Claude Code to Apify’s API for collecting high-performing Instagram and TikTok content. 2. I connected ElevenLabs’ API so the workflow could automatically transcribe each video. 3. I analyzed the winning examples for their hooks, pacing, visual patterns, and exact language. 4. I fed the system a rough hook and angle and had it draft ad scripts using those proven patterns. 5. I created a 12-point grading rubric and required a rewrite whenever a script scored below 90%. 6. After making my own final edits, I fed the approved version back into the system so it could learn my style.
Created scripts from proven creative patterns, self-graded against a 12-point rubric, and rewrote until scoring at least 90%.
0 comments