⚙️ This AI Research Workflow Builds a 40-Page Report in 6 Minutes - For Under $1
Alright, let’s get something straight: You don’t need to be a tech genius, a coding whiz, or someone who dreams in JavaScript to automate the creation of detailed, in-depth research reports. Seriously, no Red Bull-fueled late-night hackathons required. In fact, if you’re looking to flex in 2025, the real power move is saying:
“Oh yeah, I can create that 40-page research report for you. Give me a couple of minutes.”
Because behind the curtain? You’re not slinging code. Nope, you’re crafting smart prompts, assembling tools like digital LEGO blocks, and letting the bots handle the heavy lifting. And the best part? This entire process costs you less than a dollar.
Let’s break this down step-by-step, so you too can be the person who gets things done with zero effort.
You're afraid you can't do this workflow, right? Don’t worry, I'll put the template below so all you need to do is change your account, and you're done. The template also has a note showing which elements you need to change to use it. Now open n8n and import the JSON file into it.
Special thanks to Nate Herk for creating this workflow. His expertise and effort have been crucial in making this possible.
1️⃣ Step 1: The Setup – Easy Peasy, Lemon Squeezy
All it takes is a topic and an email. That’s it. For this demo, let’s go with “sugar for breakfast.” (We know, sounds like a breakfast debate waiting to happen, right?)
So, you type in your topic (whatever it is), drop in an email to send the results to, and hit submit. That’s when the magic starts.
First, the AI Agent eats the topic that we’re feeding it in. The AI Agent will give you 5 topics.
After that, we’ll put all the topics in 1 big topic by using Edit Fields Node.
Afterward, we break down each subtopic within a main topic into separate topics using the Split Out Node.
Next, we need an AI Agent Node to convert each introduction and chapter into our Google Sheet.
Then, we combine all the data into one file for analysis of each chapter.
These subtopics will form the chapters of your upcoming research report.
Think of it like setting up a giant pizza with five delicious toppings - except, there’s no greasy cleanup. The AI does all the work.
Learn How to Make AI Work For You!
Transform your AI skills with the AI Fire Academy Premium Plan – FREE for 14 days! Gain instant access to 500+ AI workflows, advanced tutorials, exclusive case studies, and unbeatable discounts. No risks, cancel anytime.
2️⃣ Step 2: Creating Chapters – Turning AI Research into a Seamless Process
Now that the planning is done, we get down to the nitty-gritty: chapter creation. This is where the magic happens. We send our subtopics to research agents (think of them as super-smart research assistants) to gather detailed info for each chapter.
First, we’ll use a website called Tavily, it’s helps us to simplify real-time information retrieval by handling searching, scraping, filtering, and extracting relevant data in a single API call. It’s totally FREE and all you need to create an account, then copy Tavily API then paste it into HTTP Node (Tavily is not directly supported in n8n).
Then we use Split Out Node all the items in Tavily into 5 individual items which is URL, title, content, score, and raw_content.
We add Code Node to assign numbers to those sources b. don't overlap source information and all this kind of stuff. ecause that's going to be important to make sure that our agents.
Then we aggregate those five individual items into one list by Aggregate Node.
On the other hand, we use AI Agent Node to create all the content for us. After that, we also you another Aggregate Node to aggregate data.
Then we use Merge Node to merge data from 2 Aggregate Node.
We’ll use an Extract from HTML Node in order to pull back the titles for each of the contents. We want to have all the titles put back into the Google Sheet to make a table of contents.
Once we have 5 items from the HTML Node, we need to convert them into a single-item array using the Code Node.
This way, we can update our Google Sheet by inserting the data into the rows.
It’s like having five research assistants working in parallel - except no coffee breaks are needed. After that having chapter 1, you copy all the flow in chapter 1 and then paste it into 5 other flows.
Meanwhile, all the juicy content is stored in Google Sheets (because why not? It’s like the world’s most organized virtual filing cabinet). At the end of this research phase, we’ve got a neat stack of data ready to be formatted into something beautiful.
3️⃣ Step 3: The Finishing Touches – Organizing AI Research (And Making It Look Good)
We’re almost there. Now comes the fun part: combining everything into a polished research report. We pull all that data from Google Sheets (where we’ve kept everything organized) and use it to generate a table of contents, list sources, and add an introductory section. This is when things start looking real fancy.
Like I said, we need to combine all the data in our Google Sheet into a limited item. So that, we don’t need to make 5 requests again.
The problem is we have different sources. The new mission is to get them into one cell. To solve that problem, we use Google Sheet Node to do that.
At this point, we’ll convert all the data into HTML format for the PDF using the AI Agent Node. It’ll create for us a source section as well as format it in HTML.
Now that we’ve got the sources section in HTML format, we’ll simply feed it back into our Google Sheet.
Now, we need a table of contents. We use AI Agent Node to do that (it’s like creating a summary). And here is our ToC that appears in our sheet.
After having ToC, we need to update our sheet by using another Google Sheet Node.
Ok, we have all the items. Before really creating a PDF, we need to get all that data by using Code Node.
We use an HTML-to-PDF magic trick (aka APITemplate.io) to turn everything into a downloadable, easy-to-read PDF. No more staring at a messy Google Doc or having to do your own formatting. It’s all automatic. All you need is go to APITemplate.io → create an account → get API → Paste it into HTTP Node.
We now have a PDF. Instead of manually downloading it, let’s use AI to do that for us. Use another HTTP Node, easy right?
The last thing we need to do is send a PDF file to our or someone's email by using Gmail Node - send message.
All you need to do is click a button, and the PDF will appear in your inbox, perfectly organized. Now we can enjoy our golden fruit in our mail.
4️⃣ Step 4: The Results – A 40-Page Report That’s Actually Useful (And Quick)
After about 6 minutes of AI Research Workflow, your 40-page report is ready. This report includes:
Title: Something snappy, like “The Breakfast Sugar Dilemma.”
Introduction: A little background on the topic - without the boring fluff.
Table of Contents: Because who doesn’t love a well-structured table of contents?
Chapters: Each chapter dives deep into a specific aspect of the topic, supported by actual research and studies.
Sources: Every chapter links back to a research source, so it’s like having a built-in bibliography that actually makes sense.
And guess what? You don’t have to worry about finding the sources yourself. The AI agents do all the heavy lifting, pulling in studies, research articles, and even experiments. It’s like having a research assistant who never takes a coffee break (and honestly, isn’t that what we all want?).
5️⃣ Step 5: The Comparison – Can ChatGPT Do This?
Let’s compare this workflow to using ChatGPT for research. It took me about 15 minutes to generate a similar report with ChatGPT, plus I had to manually copy everything into a Google Doc. The result? Just 13 pages - not exactly a deep dive.
In contrast, our workflow generates a 40-page report in just 6 minutes, fully organized, cited, and in a professional PDF. It’s faster, cheaper, and more reliable.
6️⃣ Step 6: The Costs – AI Research at an Unbeatable Price
Here’s the best part: the whole process costs less than $1 for a 40-page report. You can run it as many times as you want without spending extra. ChatGPT, however, has usage limits and can be slow, especially for detailed reports.
7️⃣ Step 7: Optimizing the Workflow – Speeding Up AI Research (And Cutting Costs!)
There’s always room for improvement! Right now, the chapters are researched one by one, but if we research them in parallel, we could save even more time. Plus, we can automate the source assignment and flow management for even greater efficiency.
🌟 Final Thoughts
So there you have it. You now have a super-efficient way to create in-depth research reports without pulling your hair out or losing sleep over formatting. It’s fast, affordable, and the best part? You don’t have to do the heavy lifting yourself. Let AI handle it all while you kick back and enjoy the results.
Time to stop Googling endless articles and manually creating reports. Embrace the future of research, and let the AI workflow handle the hard work - because you deserve it!
Once again, I’d like to extend a big thank you to Nate Herk for developing this workflow. His work has been instrumental in bringing this to life, and I’m grateful for his contribution.
If you are interested in other topics and how AI is transforming different aspects of our lives, or even in making money using AI with more detailed, step-by-step guidance, you can find our other articles here:
Build a Micro AI SaaS in Hours: Automate Custom Reports with Images and Voice Notes*
How to Get Unlimited Free Leads: Build an AI-Powered Google Maps Scraper That Works for You
AI Giants Battle: ChatGPT, Grok 3, DeepSeek V3. We Found the Winner with Detailed 3-Level Test!
6 Chrome AI Extensions That Will Make You Wonder How You Ever Worked Without Them
*indicates a premium content, if any