n8n

How to Automate WordPress Content Production?

Turn simple keywords into full blog drafts on WordPress. Team members submit a short form, and the system builds a title, outline, chapters, and a featured image. It is ideal for content teams and agencies that need steady SEO posts without extra manual work.

Here is how it runs end to end. A form collects keywords and the number of chapters. The workflow sets defaults, then uses OpenAI to create the title, subtitle, chapter list, and an image prompt, with optional facts pulled from Wikipedia to guide the tone. A data check node validates the AI output. The chapters are split so OpenAI can write each one. The parts are merged into a single article and saved as a draft in WordPress. An AI image is generated, uploaded to the media library, and attached as the featured image. You get a clear success or error response.

To set it up you need WordPress access with API enabled and an OpenAI key. Expect to cut draft production time from hours to minutes, while keeping a clear review step before publishing. Use it for SEO sprints, product education posts, or niche blog networks that need scale with quality control.

What are the key features?

  • Form trigger collects keywords and chapter count from a simple web form
  • Settings node applies defaults for tone, chapter limits, and prompts
  • OpenAI builds the title, subtitle, outline, and image prompt from the input
  • Wikipedia tool feeds reference facts to guide the AI content
  • Data consistency check validates AI output and routes clear errors
  • Split and loop writes each chapter with OpenAI for consistent depth
  • Merge and compile creates the final article body ready for review
  • WordPress post action saves the article as a draft with mapped fields
  • AI image generation creates a featured image from the prompt
  • Media upload and featured image assignment complete the post package

What are the benefits?

  • Reduce manual drafting time from 3 hours to about 10 minutes
  • Automate up to 80 percent of the content creation steps
  • Improve structural accuracy with a data check before posting
  • Handle up to 10 times more posts per week without extra staff
  • Connect OpenAI, Wikipedia, and WordPress in one flow
  • Save image sourcing time by generating and attaching a featured image automatically

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 WordPress, OpenAI and Wikipedia. See the Tools Required section above for links to create accounts with these services.
  3. In n8n Cloud, open the Credentials page. For each node that connects to an external app, double click the node and in the Credential to connect with dropdown click Create new credential, then follow the on screen instructions to integrate that service.
  4. WordPress credentials: create or use an application password or API access in your WordPress site. In the WordPress nodes, choose your new credential and confirm the site URL. Test by running the Upload media node with a small placeholder file.
  5. OpenAI credentials: get an API key from your OpenAI account. In the OpenAI nodes, select Create new credential, paste your key, and save. Run a test call on the Create post title and structure node with sample keywords.
  6. Wikipedia tool: this node does not require credentials. Keep the defaults unless you want to filter results by language.
  7. Open the Form Trigger node and confirm the path create-wordpress-post and the form fields for Keywords and Number of chapters are present and required.
  8. Review the Settings node to adjust default tone, maximum chapters, and any prompt variables used by the AI nodes.
  9. In the Create post title and structure node, ensure the keywords from the form map into the prompt. Pick your preferred OpenAI model and temperature.
  10. Check the data consistency If node to confirm it validates required fields like title, subtitle, chapters, and image prompt. Edit conditions if your content format differs.
  11. In Post on WordPress, map the article title and final content. Set Status to Draft so editors can review before publishing.
  12. Verify the featured image flow: Generate featured image produces an image, Upload media sends it to WordPress, and Set image ID for the post attaches it to the draft.
  13. Run a full test: open the form URL, submit sample keywords, and confirm you receive a success response. Check your WordPress drafts for the new post and confirm the featured image displays correctly.
  14. Troubleshoot tips: if you get an error response, inspect the data check node output. If media upload fails, confirm WordPress permissions and file size limits. If the featured image is missing, verify the image ID mapping in the final WordPress node.

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.