Back to Templates

Comprehensive Research Report Generator with Gemini AI, Web Search & PDF Delivery

Created by

Created by: Hichul || melikahichul

Hichul

Last update

Last update 17 hours ago

Share


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 Tavily 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 APITemplate.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.
  • Tavily Search API:
    Sign up for a free account at Tavily and get an API key.
    In the Tavily HTTP Request nodes, create a new Header Auth credential. For the Name, enter X-Tavily-API-Key and for the Value, paste your Tavily API key.
  • APITemplate.io:
    Sign up for a free account at APITemplate.io and get an API key.
    Connect your account in the Generate PDF node's credentials.
  • Gmail:
    Connect the Gmail account you want to send the final report from in the Send Report node's credentials.