Templates / AI Blog Draft Generator to WordPress

AI Blog Draft Generator to WordPress

Intermediate   Apps: OpenAI, WordPress  ·  Setup: 15 minutes

The hardest part of a company blog is going from 'we should write about X' to a first draft. This workflow gives you a form: type the topic, audience, and key points, and a structured draft (headline options, intro, H2 sections, conclusion) appears in WordPress as an unpublished draft. It deliberately does NOT auto-publish - AI writes the draft, a human ships it.

Download workflow JSON (free) Setup guide

What this workflow does

  1. An n8n Form Trigger gives you a hosted form with topic, audience, and key-points fields.
  2. An OpenAI node writes a structured draft in clean HTML: title, intro, H2 sections built from your key points, and a conclusion with a call to action.
  3. A Code node splits the AI output into title and body.
  4. A WordPress node creates the post with status 'draft' so nothing goes live without your edit.

Setup guide

  1. Import the JSON into n8n (Workflows > Import from File).
  2. Add your OpenAI API key in the OpenAI node.
  3. Connect WordPress: your site URL plus an Application Password (Users > Profile > Application Passwords).
  4. Open the Form Trigger node and copy the production form URL - bookmark it.
  5. Activate the workflow, submit a test topic, and check Posts > Drafts in WordPress.

Want this running 24/7?

Self-host n8n on a cheap VPS and this workflow runs around the clock for less than a coffee a month.

Get an n8n VPS from $5/month

FAQ

Can it auto-publish instead of saving a draft?Change the status field in the WordPress node from draft to publish. We recommend keeping human review - AI drafts read best after a 10-minute edit.
Can it also generate the featured image?Add an OpenAI image node after the draft step, upload the result with an HTTP Request node to /wp-json/wp/v2/media, and set featured_media on the post.
Does this work with Ghost or Webflow instead?Same pattern: swap the WordPress node for Ghost (Admin API, status draft) or a Webflow CMS item create. The form and AI steps are unchanged.

Want the workflows this one is a warm-up for?

The Mega Bundle packs both WorkflowForge Pro volumes — 32 production-grade workflows: automations (cart recovery, lead scoring, invoice extraction) and AI agents (support agent, calendar assistant, research agent), each with a setup guide. $39 for both, instant download.

Get the Mega Bundle →

Need it customized for your exact process?

I build custom n8n automations and AI agents professionally: your tools, your edge cases, tested and documented.

Hire me on Fiverr →