Automate WordPress blog engagement using this n8n workflow. It fetches articles, uses the OpenAI n8n node to generate relevant comments, and posts them back automatically.
Download this n8n workflow template and start using it instantly.
Maintaining active engagement on a blog is crucial for SEO and community building, but generating comments manually can be time-consuming. This powerful n8n workflow solves this problem by automating the entire process using generative AI.
This robust n8n automation template fetches recent articles from your WordPress site via the REST API. It then feeds the article content into an OpenAI n8n node (configured for GPT-5) with a highly specific prompt designed to elicit natural, conversational responses. Finally, it posts the comment back to the respective article using dynamic data (including randomly generated author details).
This is one of the most practical n8n templates available for streamlining content operations and leveraging AI for genuine engagement.
The process begins with the "When clicking ‘Execute workflow’" manual n8n trigger, allowing the user to initiate the bulk comment generation on demand.
/wp/v2/posts) and retrieves a list of the 100 most recently published articles, fetching only essential fields like ID, title, and content./wp/v2/comments). This final step ensures the comment is published, using dynamic expressions to link the comment to the correct post ID, assign the AI-generated content, and provide randomized author details (name and email) for variety and realism.To deploy this n8n workflow, follow these steps:
httpBasicAuth credentials with your WordPress application password and username.openAiApi credentials with your active OpenAI API key.https://example.com in both HTTP Request n8n nodes with your actual WordPress site domain.This n8n template relies on several key n8n node configurations to function correctly:
When clicking ‘Execute workflow’ (Manual Trigger): This n8n trigger is used for development and manual runs, enabling quick execution of the n8n workflow.
Fetch Articles from WordPress (HTTP Request n8n node):
URL: Must be set to your site's REST API endpoint (e.g., /wp-json/wp/v2/posts).
Authentication: Uses HTTP Basic Auth to ensure the n8n node has permission to access published posts.
Fields: Configured to only retrieve necessary fields (id, title, excerpt, content, link, commentstatus) to optimize API response time.
Build Article Comment Prompt (Set n8n node):
Function: Cleans HTML from the article content/excerpt and dynamically inserts the title and summarized content into a highly specific AI instruction prompt. This ensures the AI generation is focused and relevant.
Generate Article Comment (AI) (OpenAI n8n node):
Model: Explicitly set to gpt-5 for high-quality, nuanced conversational output.
Input: Receives the meticulously built prompt from the previous n8n node.
Post Comment to Article (HTTP Request n8n node):
Method: POST to the WordPress comments API (/wp/v2/comments).
Authentication: Uses the same HTTP Basic Auth credentials.
Body Parameters: Dynamically constructs the comment payload, setting the post ID (retrieved from the initial fetch), the AI-generated content, and a random authorname and unique temporary author_email using custom JavaScript expressions within the n8n node.
Automate on-brand blog creation by analyzing existing content styles and voice using an n8n workflow powered by OpenAI. This n8n template extracts crucial brand voice characteristics to ensure consistent output, saving drafts directly to Wordpress.

Quickly generate professional blog content starting from a keyword using this robust n8n workflow. Integrates Dumpling AI for scraping, OpenAI for drafting, and Google Docs for storage. Deploy this n8n template today.

Use this robust n8n workflow to automate blog research, writing, image generation (Gemini/Ideogram), and publishing to WordPress, tracked via Google Sheets. High density use of n8n node, n8n workflow, and n8n templates.

Use this robust n8n workflow to automatically fetch unpublished blog content from Airtable and create corresponding drafts on Hashnode using GraphQL API calls. An essential n8n template for content teams.

This powerful n8n workflow automates content creation using OpenAI, fetching topics from PostgreSQL and publishing SEO-optimized blogs directly to WordPress. Easily deploy this n8n template.

Automation & SEO Specialist with years of experience building smart workflows, AI-powered content solutions, and marketing automations. Skilled in n8n, WordPress, and API integrations to help businesses save time and grow faster.







































