Automate SEO optimization for WordPress using this n8n workflow. Bulk rewrite Rank Math titles and meta descriptions using OpenRouter and LangChain AI integration.
Download this n8n workflow template and start using it instantly.
SEO Specialists managing large WordPress sites.
Content Managers needing to quickly audit and improve existing post SEO metadata.
Developers looking for advanced n8n templates integrating WordPress and specialized AI models (like OpenRouter).
Users familiar with the WordPress REST API and n8n node configuration.
Maintaining optimal SEO across hundreds of articles can be tedious. This powerful n8n workflow solves the problem of manually optimizing Rank Math titles and meta descriptions in WordPress. It leverages the flexibility of the n8n platform to fetch post data, run conditional checks, and utilize cutting-edge AI via the OpenRouter service (integrated through LangChain) to generate high-quality, structured SEO meta content. The entire process is automated, from initiating the n8n trigger to updating the WordPress database directly using an HTTP Request n8n node targeting the specific Rank Math metadata fields. This n8n workflow is crucial for large-scale content optimization projects.
The execution starts with a manual n8n trigger, initializing the settings n8n node where the base WordPress URL is defined.
To use this advanced n8n workflow template:
baseURL parameter, ensuring the trailing slash is included (e.g., https://yourdomain.com/).This n8n template relies on specialized and core n8n node types:
When clicking ‘Execute workflow’ (Manual Trigger n8n trigger):
Function: Starts the n8n workflow manually.
Key Configuration: Standard manual execution n8n trigger setup.
settings (Set n8n node):
Function: Stores global variables, critically the baseURL for the WordPress site, used by subsequent HTTP Request nodes.
Key Configuration: Defines the base URL variable for dynamic use.
Get Posts ID & Update Post Metas (HTTP Request n8n node):
Function: Handles direct, authenticated interaction with the WordPress REST API endpoints, fetching ID lists and submitting the AI-generated metadata updates to the Rank Math schema.
Key Configuration: Method (GET/POST), URL defined dynamically using the baseURL variable, and required Authentication configuration.
Get post (WordPress n8n node):
Function: Retrieves detailed content for a single post item passed down the n8n workflow, providing context for the AI.
Key Configuration: Resource set to 'Post', Operation set to 'Get'.
Should I Rewrite (If n8n node):
Function: Implements core logic flow control by determining if the current post requires AI optimization.
Key Configuration: Condition logic targets metadata fields to check for emptiness or specific flags.
Create Meta Infos (LangChain LLM Chain n8n node):
Function: The central AI engine. It orchestrates the prompt engineering and uses connected language model components to perform the title and description rewrite within the n8n workflow.
Key Configuration: Connects to the LLM and Parser nodes.
OpenRouter Chat Model (LangChain OpenRouter n8n node):
Function: Provides the specific large language model accessed via the OpenRouter API for generation tasks within this n8n workflow.
Key Configuration: Requires OpenRouter API credential setup.
Structured Output Parser (LangChain Output Parser n8n node):
* Function: Ensures the output from the AI model is strictly formatted (e.g., JSON), making it reliable for subsequent data processing and integration into the update HTTP Request n8n node.
Automate RSS content delivery to LinkedIn and Bluesky using this advanced n8n workflow. Leverages Llama 3 (Groq) for platform-specific post generation, image creation, and scheduling via GetLate.

Use this powerful n8n workflow to aggregate multiple RSS feeds, filter articles published in the last 3 days, and automatically save and manage the structured data in Google Sheets.

Use this advanced n8n workflow to aggregate, filter, and format news from multiple RSS feeds, automatically posting updates to Trello cards and notifying your team via Gmail. Highly efficient n8n templates for content curation.

Use this advanced n8n workflow to automate raw materials inventory. It integrates Google Sheets and Supabase for stock updates and uses Gmail for approval-based material issue requests, complete with low stock alerts.

Accélérateur de Chiffre d'Affaires : Automatisez votre entreprise pour la rendre plus visible sur Google, pour trouver de nouveaux Clients, pour gagner du temps







































