Automatically publish blog content to WordPress with AI-generated branded images, internal linking, and client reporting using Google Sheets, OpenAI, and Gemini
This workflow receives written blog content from your content creation automation and handles the complete WordPress publishing process. It adds internal links to your content based on target keywords, generates 3 AI-powered branded images (thumbnail + 2 content images), uploads them to WordPress, inserts them into your article, publishes the complete blog with proper categories, updates tracking sheets, and notifies clients automatically.
Perfect for agencies managing multiple client blogs who want to eliminate manual publishing tasks while maintaining brand consistency and SEO optimization.
Intelligent internal linking: Automatically analyzes your target keywords and adds up to 3 natural anchor links within the content to improve site SEO and user navigation
AI image generation: Creates 3 professional branded images using DALL-E based on your blog topic and brand colors - one thumbnail with overlay text and two supporting content images
Automated WordPress publishing: Publishes blogs with proper categories, sets featured images, and handles all WordPress REST API interactions without manual intervention
Multi-client management: Processes different projects based on individual client settings including image preferences, brand colors, and reporting requirements
Tracking and reporting: Updates Google Sheets with live URLs and publish dates, sends Discord notifications to project managers, and triggers client reporting workflows
Receives content from writing automation: Triggered by your blog content creation workflow with title, body content, focus keyword, and client details
Fetches project configuration: Loads client-specific settings from Google Sheets including website URL, WordPress API credentials, image creation preferences, and brand guidelines
Adds internal links: Retrieves target keywords and URLs from project sheets, filters valid links, and uses Gemini AI to intelligently insert 3 contextual anchor links
Generates branded images (if enabled): Uses OpenAI GPT to create detailed image prompts based on blog topic and brand colors, then generates 3 images with DALL-E (thumbnail with text overlay + 2 content images)
Uploads to WordPress media library: Processes each image through a loop, uploads to WordPress, stores metadata including URLs and alt text
Inserts images into content: Uses Gemini AI to intelligently place images at strategic positions within the article while preserving existing HTML structure and anchor links
Publishes to WordPress: Creates the blog post with proper title, content, categories, and sets the thumbnail as featured image via REST API
Updates tracking sheets: Records the live blog URL and publish date in Google Sheets for project management
Sends notifications: Triggers Discord alerts for project managers and executes the Reporting Manager workflow for client communication via email, Slack, or WhatsApp
Tools you'll need:
Estimated setup time: 30-40 minutes
Add credentials in n8n:
Set up Project Central Sheet:
Create a master Google Sheet with these columns:
Update the sheet URL in the "Fetch Project Configuration" node
Create client-specific sheets:
For each client, maintain two sheets:
Sheet 1: TGT Keywords (for internal linking)
Sheet 2: Content Requirement & Posting (for tracking)
Configure WordPress authentication:
Connect to Blog Creation workflow:
Set up Reporting Manager (optional):
Test the workflow:
Marketing agencies: Manage blog publishing for 10+ clients with different brand guidelines and WordPress sites from a single automation
Content teams: Eliminate 2-3 hours of manual work per blog by automating image creation, internal linking, and WordPress publishing
SEO specialists: Ensure consistent internal linking and proper category assignment across all published content
Freelance writers: Offer end-to-end blog services including branded image creation and WordPress publishing without manual intervention
SaaS companies: Maintain consistent blog publishing schedule across multiple product blogs with automated tracking and reporting
Modify image generation:
Adjust internal linking:
Change notification channels:
WordPress customization:
Images not generating: Check OpenAI API key validity and account credits. Verify image prompt node receives content properly.
WordPress publish fails: Confirm REST API is enabled, authentication tokens are correct, and site URL is properly formatted with trailing slash.
Internal links not appearing: Ensure "TGT Keywords" sheet has valid URLs starting with "http" and filter node is working correctly.
Tracking sheet not updating: Verify Google Sheets OAuth connection and that row_number matches between sheets.
Discord notification fails: Check Discord bot permissions and channel ID accuracy.
Need help or custom development?
📧 Email: [email protected]
🌐 Website: https://isawow.com/