Templates / Automate research-based newsletters with Perplexity, GPT-4, and image generation

Automate research-based newsletters with Perplexity, GPT-4, and image generation

Needs changes

by Tianyi ✓ · 920 views · created 2025-05-04 · Social Media, Multimodal AI

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

What this workflow does

This AI workflow has 17 nodes and runs on a schedule (every day). Along the way it connects OpenAI Chat Model, Google Cloud Storage, Google Sheets and Gmail and 1 more.

How it runs

Trigger: On a schedule (every day).

  1. GetNewsletterTopic (Google Sheets): uses Google Sheets
  2. GetFirstTopic (Limit): keeps the first few items
  3. UpdateStatus (Google Sheets): uses Google Sheets
  4. Input (Edit Fields (Set)): sets or maps fields
  5. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Perplexity Search); output parser: Structured Output Parser
  6. GPT Image Generation (HTTP Request): calls an HTTP API
  7. Convert to Binary File (Convert to File): converts data to a file
  8. GetClientList (Google Sheets): uses Google Sheets
  9. Google Cloud Storage: uses Google Cloud Storage
  10. Merge: merges the data from its input branches

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

Services it uses

OpenAI Chat ModelGoogle Cloud StorageGoogle SheetsGmailHTTP Request

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.9): 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
AI Agent v1 (old agent modes)
AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (13)

From the author

This n8n workflow automates the process of creating and sending high-quality newsletters with images generated by a GPT image generator. It is triggered on a schedule. What is included? - 1 n8n workflow (json) - 1 Setup tutorial doc - 1 video guidance on how…

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