Quick overview
An enterprise-grade, human-in-the-loop autonomous blogging agent. It discovers trending tech and business topics, validates them against real-time news via Tavily, requests approval via Telegram, and automatically writes, designs, categorizes, and publishes authoritative WordPress articles while logging performance data to Google Sheets.
How it works
- Cadence & Topic Discovery: Runs on a scheduled interval (e.g., every 3 days) or on demand. Google Gemini identifies high-impact, rapidly emerging industry trends.
- Real-Time Fact Grounding: Queries Tavily API to fetch the latest breaking news, authoritative articles, and context to ensure the post is factual and timely.
- Interactive Editorial Approval: Sends a digest to your Telegram bot with proposed headline, source link, and key insights. You tap Approve & Publish or Decline (which prompts a fresh topic).
- Category & Taxonomy Sync: Retrieves existing WordPress categories to prevent duplicates. If an appropriate category does not exist, it automatically creates it via the WordPress REST API.
- SEO-Optimized Long-Form Copy: Gemini crafts a comprehensive, 800–1200 word authoritative article using semantic HTML, meta excerpt, and keyword tags.
- Branded Featured Image Generation: Prompts OpenAI (GPT-Image / DALL-E) to produce a clean, minimalist, rectangular editorial cover image matching modern publication standards.
- WordPress Media Upload & Publishing: Uploads the generated graphic directly to the WordPress media library, creates the live post, and links the featured media ID and excerpt.
- Audit Logging & Success Alert: Appends the post title, live URL, and timestamp to Google Sheets for team tracking, then pings Telegram with the live link.
Setup
- Watch the Walkthrough: Follow our step-by-step video guide for visual setup instructions: https://smrl.aryanshinde.in/r/n8n-wordpress-auto-blogging
- Credentials Setup: Connect your accounts in n8n: - Google Gemini (PaLM) API: For topic discovery and SEO article generation. - OpenAI API: For generating featured banner images. - Telegram API: Create a bot via @BotFather and add your Chat ID to the trigger/approval nodes. - WordPress API: Connect your site using Application Passwords (Settings > Users > Application Passwords). - Google Sheets OAuth2: Authorize access to log published content.
- Tavily Search API: Add your Tavily API key to the header in the Get Articles on Topics node (Bearer YOUR_TAVILY_API_KEY).
- Configure Google Sheet: Create a Google Sheet with columns Blog Title, Blog URL, and Creation Date, and select your sheet in Append Post Data in the Sheet.
- Schedule & Theme Customization: Adjust the schedule frequency in Schedule Trigger (default: every 3 days) and adapt the prompt in Structure Post Content to match your brand's visual identity.
- Activate: Toggle the workflow to Active to begin automated publishing.
Requirements
- WordPress website with REST API enabled and Administrator credentials (Application Password).
- Google Gemini API key.
- OpenAI API key with image generation access (gpt-image-2.5-sunburst / dall-e-3).
- Tavily Search API key (free tier available).
- Telegram Bot token and personal/group chat ID.
- Google Sheets account.
Customization
- Publishing Status: Toggle post status between publish (immediate go-live) or draft (for final internal WordPress review).
- Branding & Visual Style: Modify the theme prompt in Structure Post Content to match your corporate design system (e.g., color palette, artistic style, or aspect ratio).
- Article Depth & Length: Customize Gemini's prompt in Write Content for the Post to adjust tone of voice, word count target, or audience technical level.
- Multi-Channel Distribution: Easily chain LinkedIn, X (Twitter), or newsletter notification nodes after publication.
Additional info
📺 Complete Video Walkthrough & Demo:
Watch the full step-by-step implementation, live Telegram approval demo, and WordPress setup here:
https://smrl.aryanshinde.in/r/n8n-wordpress-auto-blogging
Why this workflow stands out for businesses:
Fully automated AI content often suffers from hallucinations, generic stock visuals, and publishing off-topic articles. This workflow introduces an Enterprise Editorial Guardrail: you retain 100% editorial governance via one-tap Telegram approvals from your phone, while AI handles the heavy lifting of trend research, drafting, custom graphic design, WordPress taxonomy management, and logging.