Create weekly SEO blog posts from Google Sheets with Gemini and Sanity
Ready for 3.0What this workflow does
This AI workflow has 27 nodes and runs on a schedule (every 6 days). Along the way it connects Google Gemini Chat Model, Google Sheets and HTTP Request. It also calls serpapi.com, ahrefs-keyword-research.p.rapidapi.com and generativelanguage.googleapis.com over HTTP.
How it runs
Trigger: On a schedule (every 6 days).
- List Focus Keyword (Google Sheets): uses Google Sheets
- Riset Google Trends (HTTP Request): calls serpapi.com
- Rising Topic (Split Out): splits a list into separate items
- Keyword Match? (If): checks a condition and branches into true / false
- Riset SVolume (HTTP Request): calls ahrefs-keyword-research.p.rapidapi.com
- If: checks a condition and branches into true / false
- Sort: sorts the items
- Limit: keeps the first few items
- AI Agent: runs an AI agent, with model: Create Article; 1 tool (Google Search Riset)
- Wait: waits 10 seconds
…plus 14 more steps. See the full node list below.
Services it uses
HTTP calls to: serpapi.com, ahrefs-keyword-research.p.rapidapi.com, generativelanguage.googleapis.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (14)
- AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - If
n8n-nodes-base.if - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Wait
n8n-nodes-base.wait - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - Http Request Tool
n8n-nodes-base.httpRequestTool - Sort
n8n-nodes-base.sort - Limit
n8n-nodes-base.limit
From the author
Quick overview This scheduled workflow pulls focus keywords from Google Sheets, expands them with rising Google Trends queries via SerpApi, validates demand with Ahrefs metrics on RapidAPI, then uses Google Gemini to write and publish an SEO article to Sanity…