Templates / Generate SEO-optimized WordPress blog posts with Perplexity and Gemini

Generate SEO-optimized WordPress blog posts with Perplexity and Gemini

Needs changes

by Ravi Patel ✓ · 205 views · created 2026-06-15 · Content Creation, 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 18 nodes and runs when someone submits an n8n form (“Blog Factory”). Along the way it connects Wordpress, Telegram, OpenRouter Chat Model and Google Gemini. It also calls api.perplexity.ai and commonclone.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Blog Factory”).

  1. Perplexity Research (HTTP Request): calls api.perplexity.ai (POST)
  2. Cleanup Links (Edit Fields (Set)): sets 1 field: research
  3. Copywriter AI Agent (AI Agent): runs an AI agent, with model: OpenRouter Chat Model
  4. Create Title, Slug, Meta (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; output parser: Structured Output Parser
  5. Merge: merges the data from its input branches
  6. Message a model (Google Gemini): uses Google Gemini
  7. Combine Blog Details (Aggregate): combines items into one
  8. Cleanup HTML (Edit Fields (Set)): sets 1 field: content
  9. Wordpress: uses Wordpress
  10. Set Image URL (Edit Fields (Set)): sets 1 field: image-url

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

Services it uses

WordpressTelegramOpenRouter Chat ModelGoogle Gemini

HTTP calls to: api.perplexity.ai, commonclone.com

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 Create Title, Slug, Meta (v1.8), Copywriter 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
AI Agent v1 (old agent modes)
Create Title, Slug, Meta (v1.8), Copywriter 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 (11)

From the author

Quick Overview This workflow collects a research query from an n8n form, researches it with Perplexity, drafts and formats an SEO blog post using OpenRouter and Google Gemini, then creates a draft in WordPress, uploads and sets a featured image, and sends a…

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