AI research report PDF generator n8n workflow
This n8n workflow turns a topic into a professional PDF research report and sends it by Telegram and Gmail. It is for analysts, students and teams who want a quick written brief drawn from news, Wikipedia and Google search results instead of researching by hand.
What it does
A query refiner cleans up the topic, then a research agent with memory uses OpenAI, news search, Wikipedia and SerpApi web search. Results are aggregated into report sections, converted to PDF, saved to Google Drive, logged in Google Sheets and delivered.
How to use it
Send the topic through the HTTP request input, and connect OpenAI, SerpApi, Google Drive, Google Sheets, Gmail and Telegram.
Requirements and limits
SerpApi needs its own API key.
More in ChatGPT and the n8n workflow library.
Full text
Front matter
name: Automated Research Report Generation with OpenAI, Wikipedia, Google Search, and Gmail/Telegram
description: Triggered manually or by an app event. Connects Aggregate, Code, Condition, Gmail, Google Drive, Google Sheets, HTTP request, Split Out. # 📋 Research Report Workflow 🧠💻 This workflow generates a professional PDF research report on a given topic, sends it via Telegram, and emails🚀 - ## 🔍 **Query Refiner** - **What it does**: Refines the input topic for better readability. 🧹 - **Input**: Topic from the HTTP Request (e.g., "the best ai models 2025"). - **Output**: Formatted topic (e.g., "The Best AI Models 2025"). - **✨ Detail**: Capitalizes words and ensures "AI" is uppercase. - ## 📊 **Aggregate Research Data** - **What i
category: Automation
kind: Workflow
software: Aggregate|Code|Condition|Gmail|Google Drive|Google Sheets|HTTP request|Split Out|TelegramAutomated Research Report Generation with OpenAI, Wikipedia, Google Search, and Gmail/Telegram
Triggered manually or by an app event. Connects Aggregate, Code, Condition, Gmail, Google Drive, Google Sheets, HTTP request, Split Out. # 📋 Research Report Workflow 🧠💻
This workflow generates a professional PDF research report on a given topic, sends it via Telegram, and emails🚀
🔍 Query Refiner
- What it does: Refines the input topic for better readability. 🧹
- Input: Topic from the HTTP Request (e.g., "the best ai models 2025").
- Output: Formatted topic (e.g., "The Best AI Models 2025").
- ✨ Detail: Capitalizes words and ensures "AI" is uppercase.
📊 Aggregate Research Data
- **What i
Steps
- OpenAI Chat Model (noOp)
- Simple Memory (noOp)
- Search News (noOp)
- Wikipedia (noOp)
- OpenAI Chat Model1 (noOp)
- Query Refiner (noOp)
- Research AI Agent (noOp)
- Google Search Web (noOp)
- SerpApi (noOp)
- Structured Output Parser (noOp)
- Split Out (splitOut)
- Input Validation (code)
- Parse Research Output (code)
- Merge Split Items (code)
- Store Research Metadata (googleSheets)
- Sticky Note (stickyNote)
- Generate PDF HTML (code)
- Convert HTML to PDF (httpRequest)
- Aggregate (aggregate)
- Download PDF (httpRequest)
- Send Research to Gmail (gmail)
- When clicking ‘Test workflow’ (manualTrigger)
- Send PDF (telegram)
- Executed by Main AI Agent (executeWorkflowTrigger)
- Search Folder (googleDrive)
- If Node (if)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source and license
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- Deep Research Report Generation Using Open Router, Google Search, Webhook/Telegram and Notion
- Manualtrigger Workflow: Aggregate, Code and Condition
- My workflow: Aggregate, Code and Compression
- AI-Powered Information Monitoring with OpenAI, Google Sheets, Jina AI and Slack: Slack, ChatGPT and Code (n8n workflow collection) (521)
- AI-Powered Information Monitoring with OpenAI, Google Sheets, Jina AI and Slack: Slack, ChatGPT and Code (n8n workflow collection) (522)
- Httprequest Workflow: Slack, Airtable and Code
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.