Write a WordPress post with AI (starting from a few keywords)
Configured with Form Trigger, HTTP Request, Open Ai, Respond To Webhook, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Transform
- Routing
- Code
- Integration
- Web / API
- AI & models
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Form | Trigger | Form Trigger | See node parameters |
| Settings | Transform | Edit Fields | See node parameters |
| Check data consistency | Routing | If | See node parameters |
| Split out chapters | Transform | Split Out | See node parameters |
| Merge chapters title and text | Transform | Merge | See node parameters |
| Final article text | Code | Code | See node parameters |
| Post on Wordpress | Integration | Wordpress | See node parameters |
| Upload media | Web / API | HTTP Request | POST |
| Set image ID for the post | Web / API | HTTP Request | POST |
| Respond: Success | Web / API | Respond To Webhook | See node parameters |
| Respond: Error | Web / API | Respond To Webhook | See node parameters |
| Generate featured image | AI & models | Open Ai | image |
| Wikipedia | Integration | Tool Wikipedia | See node parameters |
| Create post title and structure | AI & models | Open Ai | See node parameters |
| Create chapters text | AI & models | Open Ai | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
openAiApiwordpressApi
Workflow notes
Sticky Note3
Checks that the data returned by OpenAI is correct
Sticky Note9
The article is posted as a draft on WordPress
Sticky Note11
The image is generated with Dall-E, uploaded to WordPress, and then connected to the post as its featured image
Sticky Note12
Starting from the given keywords, generates the article title, subtitle, chapters, and image prompt
Sticky Note13
The user triggers the post creation
Sticky Note14
Final confirmation to the user
Sticky Note6
User is notified to try again since some data is missing
Sticky Note7
Wikipedia is used to write the article
Sticky Note15
Set the URL of your WordPress here
Sticky Note17
Splits out chapter contents from the previous node
Sticky Note18
Writes the text for each chapter
Sticky Note22
Merges the content and prepare it before sending it to WordPress
Write a WordPress post with AI (starting from a few keywords)
Write a WordPress post with AI (starting from a few keywords)
Purpose and structure
This folder contains the Write a WordPress post with AI (starting from a few keywords) workflow. Its executable nodes use code, formTrigger, httpRequest, if, merge, openAi, respondToWebhook, set, splitOut, toolWikipedia, wordpress. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Form
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/1753_Splitout_Code_Automation_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Data check
- Draft on WordPress
- Featured image
- Article structure
- User form
- User feedback
- Settings
- Chapters split
- Chapters text
- Content preparation