Automated blog content generation with GPT-4o from Google Trends to WordPress
UnknownWhat this workflow does
This AI workflow has 11 nodes and runs on a schedule (every day at 20:00). Along the way it connects OpenAI Chat Model, Wordpress and Serpapi (community).
How it runs
Trigger: On a schedule (every day at 20:00).
- Set Target Country (Edit Fields (Set)): sets 1 field: Country
- Fetch Trending Topics (Serp Api): google trends trending now
- Extract Trending Searches (Code): runs custom JavaScript code
- Limit: keeps the first few items
- Search Trend Details (Serp Api): uses Serp Api
- Format Search Results (Code): runs custom JavaScript code
- Generate Blog Content with AI (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Create a post (Wordpress): uses Wordpress
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-serpapi is verified or supports 3.0 (used in Fetch Trending Topics, Search Trend Details).
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Wordpress
n8n-nodes-base.wordpress - Edit Fields (Set)
n8n-nodes-base.set - Serp Api
n8n-nodes-serpapi.serpApi - Code
n8n-nodes-base.code - Limit
n8n-nodes-base.limit - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
From the author
Automated Blog Content Generation from Google Trends to WordPress This n8n workflow automatically generates SEO-friendly blog content based on trending topics from Google Trends and publishes it to WordPress. Perfect for content creators, bloggers, and…