Generate SEO blog posts with Claude and save drafts to WordPress
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs when someone submits an n8n form (“Create a WordPress blog post with AI”). Along the way it connects Anthropic Chat Model, Anthropic and Wordpress.
How it runs
Trigger: When someone submits an n8n form (“Create a WordPress blog post with AI”).
- Set Article Parameters (Edit Fields (Set)): sets 6 fields: keywords, section_count, max_words…
- Fetch Reference Article Content (HTTP Request): calls an HTTP API
- Parse Article Structure (Code): runs custom JavaScript code
- AI Generate Article Outline (AI Agent): runs an AI agent, with model: Claude Sonnet AI Model
- Normalize Outline Data (Code): runs custom JavaScript code
- Check Outline Validity (If): checks a condition and branches into true / false
- Split Article Sections (Split Out): splits a list into separate items
- Prepare Title and Introduction (Edit Fields (Set)): sets 2 fields: title, introduction
- Display Error Message (n8n Form): shows the next form page
- AI Generate Section Content (Anthropic): uses Anthropic
…plus 9 more steps. See the full node list below.
Services it uses
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 (12)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - If
n8n-nodes-base.if - n8n Form
n8n-nodes-base.form - Split Out
n8n-nodes-base.splitOut - Anthropic
@n8n/n8n-nodes-langchain.anthropic - Merge
n8n-nodes-base.merge - Wordpress
n8n-nodes-base.wordpress
From the author
Quick overview This workflow collects blog keywords via an n8n form, uses Anthropic Claude to plan and write an SEO-focused article based on a reference post’s structure, then assembles the content into HTML, generates SEO metadata and FAQs, and saves the…