AI · Automation 2025 Completed
AI-Powered WordPress Content Creator — GPT-4 & DALL-E Blog Writer
A form-driven n8n workflow that writes structured, multi-chapter WordPress articles with GPT-4, enriches them with Wikipedia, and attaches a DALL-E featured image.
Built by Redoan Uzzaman, Full-Stack Developer & AI Engineer.

Overview
AI-Powered WordPress Content Creator turns a short form submission into a complete WordPress draft, including a title, subtitle, introduction, chapters, conclusion and featured image.
How it works
- A web form collects the topic, keywords and number of chapters (1–10).
- GPT-4 generates the article structure, using a Wikipedia tool to ground it in verified information.
- A validation step checks the generated structure for consistency before continuing.
- Each chapter is written in sequence, with prompts that keep the flow logical between sections, then the pieces are merged and formatted as HTML.
- DALL-E creates a photographic featured image, which is uploaded through the WordPress REST API and attached to the post.
- The article is saved as a WordPress draft and the form responds with the result.
Engineering notes
Saving as a draft keeps a human in the loop for final edits, and the workflow is documented with detailed sticky notes on the canvas.
Key Features
- Simple web form trigger
- GPT-4 article structure and chapter writing
- Wikipedia tool for factual enrichment
- Consistency validation before posting
- DALL-E featured image generation
- Posts as a WordPress draft with image attached
Tech Stack
- n8n
- OpenAI GPT-4
- DALL-E
- Wikipedia
- WordPress REST API
- JavaScript
Want something like this built?
Redoan Uzzaman takes on AI, automation and full-stack projects for clients worldwide.