This workflow automates the complete blog publishing process. It removes manual work from content creation, image generation, category management, and WordPress publishing by using AI and n8n. It helps agencies, SEO teams, and content creators manage blogs at scale.
Set up the required credentials inside n8n's credential manager:
Important: No credentials are hardcoded. All must be connected via n8n's credential manager.
Prepare a Google Sheet containing:
Update the Sheet ID inside the Get_Post_Data node after import.
Update the PBN_Website_Access node with your WordPress site access endpoint or API. This node should return:
Add a new row in the connected Google Sheet with the required blog topic and website details. The workflow will automatically process and publish the post on the next execution.
After execution, the workflow:
Fetches blog posting details from Google Sheets based on the current day. It pulls keywords, landing pages, domain IDs, and posting websites.
Checks the client's project status from the project sheet. It verifies whether the client is active or inactive before proceeding further. This prevents publishing content for paused or stopped clients.
Fetches WordPress website access details such as site URL, authentication token, and sitemap URL. These details are required for publishing posts, uploading images, and managing categories.
Performs deep SEO research on the target keyword. It analyzes search intent, content gaps, and audience needs. This ensures the generated content is informative, relevant, and SEO-optimized.
Crawls the website sitemap to collect internal URLs. These URLs are later used for internal linking inside the blog content. Internal links help improve SEO and site structure.
Uses AI to write an 800-1000 word SEO-optimized blog article based on research data. The content includes proper HTML formatting, internal links, and anchor keyword placement.
Separates the H1 title from the blog body content for proper WordPress publishing format.
Automatically determines the most suitable category for the blog post by analyzing the blog title and content context. This keeps the website's category structure clean and relevant.
Checks if the determined category exists in WordPress. If not, it creates a new category automatically.
Analyzes the blog content and generates AI prompts for creating relevant images including thumbnail and in-content images.
Generate high-quality images using Ideogram API based on AI-generated prompts. Images are created with proper resolution and rendering settings.
Upload generated images to WordPress media library and retrieve media IDs for post attachment.
Adds SEO-friendly alt text to uploaded images to improve accessibility and search engine optimization.
Merges the generated images into the blog content at appropriate positions within the article.
Publishes the complete blog post to WordPress with title, content, category, featured image, and publish status.
Saves the live published blog URL back into Google Sheets along with keyword, website URL, and timestamp for tracking and reporting.
Sends instant Discord or Slack notifications when any error occurs during workflow execution, ensuring no failure goes unnoticed.
Blog not published
Check WordPress credentials and REST API permissions.
Images not generated
Verify Ideogram API credentials and prompt formatting.
Sheet not updating
Ensure correct Sheet ID and OAuth permissions.
Workflow stopped
Review execution logs and error notification messages.
This workflow is designed to be reusable, scalable, and creator-friendly. It follows n8n best practices, avoids hardcoded credentials, and is suitable for public sharing as a workflow template.
For any questions or support, please contact:
info@incrementors.com or fill out this form: https://www.incrementors.com/contact-us/