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
- $24.99
- 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.
Related AI workflows
- Launch Your First AI-Powered Chatbot with Actionable Tools$9.99
- Automate AI Video Creation and YouTube Upload with Google Sheets$14.99
- Build a WhatsApp Assistant with Memory, Google Suite, Multi-AI, Research, and Imaging$24.99
- Automate Blog Post Creation and Publishing with GPT, Leonardo AI, and WordPress$14.99
- Email Agent$500.99
- Automate SEO Keyword Generation with ChatGPT from Google Sheets$3.99
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.