Create SEO blog posts from YouTube videos with Gemini and Google Docs
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Google Gemini Chat Model, Google Docs, Google Sheets and Telegram.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Validate YouTube Video ID (Code): runs custom JavaScript code
- Fetch YouTube Video Metadata (HTTP Request): calls an HTTP API (GET)
- Prepare Agent Context Data (Code): runs custom JavaScript code
- Research Structuring Agent (Basic LLM Chain): sends a prompt to an LLM, with model: Research Assistance with Gemini
- Analyze Research JSON (Code): runs custom JavaScript code
- Blog Content Writer Agent (Basic LLM Chain): sends a prompt to an LLM, with model: Writing Assistance with Gemini
- Quality Review Agent (Basic LLM Chain): sends a prompt to an LLM, with model: Editing Assistance with Gemini
- Review and Attach Article (Code): runs custom JavaScript code
- Check Quality Score ≥ (If): checks a condition and branches into true / false
- Publish Article to Google Docs (Google Docs): create
…plus 5 more steps. See the full node list below.
Services it uses
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 (10)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - If
n8n-nodes-base.if - Google Docs
n8n-nodes-base.googleDocs - Google Sheets
n8n-nodes-base.googleSheets - Telegram
n8n-nodes-base.telegram - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview Submit a YouTube URL and get a publish-ready SEO blog post. Three Gemini agents research the video, write the article, and score it. Articles scoring 7+ auto-publish to Google Docs. Lower scores route to Telegram for review. How it works 1. The…