Generate and publish WordPress posts automatically using AI keywords
Workflow Description
This automation receives keywords through a web form, uses OpenAI to generate complete article content, optionally enriches it with Wikipedia information, and publishes directly to WordPress with comprehensive error handling and conditional logic.
How it works
- 1.Receive keywords via form submission trigger
- 2.Send keywords to OpenAI for full article generation
- 3.Retrieve supplementary information from Wikipedia if needed
- 4.Publish generated article to WordPress automatically
Use cases
- Scale content production without manual writing for high-volume blogs
- Automate posting across multiple WordPress sites from keyword lists
- Generate SEO-optimized articles from search terms and topics
Requirements
- Active OpenAI account with valid API key configured
- WordPress installation with REST API enabled for post creation
- Basic understanding of webhooks, authentication, and variable mapping
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (37)
Form
Form Trigger
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note5
Sticky Note
Sticky Note9
Sticky Note
Sticky Note10
Sticky Note
Sticky Note11
Sticky Note
Sticky Note12
Sticky Note
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note13
Sticky Note
Sticky Note4
Sticky Note
Sticky Note14
Sticky Note
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Settings
Set
Sticky Note8
Sticky Note
Sticky Note15
Sticky Note
Check data consistency
If
Split out chapters
Split Out
Merge chapters title and text
Merge
Final article text
Code
Post on Wordpress
Wordpress
Upload media
HTTP Request
Set image ID for the post
HTTP Request
Respond: Success
Webhook
Respond: Error
Webhook
Sticky Note16
Sticky Note
Sticky Note17
Sticky Note
Sticky Note18
Sticky Note
Sticky Note19
Sticky Note
Sticky Note21
Sticky Note
Sticky Note22
Sticky Note
Generate featured image
OpenAI
Wikipedia
Tool Wikipedia
Create post title and structure
OpenAI
Create chapters text
OpenAI