Templates / Automated research report generation with AI, Wiki, Search & Gmail/Telegram

Automated research report generation with AI, Wiki, Search & Gmail/Telegram

Needs changes

by Immanuel ✓ · 7,150 views · created 2025-04-16 · Content Creation, AI RAG

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: HTTP Request Tool (legacy), AI Agent v1 (old agent modes). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 25 nodes and runs when another workflow calls it (plus 1 other trigger). Along the way it connects OpenAI Chat Model, HTTP Request, Google Sheets and Gmail and 2 more. It also calls api.pdfshift.io over HTTP.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. Input Validation (Code): runs custom JavaScript code
  2. Query Refiner (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  3. Research AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 4 tools (SerpApi, Wikipedia, Search News, Google Search Web); memory: Simple Memory
  4. Parse Research Output (Code): runs custom JavaScript code
  5. Split Out: splits a list into separate items
  6. Merge Split Items (Code): runs custom JavaScript code
  7. Aggregate: combines items into one
  8. Store Research Metadata (Google Sheets): append
  9. Generate PDF HTML (Code): runs custom JavaScript code
  10. Convert HTML to PDF (HTTP Request): calls api.pdfshift.io (POST)

…plus 5 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelHTTP RequestGoogle SheetsGmailTelegramGoogle Drive

HTTP calls to: api.pdfshift.io

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • HTTP Request Tool (legacy) in Search News, Wikipedia, Google Search Web…: replace with HTTP Request node connected to the AI Agent's Tool input.
  • AI Agent v1 (old agent modes) in Query Refiner (v1.8), Research AI Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
HTTP Request Tool (legacy)
Search News, Wikipedia, Google Search Web, SerpApi
HTTP Request node connected to the AI Agent's Tool input
AI Agent v1 (old agent modes)
Query Refiner (v1.8), Research AI Agent (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (16)

From the author

Automated Research Report Generation with OpenAI, Wikipedia, Google Search, Gmail/Telegram and PDF Output --- Description What Problem Does This Solve? 🛠️ This workflow automates the process of generating professional research reports for researchers,…

Excerpt from Immanuel's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.