Automate SEO-friendly blog posts using AI (DeepSeek/Gemini) and n8n. This powerful n8n workflow generates content, titles, images, and Yoast meta tags from a Google Sheet prompt.
Download this n8n workflow template and start using it instantly.
This comprehensive n8n workflow provides an end-to-end solution for high-volume content creation, ensuring every post is SEO-ready before publication. The automation begins with a simple topic prompt defined in a Google Sheet, turning your editorial calendar into an execution machine. The n8n workflow leverages powerful AI models (DeepSeek) to generate structured, HTML-formatted articles and optimized titles. It handles the full asset pipeline, including generating a realistic featured image and uploading it to WordPress. Finally, the automation uses a sophisticated LangChain n8n node setup—powered by OpenRouter's Gemini model—acting as an 'SEO expert' to craft highly specific meta titles and descriptions, applying them directly to the post's Yoast metadata fields via the WordPress API. This n8n template drastically reduces the manual labor associated with content planning and optimization, making it an indispensable tool for content creators.
The entire process is orchestrated through a chain of connected n8n node operations:
Get context Google Sheets n8n node retrieves the PROMPT (the article topic) from the designated sheet row based on an ID.Generate article n8n node uses DeepSeek to write an SEO-friendly article in HTML format, following strict length and structure guidelines (intro, 2-3 chapters, conclusion).Generate title n8n node analyzes the new content and generates a short, SEO-optimized title.Add draft to WP WordPress n8n node creates a new post draft using the generated title and article body.Upload image HTTP Request n8n node, and subsequently attached to the post using the Set image n8n node.Update Sheet n8n node records the initial post details (URL, ID, Date) back into the Google Sheet.SEO Expert LangChain n8n node uses a robust prompt definition and the OpenRouter/Gemini model to analyze the article content and generate highly compliant metatitle and metadescription tags, validated by the Structured Output Parser.Set metatag HTTP Request n8n node updates the WordPress post's metadata fields (specifically Yoast SEO fields) with the optimized tags. The final Finish work Google Sheets n8n node updates the original sheet row with the finalized metadata, completing the n8n workflow execution.Get context, Update Sheet, Finish work).URL parameters in the Upload image, Set image, and Set metatag HTTP Request n8n node steps to match your WordPress domain. When clicking ‘Test workflow’ (Manual Trigger): The starting n8n trigger for testing the automation logic.
Google Sheets (Get context, Update Sheet, Finish work): Reads the article PROMPT and writes back all generated metadata (URL, Title, Post ID, Metatitle, Metadescription) using rownumber as the matching column for updates.
OpenAi (Generate article, Generate title): Utilizes a DeepSeek credential to generate structured content and an SEO title, adhering to strict length and formatting rules.
WordPress (Add draft to WP): The core publishing n8n node, creating the initial draft post with the generated content.
OpenAi (Generate image): Used to generate a realistic 1024x1024 featured image based on the article title.
HTTP Request (Upload image, Set image, Set metatag): These n8n node steps use the WordPress REST API to handle crucial tasks: uploading the binary image data, setting the featured media ID, and applying the Yoast SEO meta fields (yoastwpseotitle, yoastwpseo_metadesc) via a PUT request.
A powerful n8n workflow to automate high-quality, long-form content generation. This n8n templates solution uses AI agents like GPT-4o and Perplexity, handles image generation, formatting, and final WordPress publishing using specialized n8n node configurations.

Automate SEO title and meta description updates on WordPress using a custom Yoast API endpoint. This powerful n8n workflow template simplifies content management and site optimization.

This powerful n8n workflow connects AI agents to Google Search Console via an MCP n8n trigger, enabling automated SEO analysis, indexing, and site management using custom n8n templates.

Automate SIEM alert triage and enrichment using this powerful n8n workflow. Leverage OpenAI, Qdrant vector database, and MITRE ATT&CK data to update Zendesk tickets automatically, improving incident response time.

Use this advanced n8n workflow to automate your Micro-SaaS backend, handling user sign-ups, AI support triage using an OpenAI n8n node, daily analytics reporting, and billing events automatically. Download the n8n templates today.

Use this robust n8n workflow to automatically grade sales call transcripts via Fireflies.ai using GPT-4o. Log detailed results to Google Sheets and send instant alerts via Slack/Gmail. Optimize your sales QA process with this powerful n8n template.

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at [email protected] or add me on Linkedin.com/in/davideboizza







































