Generate SEO-optimized WordPress blog posts with Perplexity and Gemini
Needs changesWhat 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”).
- Perplexity Research (HTTP Request): calls api.perplexity.ai (POST)
- Cleanup Links (Edit Fields (Set)): sets 1 field: research
- Copywriter AI Agent (AI Agent): runs an AI agent, with model: OpenRouter Chat Model
- Create Title, Slug, Meta (AI Agent): runs an AI agent, with model: OpenRouter Chat Model; output parser: Structured Output Parser
- Merge: merges the data from its input branches
- Message a model (Google Gemini): uses Google Gemini
- Combine Blog Details (Aggregate): combines items into one
- Cleanup HTML (Edit Fields (Set)): sets 1 field: content
- Wordpress: uses Wordpress
- Set Image URL (Edit Fields (Set)): sets 1 field: image-url
…plus 4 more steps. See the full node list below.
Services it uses
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.0 | Replace 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)
- Wordpress
n8n-nodes-base.wordpress - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Merge
n8n-nodes-base.merge - HTTP Request
n8n-nodes-base.httpRequest - n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Telegram
n8n-nodes-base.telegram - Aggregate
n8n-nodes-base.aggregate - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
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…