Generate multiple language blogpost with OpenAI, support Yoast & Polylang
Needs changesWhat this workflow does
This AI workflow has 23 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Wordpress and OpenAI.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Generate Topic & Metadata (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Model - Topic; output parser: Parse Topic JSON
- Get Recent Posts (HTTP Request): calls an HTTP API
- Get All Taxonomies (HTTP Request): calls an HTTP API
- Get Posts Schema (HTTP Request): calls an HTTP API
- Get API Routes (HTTP Request): calls an HTTP API
- Generate Article Content (AI Agent): runs an AI agent, with model: OpenAI Model - Article
- Get Single Post Details (HTTP Request): calls an HTTP API
- Analyze Taxonomies (Code): runs custom JavaScript code
- Check PLL Endpoint (HTTP Request): calls an HTTP API
- Analyze API Routes (Code): runs custom JavaScript code
…plus 8 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Generate Article Content (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Generate Article Content (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - AI Agent
@n8n/n8n-nodes-langchain.agent - Wordpress
n8n-nodes-base.wordpress - OpenAI
@n8n/n8n-nodes-langchain.openAi
From the author
Fresh multilingual blog drafts on autopilot. The blogblitz: polylang workflow creates and publishes high-quality articles with n8n, OpenAI GPT, and the WordPress API: SEO-friendly posts with metadata and featured images, in randomly picked languages for…