Automate WordPress Blog Creation with AI & n8n

Discover how this unique n8n workflow automates WordPress blog posts generation with AI, creating content for multiple reading levels, generating featured images, and publishing drafts seamlessly. Save hours and improve workflow accuracy with our step-by-step guide.
manualTrigger
lmChatOpenAi
wordpress
+8
Workflow Identifier: 1063
NODES in Use: manualTrigger, lmChatOpenAi, outputParserStructured, code, if, markdown, googleDrive, wordpress, httpRequest, stickyNote, telegram

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow helps you create WordPress blog posts fast using AI.

It solves the problem of spending many hours writing and editing posts for different readers.

The workflow makes a blog post in three reading levels and adds a nice image automatically.

You get ready drafts in WordPress that save you time and keep content good for many readers.


Tools and services used

  • OpenAI API: Creates and rewrites blog content in HTML and Markdown.
  • Google Drive: Saves original draft backups as text files.
  • WordPress REST API: Creates and manages blog posts and media.
  • Pollinations.ai HTTP service: Generates featured images from the blog title.
  • Telegram Bot API: Sends notifications about workflow success or errors.

Inputs, processing steps, and outputs

Inputs

  • User provides a blog topic through the Set Blog Topic node.

Processing steps

  1. The Create Structured Blog Post node asks OpenAI to write an HTML blog with title and content in JSON.

  2. The Structured Output – JSON and Separate Title & Content nodes extract and clean the title and content.

  3. The Tiltle & Content Exist? node checks if title and content are present.

  4. The HTML to Markdown node changes the blog into Markdown for easier rewriting.

  5. Three AI Agent nodes rewrite the blog at Grade 9, Grade 5, and Grade 2 reading levels.

  6. Each rewritten version is validated again by If nodes.

  7. The Google Drive node saves the original draft as a backup.

  8. The Create WordPress Post node makes a draft post using the Grade 9 version.

  9. The pollinations.ai HTTP Request node creates a featured image from the blog title.

  10. The Upload Image to WordPress node uploads the image.

  11. The Set Image on WordPress Post node sets the featured image for the post.

  12. The Telegram nodes send messages on success or if errors happen.

Outputs

  • WordPress draft posts at Grade 9 reading level with featured images.
  • Three blog content versions for different reading skills.
  • Original draft backup saved on Google Drive.
  • Telegram notifications for workflow results.

Who should use this workflow

Blog writers who spend too long writing posts for many readers.

People who want to save time while still making good, safe backups.

Those who want images for posts without needing extra design skills.

Users who want to keep track with Telegram messages for success or problems.


Beginner step-by-step: How to build this in n8n

Download and Import

  1. Download the workflow file using the Download button on this page.

  2. Open the n8n editor where you want to use the workflow.

  3. Use the “Import from File” option to add the workflow to n8n.

Configure Credentials and Settings

  1. Add your OpenAI API key to the OpenAI nodes.

  2. Add your Google Drive credentials and select the folder for backups in the Google Drive node.

  3. Set WordPress credentials and correct site URL in Create WordPress Post, Upload Image to WordPress, and Set Image on WordPress Post nodes.

  4. Enter your Telegram bot token and the chat ID in the Telegram notification nodes.

  5. Update any IDs, emails, channels, or folder paths shown in the nodes if needed.

  6. Change the blog topic value in the Set Blog Topic node to test content creation.

Test the Workflow

  1. Click the trigger node labeled “When clicking ‘Test workflow’” and press Execute Workflow.

  2. Look at each node’s output to check for errors or missing data.

  3. Verify the draft post appears in WordPress, the image uploads, and Telegram sends success notifications.

Activate for Production

  1. After testing, turn on the workflow so it runs when triggered.

  2. You can add other triggers or schedulers inside n8n as needed.

  3. Monitor workflow runs from n8n dashboard for issues.

  4. If hosting yourself, see self-host n8n for hosting options.


Customizations

  • Change blog topic dynamically: Link Set Blog Topic to external data like RSS or Google Sheets.

  • Tweak AI rewriting prompts: Edit text in the Rewrite for Grade X Reading Level nodes to change tone or style.

  • Adjust WordPress post status: Set the Create WordPress Post node to “publish” to auto-publish drafts.

  • Customize featured image prompt: Edit prompt in pollinations.ai HTTP Request node to change image style.

  • Add notification points: Use Telegram nodes to send updates at other steps like content generation done.


Troubleshooting

  • Missing title error: The AI might not return a title. Check and fix prompts in the Create Structured Blog Post node.

  • No WordPress posts created: Check WordPress API credentials and permissions in n8n settings.

  • Image not set: Verify authentication and API calls in WordPress image upload and update nodes.

  • Telegram not sending messages: Confirm Telegram bot token and chat ID are correct and tested.

  • Google Drive backup fails: Check API access, folder settings, and try manual upload test.


Pre-production checklist

  • Make sure OpenAI API keys are valid and enough quota exists.

  • Verify WordPress API credentials with write permissions.

  • Test Google Drive access and correct folder usage.

  • Confirm Telegram bot token and chat ID are accurate.

  • Run workflow once with example topics to generate all reading levels.

  • Check WordPress drafts appear with correct status.

  • Ensure images upload and are set as featured images.

  • Check Telegram messages arrive for success and errors.


Deployment guide

Activate the workflow inside n8n after testing.

Add triggers like webhooks or time schedules if you want automatic runs.

Watch logs in the n8n dashboard in case of errors or delays.

Set retry options for nodes where available for temporary failures.

When you run self hosting n8n, check the self-host n8n link for server options.

Monitor API limits or failures from OpenAI or pollinations.ai carefully.


Summary

✓ Saves hours by automating blog posts for different reading levels.

✓ Automatically creates featured images without extra work.

✓ Keeps original drafts safe on Google Drive.

✓ Sends Telegram alerts for success and errors.

✓ Helps non-experts manage content quickly with n8n automation.


Frequently Asked Questions

The workflow uses three AI rewriting nodes with prompts to rewrite content for Grade 9, Grade 5, and Grade 2 reading levels.
Google Drive is used to save original blog draft backups as text files to protect content.
It uses pollinations.ai to generate featured images and uploads them to WordPress, then sets them on the post automatically.
Verify the Telegram bot token and chat ID in the n8n Telegram nodes are correct and tested separately.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free