Templates / Generate internet research PDF reports with GPT-4.1-mini and Gmail

Generate internet research PDF reports with GPT-4.1-mini and Gmail

Ready for 3.0

by WeblineIndia ✓ · 4 views · created 2026-09-11 · Market Research, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 20 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI and Gmail.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Check Topic Is Valid (If): checks a condition and branches into true / false
  2. Create AI Search Queries (OpenAI): uses OpenAI
  3. Send Missing Topic Message (Respond to Webhook): sends the response back to the webhook caller
  4. Format Search Queries (Code): runs custom JavaScript code
  5. Search Articles On Internet (HTTP Request): calls an HTTP API (POST)
  6. Extract Search Results (Code): runs custom JavaScript code
  7. Limit: keeps the first few items
  8. Create Jina Reader URL (Edit Fields (Set)): sets 1 field: readerUrl
  9. Read Full Article Content (HTTP Request): calls an HTTP API
  10. Clean Article Text (Code): runs custom JavaScript code

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

Services it uses

OpenAIGmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Quick Overview This workflow accepts a research topic via webhook, uses OpenAI to generate search queries and summarize web articles found via Serper/Google Search and Jina Reader, then compiles insights into an HTML report, converts it to PDF, and emails it…

Excerpt from WeblineIndia'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.