Write a WordPress post with AI (starting from a few keywords)
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when someone submits an n8n form (“Create a WordPress post with AI”). Along the way it connects OpenAI, Wikipedia and Wordpress. It also calls wp-demo.mondo.surf over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Create a WordPress post with AI”).
- Settings (Edit Fields (Set)): sets 4 fields: wordpress_url, keywords, chapters…
- Create post title and structure (OpenAI): uses OpenAI, with 1 tool (Wikipedia)
- Check data consistency (If): checks a condition and branches into true / false
- Split Out: splits a list into separate items
- Form (n8n Form): shows the next form page
- OpenAI: uses OpenAI
- Merge: merges the data from its input branches
- Final article text (Code): runs custom JavaScript code
- Post on Wordpress (Wordpress): uses Wordpress
- Generate featured image (OpenAI): work with image
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: wp-demo.mondo.surf
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 (11)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Split Out
n8n-nodes-base.splitOut - OpenAI
@n8n/n8n-nodes-langchain.openAi - Edit Fields (Set)
n8n-nodes-base.set - Wikipedia
@n8n/n8n-nodes-langchain.toolWikipedia - If
n8n-nodes-base.if - n8n Form
n8n-nodes-base.form - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Wordpress
n8n-nodes-base.wordpress - HTTP Request
n8n-nodes-base.httpRequest
From the author
This n8n workflow template allows you to write WordPress posts by just providing a few keywords. It uses AI technology to write the text and to create the post's featured image. The text includes an introduction, chapters, and conclusions. Each chapter is…