August 27, 2025
Builds
How to Build an AI That Finds and Writes Viral Content for You
Tired of spending hours every day searching for content ideas?
What if you could automate the entire process?
In this step-by-step tutorial, we'll build a powerful AI system that automatically monitors hundreds of sources, identifies the most valuable content for your specific audience, and transforms it into ready-to-publish viral scripts.
Let's build your personal content engine.
Part 1: Setting Up the Foundation in Make.com
First, you'll need a free account at Make.com. Once you're in, click "Create a new scenario" to open your canvas. Before we add our main tools, we need to set up a few variables to control our automation.
In your scenario, click the large purple "+" button, search for "Tools," and select the "Set Variable" module.
We'll create three variables to control our workflow.
1. The Time Filter (Start)
Variable name:
week_startVariable value: This JavaScript code will tell our system to only look for content published in the last 24 hours.
javascript {{formatDate(addDays(now; -1); "YYYY-MM-DDTHH:mm:ss")}}
2. The Time Filter (End)
Variable name:
week_endVariable value: This sets the end of our 24-hour window.
javascript {{formatDate(addDays(now; 0); "YYYY-MM-DDTHH:mm:ss")}}
3. The Content Sources
Variable name:
feed_urlsVariable value: This is where we'll store our list of content sources using a format called JSON.
How to Find and Format Your Content Sources
To make our AI smart, we need to feed it high-quality information. A great way to do this is by using RSS feeds from top blogs and news sites in your industry.
Find Your Feeds: Go to Google and search for
"[Your Industry] RSS feeds" + "feedspot". This will give you curated lists of top sources.Collect the URLs: Copy the names and RSS feed URLs for 10-20 websites relevant to your audience.
Convert to JSON: Paste your list into ChatGPT with the following prompt to format it correctly.
Paste into Make.com: Copy the JSON output from ChatGPT and paste it into the
feed_urlsvariable in your Make.com scenario.
What is JSON? Think of it as a universal address book. It organizes information into simple
name: valuepairs that computers can read instantly.
Part 2: Processing and Filtering Content
Now that our sources are ready, let's build the engine that processes them.
1. Parse the JSON
Add a "Parse JSON" module. This tool takes our single list of feed_urls and splits it into individual sources so we can check them one by one.
2. Retrieve New Articles with RSS
Add an "RSS" module and select "Retrieve RSS feed items."
URL: Select the
urlvariable from the JSON parser.Date from: Select your
week_startvariable.Date to: Select your
week_endvariable.Maximum items: Set to
10to avoid overloading the system.Error Handling: Right-click the module and add an "Ignore" error handler. This makes our system more reliable by preventing it from stopping if one RSS feed is down.
What is RSS? It stands for Really Simple Syndication. It’s a standard way for websites to publish their latest content, like a newsletter subscription for your automation.
Part 3: Using AI to Select the Best Content
This is where the magic happens. We'll use an AI model to act as our content curator, analyzing each article and deciding if it's a good fit for our audience.
1. Add the "Selector AI" (OpenRouter)
Add an "OpenRouter" module. You'll need a free account and an API key from OpenRouter.ai.
Model: Choose a fast model like
GPT-4o-mini.Role: User
Message: Paste the "Selection Prompt" below. This prompt acts as the AI's brain, telling it exactly how to evaluate each article.
2. Parse the AI's Decision
Add another "Parse JSON" module. This will read the AI's decision (SELECTED or REJECTED) so we can use it in the next step.
Part 4: Routing, Summarizing, and Scripting
Our system now knows which articles are gold and which are junk. Let's separate them and turn the good ones into content.
1. Add a Router
A "Router" module splits the workflow into different paths. We'll create two paths: one for rejected content and one for selected content.
Route 1 (Rejected): Set the filter to
decisionequalsREJECTED. Connect this to a "Google Sheets" module to log the rejected articles for later analysis.Route 2 (Selected): Set the filter to
decisionequalsSELECTED. This path continues to the next AI modules.
2. Create the AI Summarizer
Add another "OpenRouter" module to the "Selected" path. This AI's job is to create a detailed business summary of the article.
Model:
GPT-4o-miniPrompt: Use the detailed "Summarization Prompt" you've prepared. This prompt asks the AI to extract key benefits, action items, and a suggested title.
3. Create the AI Script Writer
Add a final "OpenRouter" module. This is our creative genius.
Model: Use a creative model like
Claude 3.5 SonnetorGemini 1.5 Pro.Prompt: Use your "Script Writing Prompt" that includes the 6-Element Dopamine Script Structure. This will turn the business summary into a psychologically engaging, 45-60 second video script.
4. Parse and Save the Final Output
Add one last "Parse JSON" module to read the scriptwriter's output. Then, connect it to a "Google Sheets" module ("Selected" tab) and map the fields:
Title-> TitleSummary-> SummarysuggestShortsTitle-> Script Titlescript-> Script
Part 5: Run Your Automation and Customize
Your complete automation is built. Hit the "Run once" button and watch as your Google Sheet populates with perfectly curated content and ready-to-film viral scripts.
Customization and Next Steps
Adjust the Time Window: Want to scan content from the last 3 days? Simply change the
-1in yourweek_startvariable to-3.Fine-Tune the AI: If the AI is rejecting good articles, analyze the "Rejected" tab in your Google Sheet and adjust the "Selection Prompt" to be more specific.
Scale Your Sources: Don't be afraid to add 50 or even 100 RSS feeds to the
feed_urlsvariable. The more high-quality data you provide, the better your results will be.
You now have a fully automated content research and creation system that works for you 24/7, freeing you up to focus on what matters most: growing your business.
