Comprehensive Research Report Generator with Gemini AI, Web Search, & PDF Delivery - n8n Workflow | Neura Market
Comprehensive Research Report Generator with Gemini AI, Web Search, & PDF Delivery
## This workflow is an autonomous AI research assistant that transforms a single topic into a comprehensive, multi-chapter report. Designed for researchers, students, and content creators, it automates the entire process from planning and online research to writing, formatting, and delivering a final PDF report directly to your email.
## How it works
**Trigger:** The workflow begins when a user submits a research topic and an email address through a form.
- **AI Planning:** An AI agent breaks the main topic into five focused subtopics. It then generates an engaging report title, a detailed introduction, and chapter headings, saving this initial structure to a Google Sheet.
- **Parallel Research and Writing:** The workflow then splits into five parallel paths, one for each subtopic. In each path, it uses the Avily Search API to gather real-time information from the web. A dedicated AI writer then synthesizes this research into a complete, well-formatted HTML chapter with inline citations.
- **Content Aggregation:** As each chapter is completed, its content, sources, and section titles are saved to the central Google Sheet.
- **Final Assembly and Delivery:** Once all chapters are written, the workflow compiles the title, introduction, a newly generated table of contents, all chapters, and a complete list of sources into a single HTML document. This document is sent to APIemplate.io to be converted into a professionally formatted PDF, which is then emailed as an attachment to the address provided in the form.
## Set up steps
- **Google Sheets:**
- Make a copy of the provided Google Sheet template.
- Connect your Google account in the credentials menu.
- Update all Google Sheets nodes to use your copied sheet by selecting it from the list.
- **AI Language Model (Google Gemini):**
- Sign up for an API key from the Google AI Platform.
- Connect your account in the Google Gemini Chat Model nodes. This template is pre-configured for the affordable gemini-pro-flash-lite model.
- **Avily Search API:**
- Sign up for a free account at Avily and get an API key.
- In the Avily HTTP Request nodes, create a new Header Auth credential. For the Name, enter X-Avily-API-Key and for the Value, paste your Avily API key.
- **APIemplate.io:**
- Sign up for a free account at APIemplate.io and get an API key.
- Connect your account in the Generate PDF nodes credentials.
- **Gmail:**
- Connect the Gmail account you want to send the final report from in the Send Report nodes credentials.
Platform
n8n
Category
AI
Price
Free
Creator
Hichul
anomaly-detection
set
code
html
gmail
limit
merge
switch
splitOut
aggregate
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.