Automate SEO blog pipeline from keywords to WordPress with GPT-5 & fal.ai images
Ready for 3.0What this workflow does
This AI workflow has 79 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Wordpress, OpenAI, OpenAI Chat Model and Postgres and 1 more.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Fetch Keywords (Postgres): uses Postgres
- select blog table (Postgres): uses Postgres
- Limit: keeps the first few items
- Limit: keeps the first few items
- Edit Fields (Edit Fields (Set)): sets or maps fields
- Preliminary Plan (OpenAI): uses OpenAI
- Aggregate: combines items into one
- Message a model (Perplexity): uses Perplexity
- Basic LLM Chain: sends a prompt to an LLM, with model: OpenRouter Chat Model
- Choose keywords, Intent, etc (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Select rows from a table in Postgres); output parser: Structured Output Parser
…plus 53 more steps. See the full node list below.
Services it uses
Other OpenAI + PostgreSQL templates (191) · Other OpenAI + OpenRouter templates (102) · Other WordPress + OpenAI templates (91)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (22)
- Edit Fields (Set)
n8n-nodes-base.set - Markdown
n8n-nodes-base.markdown - Wordpress
n8n-nodes-base.wordpress - OpenAI
@n8n/n8n-nodes-langchain.openAi - Perplexity
n8n-nodes-base.perplexity - Split Out
n8n-nodes-base.splitOut - Aggregate
n8n-nodes-base.aggregate - Merge
n8n-nodes-base.merge - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code - Postgres
n8n-nodes-base.postgres - Limit
n8n-nodes-base.limit - Schedule Trigger
n8n-nodes-base.scheduleTrigger - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Postgres Tool
n8n-nodes-base.postgresTool - AI Agent
@n8n/n8n-nodes-langchain.agent - No Operation, do nothing
n8n-nodes-base.noOp
From the author
✍️ AI-Powered SEO Blog Automation Workflow Complete PostgreSQL-backed system: Keyword scoring → AI research → Multi-part content generation → fal.ai Nano Banana image generation → WordPress publishing Real Example: AI Applications in Real Estate Playbook —…