Templates / Automated blog publishing with Google Trends, GPT-4, Pexels & WordPress

Automated blog publishing with Google Trends, GPT-4, Pexels & WordPress

Ready for 3.0

by Cojocaru David · 1,807 views · created 2025-09-05 · Content Creation, Multimodal AI

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 on a schedule (every 25 minutes). Along the way it connects Google Sheets, OpenAI Chat Model and Wordpress. It also calls trends.google.it, quickchart.io and clipmint.pro over HTTP.

How it runs

Trigger: On a schedule (every 25 minutes).

  1. Main Config (Edit Fields (Set)): sets 1 field: min_traffic
  2. GoogleTrends (HTTP Request): calls trends.google.it
  3. XML: converts between XML and JSON
  4. Filter Scraped Keywords (Code): runs custom JavaScript code
  5. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  6. Get row in sheet (Google Sheets): uses Google Sheets
  7. Append or update row in sheet (Google Sheets): append or update
  8. Grab one random keyword (Code): runs custom JavaScript code
  9. AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  10. Update row in sheet (Google Sheets): update

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

Services it uses

Google SheetsOpenAI Chat ModelWordpress

HTTP calls to: trends.google.it, quickchart.io, clipmint.pro

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 (11)

From the author

This n8n template demonstrates how to automatically generate and publish blog posts using trending keywords, AI-generated content, and watermarked stock images. Use cases include maintaining an active blog with fresh SEO content, scaling content marketing…

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