- Marketing Mastery Newsletter
- Posts
- The Agent That Writes Your Viral Content
The Agent That Writes Your Viral Content
Let me show you something wild I’ve been building: It’s called The Viral Script Agent — and it writes scroll-stopping scripts based on what’s already going viral on Instagram.

What It Does
It scrapes 100,000+ high-performing videos…
Analyzes what’s blowing up right now…
Selects the best 2-3 ones …
And then writes you viral-ready scripts tailored to your brand and products — and in your voice.
Enter something like “AI in business” or “manifestation hacks”…
And boom — 30 seconds later, you’ve got:
A 7-second hook
3 punchlines
A killer CTA

Why I built it
Because making content every day is exhausting.
And guessing what’ll go viral? Even worse.
Now, instead of shooting in the dark, I just:
Add a topic to Airtable
Let the agent scrape + script
Post viral gold
It’s like having a ghostwriter + researcher + editor… but 24/7, and free.

Here’s how it works:
The Viral Script Agent is powered by:
Airtable to track topics and videos
Make.com to automate scraping + script generation
ChatGPT trained to write in my brand voice
Apify actors that dig up top-performing videos
It filters for:
500K+ views
5%+ like-to-view ratio
English-only content
PLUS: Automatically writes the script based on the video transcript.
It even drops the final script back into Airtable.
Boom. Done.

How You Can Build It
Step 1: Set up Airtable
Create a base called “Viral Script Factory”
Table 1: Topics
Fields: Topic, Channel (TikTok/YouTube), Record ID
Table 2: Videos
Fields: Topic Link, Video URL, Views, Likes, Like-to-View Ratio (formula), Transcript, Script, Selected?
Step 2: Connect Make.com to Airtable
Set up 3 scenarios in Make:
Scenario 1: Scrape Videos
Trigger: Airtable (watch new “queued” topics)
Use Apify’s TikTok or YouTube scraper
Search for Topic → pull top 100 videos by views
Scenario 2: Import Filtered Videos
Trigger: Apify finishes scraping
Filter: Videos must have >500K views and >5% like ratio
Add filtered videos to Airtable (Videos table)
Scenario 3: Generate Scripts
Trigger: Airtable sees a video marked “Selected?”
Grab transcript (via Apify or fallback method)
Send transcript + topic to OpenAI (GPT-4o)
Format:
① Hook (7 sec)
② 3 punchlines
③ CTA
Result drops into Airtable under “Script”
Pro Tip: Add Slack notifications once a new script is ready, or store them in GitHub for version control.
Want to Build This With Me?
I’m hosting a 2-hour live workshop where we’ll build this exact agent together — step-by-step.
This is part of a bi-weekly AI Agent Series where we co-create powerful tools to scale your brand, automate your ops, and eliminate creative burnout.
🗓 Thursday 15th May | 9PM MYT | 3PM CET | 9AM EST
🎟 $149 — 30 seats only → Secure Your Spot Now
You’ll walk away with:
✔ Your first fully working AI content agent
✔ Airtable + Make.com blueprints
✔ My plug-and-play viral scripting system
✔ Prompts + templates to build other agents fast
✔ Recording of the session
If you’re a creator, coach, or marketer — this gives you a massive unfair advantage.
And it’s just the beginning.
— Marisha
P.S. Have a specific use case or stuck building an agent?
Just hit reply and let me know — it might become the focus of the next live session.