Developer & DevOps

Generate and publish WordPress posts automatically using AI keywords

37 nodes 276 185 Automatic trigger
Download

Workflow Description

This automation receives keywords through a web form, uses OpenAI to generate complete article content, optionally enriches it with Wikipedia information, and publishes directly to WordPress with comprehensive error handling and conditional logic.

How it works

  1. 1.Receive keywords via form submission trigger
  2. 2.Send keywords to OpenAI for full article generation
  3. 3.Retrieve supplementary information from Wikipedia if needed
  4. 4.Publish generated article to WordPress automatically

Use cases

  • Scale content production without manual writing for high-volume blogs
  • Automate posting across multiple WordPress sites from keyword lists
  • Generate SEO-optimized articles from search terms and topics

Requirements

  • Active OpenAI account with valid API key configured
  • WordPress installation with REST API enabled for post creation
  • Basic understanding of webhooks, authentication, and variable mapping

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Form Trigger WordPress OpenAI Tool

Details

Trigger Automatic trigger
Nodes 37
Apps 4
Views 276
Downloads 185

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (37)

/

Form

Form Trigger

#1

Sticky Note2

Sticky Note

#2

Sticky Note3

Sticky Note

#3

Sticky Note5

Sticky Note

#4

Sticky Note9

Sticky Note

#5

Sticky Note10

Sticky Note

#6

Sticky Note11

Sticky Note

#7

Sticky Note12

Sticky Note

#8

Sticky Note

Sticky Note

#9

Sticky Note1

Sticky Note

#10

Sticky Note13

Sticky Note

#11

Sticky Note4

Sticky Note

#12

Sticky Note14

Sticky Note

#13

Sticky Note6

Sticky Note

#14

Sticky Note7

Sticky Note

#15

Settings

Set

#16

Sticky Note8

Sticky Note

#17

Sticky Note15

Sticky Note

#18

Check data consistency

If

#19

Split out chapters

Split Out

#20

Merge chapters title and text

Merge

#21

Final article text

Code

#22

Post on Wordpress

Wordpress

#23

Upload media

HTTP Request

#24

Set image ID for the post

HTTP Request

#25

Respond: Success

Webhook

#26

Respond: Error

Webhook

#27

Sticky Note16

Sticky Note

#28

Sticky Note17

Sticky Note

#29

Sticky Note18

Sticky Note

#30

Sticky Note19

Sticky Note

#31

Sticky Note21

Sticky Note

#32

Sticky Note22

Sticky Note

#33

Generate featured image

OpenAI

#34

Wikipedia

Tool Wikipedia

#35

Create post title and structure

OpenAI

#36

Create chapters text

OpenAI

#37