Automated Content Generation & Publishing - Wordpress
Configured with Google Sheets, HTTP Request, Open Ai, Schedule Trigger, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Integration
- Code
- Wait
- Data store
- Trigger
- 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 |
|---|---|---|---|
| Create posts on Wordpress | Integration | Wordpress | See node parameters |
| Processing Delay | Code | Code | See node parameters |
| Random Wait | Wait | Wait | See node parameters |
| Save to Sheet | Data store | Google Sheets | append |
| 1. Auto Start | Trigger | Schedule Trigger | See node parameters |
| 2. When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| 3. Schedule Your Posts | Trigger | Schedule Trigger | See node parameters |
| Automated Image Retrieval from Pexels | Web / API | HTTP Request | See node parameters |
| Generate AI Content | 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
googleSheetsOAuth2ApiopenAiApiwordpressApi
Workflow notes
Automated Article Scheduling
Automated Article Scheduling
1. Fast Bulk Article Generation Quickly create multiple AI-generated articles. Efficiently streamline content creation. Reduces manual effort while maintaining quality.
2. Workflow Testing Before Execution Manually test the workflow for debugging. Ensure each step runs as expected. Optimize before full automation.
3. Automated & Randomized Publishing Schedule posts at predefined intervals. Introduce random delays for a natural posting pattern. Prevents overly predictable publishing behavior.
AI Content Generating
AI Content Generating
**Automatic Content & Keyword Generation
- Use your own prompt to start
- ChatGPT generates full-length articles with structured headings.
- Extracts relevant image search keywords for visual enhancement.
- To implement this, add the following prompt (green note) below your workflow:
**Final JSON Format
(YOUR PROMPT)
Image Search Keywords (For Visual Alignment)
- Automatically generates 3-5 English keywords for image searches based on the article content.
- Keywords should be specific objects, locations, or atmospheres rather than abstract concepts.
Article Formatting Requirements
1️⃣ Title (H1): Ensure unique and trend-driven headlines. 2️⃣ H2 / H3 Subheadings: Structure content in an SEO-optimized format. 3️⃣ Article Structure (Enhanced Readability)
** Introduction **
- Go straight to the point, avoiding excessive background.
- Use question hooks or market trend data to engage readers.
** Core Content **
- Include at least three knowledge points to ensure depth.
- Balance short and long sentences for better flow.
** Conclusion **
- Avoid generic AI-style summaries; instead, provide insights or actionable takeaways.
- Optionally include a CTA (Call to Action).
** HTML Formatting ** Ensure the article is properly structured in HTML format:
- Headings: Use , , appropriately.
- Paragraphs: Enclose text within .
- Emphasized Words: Use to highlight key terms.
- Lists: Use and for bullet points.
Ensure a clean, well-structured output instead of plain text.
**Final JSON Format
Ensure the output follows this structure:
{ "title": "{Generate an H1 title that aligns with market trends, ensures high click-through rates, and follows keyword strategy}", "content": "{Generate a complete HTML article including H1, H2, H3 headings, paragraphs, lists, etc.}", "keywords": ["{Image search keyword 1}", "{Image search keyword 2}", "{Image search keyword 3}", "{Image search keyword 4}", "{Image search keyword 5}"] }
Google Sheet Setting
Google Sheet Setting
You need to set up these in your sheet column
- title
- content
- image search keyword
Mapping "Values to Send"
- {{ $json.message.content.title }}
- {{ $json.message.content.content }}
- {{ $json.message.content.keywords.join("+") }}
Introduction: WordPress automatically publishes posts and inserts the first image
Introduction: WordPress automatically publishes posts and inserts the first image
It is highly recommended to install the Featured Image from URL (FIFU) plugin and enable:
Auto > Set Featured Media Automatically from Content. before you generate contents.
Sticky Note5
Add your API credential
Automated Content Generation & Publishing - Wordpress
Automated Content Generation & Publishing - Wordpress
Purpose and structure
This folder contains the Automated Content Generation & Publishing - Wordpress workflow. Its executable nodes use code, googleSheets, httpRequest, manualTrigger, openAi, scheduleTrigger, wait, 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
- Auto Start, 2. When clicking ‘Test workflow’, 3. Schedule Your Posts
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/Wait/1771_Wait_Code_Automate_Webhook.json MIT; preserve source notices.