n8n

How to Generate WordPress SEO Blog Drafts?

Turn keyword ideas into a full blog draft on WordPress. A simple form collects your topic, tone, and key terms, then the flow writes the post and adds a matching featured image. Great for marketing teams that need steady content without long writing time.

After the form is submitted, the flow sets defaults, then uses OpenAI to build a title, subtitle, outline, and an image prompt. It pulls quick facts from Wikipedia to add context. A data check step validates the output so empty or missing parts do not pass. Each chapter is processed on its own with OpenAI to expand the text. The parts are merged into one clean article. The draft is created in WordPress. An image is generated with the OpenAI image model, uploaded to WordPress, and set as the featured image.

You need an OpenAI API key and WordPress access that can create posts and upload media. Map the form fields to your brand tone and categories, then test with a few topics. Many teams cut writing time, keep a stable posting schedule, and scale content across more keywords while keeping quality checks in place.

What are the key features?

  • Form trigger collects keywords, tone, and extra notes from the user
  • OpenAI creates the title, subtitle, outline, and image prompt from the form input
  • Wikipedia adds quick background facts to guide the article
  • Data consistency check blocks empty sections and missing fields
  • Split processing expands each chapter separately for better depth
  • Merges chapter titles and text into one final article body
  • WordPress action saves the article as a draft for review
  • OpenAI image generation creates a featured image and uploads it to WordPress
  • Featured image is linked to the draft automatically

What are the benefits?

  • Reduce draft creation time from 3 hours to 10 minutes
  • Automate 80 percent of writing steps from outline to image
  • Improve content consistency with built in data checks
  • Connect research writing and publishing in one flow
  • Handle up to 5 times more content requests with the same team
  • Cut upload errors by 90 percent with automatic image attach

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with OpenAI, WordPress and Wikipedia. See the Tools Required section above for links to create accounts with these services.
  3. Open the Create post title and structure node and the OpenAI node. In each node, choose Credential to connect with, click Create new credential, and paste your OpenAI API key from the OpenAI account page.
  4. Open the Post on WordPress and Upload media nodes. In each node, choose Credential to connect with, click Create new credential, and follow the on screen steps to connect your WordPress site. If your site supports Application Passwords, create one in your WordPress profile and use it here.
  5. The Wikipedia node does not need credentials. Leave it as is, or adjust the query field to match your keyword input.
  6. Open the On form submission trigger. Copy the public form URL and submit a test entry with sample keywords, tone, and any extra notes.
  7. Review the Settings node. Set default values such as post status draft, default category, and any style or length settings used by prompts.
  8. Open the Create post title and structure node and adjust the prompt to match your brand voice. Confirm the Wikipedia output is mapped into the prompt context.
  9. Check the Check data consistency node. Ensure it validates title, subtitle, chapter list, and the image prompt. Set clear fallback messages if a field is missing.
  10. In the Post on WordPress node, map title to the article title and content to the merged article text. Set Status to draft and pick the right author or category if needed.
  11. Run a test from the form. Confirm a new draft appears in WordPress and a featured image is attached. If the image is missing, check the Upload media node file type and size settings.
  12. Troubleshoot common issues: 401 or 403 errors on WordPress mean credentials or permissions are wrong. Empty content means the data check blocked output, so review required fields. Rate limit errors on OpenAI can be fixed by lowering concurrency in Split Out or slowing requests.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Wikipedia

Sign up

Free: $0 (public Wikimedia APIs). Enterprise Free: $0 with 5,000 on‑demand requests / mo and twice‑monthly snapshots

WordPress

Sign up

Free plan: $0 / mo (WordPress.com REST API supports creating posts)

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.