n8n

How to Generate WordPress Blog Posts?

Create complete blog posts from a topic, rewrite them to a chosen reading level, and publish to WordPress with a featured image. Content teams, agencies, and solo creators can turn ideas into ready to publish articles with consistent quality.

The flow starts from a manual run. You set the blog topic. An AI step produces a structured draft with a title and content in JSON. A code check confirms both fields exist. The content is converted to clean Markdown and saved to Google Drive as a draft. Based on the reading level you want, the post is rewritten to Grade 9, Grade 5, or Grade 2. If something goes wrong, Telegram sends an error message with where it failed. When the draft is ready, the workflow creates a WordPress post, generates an image from Pollinations AI, uploads it to WordPress, sets the featured image, and sends a success message in Telegram.

You will need accounts for OpenAI or DeepSeek, Google Drive, WordPress, Pollinations AI, and Telegram. After connecting credentials, set your reading level logic and image prompt. Most teams can cut writing and formatting time from hours to minutes, keep tone consistent, and scale the number of posts per week without extra staff.

What are the key features?

  • Manual start with a clear Set Blog Topic step to define the article idea.
  • AI drafting with structured JSON output for title and content.
  • Code validation that checks if both title and content exist before moving on.
  • HTML to Markdown conversion for clean, portable content stored in Google Drive.
  • Reading level rewrites at Grade 9, Grade 5, and Grade 2 using separate AI agents.
  • Conditional routing with If nodes and Telegram error messages when a branch fails.
  • WordPress post creation followed by image generation from Pollinations AI.
  • Automatic image upload and featured image assignment on the WordPress post.
  • Telegram success message when the post and image finish publishing.
  • Optional DeepSeek model connection for alternate AI drafting.

What are the benefits?

  • Reduce drafting and formatting time from hours to minutes
  • Automate up to 80 percent of editing with reading level rewrites
  • Improve content consistency with JSON validation and Markdown conversion
  • Connect OpenAI or DeepSeek, Google Drive, WordPress, Pollinations AI, and Telegram in one flow
  • Scale to publish more posts each week without adding headcount
  • Cut publishing errors with clear Telegram alerts on failures and success

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with OpenAI, DeepSeek, Google Drive, WordPress, Pollinations AI and Telegram. See the Tools Required section above for links to create accounts with these services.
  3. OpenAI or DeepSeek: Double click the AI model nodes, choose the credential dropdown, click Create new credential, then follow the on screen steps. For API key models, get your key from your account’s API page and paste it into n8n.
  4. Google Drive: Double click the Google Drive node and create a new OAuth credential. Sign in to your Google account and allow file creation and editing.
  5. WordPress: Double click each WordPress node and create a new credential. Enter your site URL, username, and application password or token as prompted, then test the connection.
  6. Telegram: Create a bot with BotFather to get a bot token. In each Send Message node, create a new Telegram credential with that token and set the Chat ID where messages should go.
  7. Pollinations AI: No credential is required. Open the HTTP Request node for Pollinations and adjust the prompt to use your title or a custom description for the image.
  8. Set Blog Topic: Open the Set node and enter your topic or summary. This guides the AI to create the draft with a title and content.
  9. Reading level: In the If nodes, set the condition value that matches your desired level, such as 9, 5, or 2. Only the matching rewrite branch will run.
  10. Google Drive save: In the Google Drive node, choose the folder where you want drafts stored and use the title as the file name field.
  11. Run a test: Click Test workflow. Confirm the Google Drive file is created, the WordPress post appears as expected, and the featured image is set.
  12. Troubleshoot: If you get a Telegram error, check the Title and Content Exist node output first. If empty, adjust the AI prompt or JSON parser settings. If the image fails, review the Pollinations request and your image prompt.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

DeepSeek

Sign up

$0.035/1M input tokens (cache hit), $0.135/1M input tokens (cache miss), $0.550/1M output tokens

Google Drive

Sign up

Drive API: $0 (no additional cost; quota-limited)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Pollinations AI

Sign up

Free tier: $0 — anonymous or token API access (Seed tier, ad-supported)

Telegram

Sign up

Free: $0, Telegram Bot API usage is free for developers

WordPress

Sign up

Free plan: $0 / mo (WordPress.com REST API supports creating posts)

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.