Templates / Generate SEO blog drafts from Google Sheets to WordPress with OpenAI

Generate SEO blog drafts from Google Sheets to WordPress with OpenAI

Ready for 3.0

by Tan Yit Shen · 231 views · created 2026-05-19 · 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 45 nodes and runs on a schedule (every day at 08:00). Along the way it connects Google Sheets, Gmail, OpenAI Chat Model and Wordpress. It also calls api.pexels.com over HTTP.

How it runs

Trigger: On a schedule (every day at 08:00).

  1. Get All Info Required from Sheets (Google Sheets): uses Google Sheets
  2. Check Rows Found (If): checks a condition and branches into true / false
  3. Loop for Each Row (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Nothing to Process (Edit Fields (Set)): sets or maps fields
  5. Send Completion Email (Gmail): uses Gmail
  6. Current Row Context (Edit Fields (Set)): sets or maps fields
  7. Log Empty Run (Google Sheets): append
  8. Set Complete (Edit Fields (Set)): sets or maps fields
  9. SEO Blog AI Agent (AI Agent): runs an AI agent, with model: Blog Model, Fallback Blog Model; output parser: Blog JSON Output Parser
  10. Log Complete (Google Sheets): append

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

Services it uses

Google SheetsGmailOpenAI Chat ModelWordpress

HTTP calls to: api.pexels.com

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

From the author

Description Generate SEO-friendly WordPress blog drafts from a Google Sheets queue using OpenAI. This workflow writes full HTML blog content, selects a relevant Pexels featured image with a second AI Agent, uploads the image to WordPress, creates the post as…

Excerpt from Tan Yit Shen'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.