YouTube SEO Optimization Automation
Pulls YouTube URLs from a sheet, uses AI to generate three SEO titles and one conversion description, then updates the row with new assets.
What it does
Get ready-to-publish YouTube content by having this automation pull your video URLs from Google Sheets and generate three SEO-optimized titles plus a conversion-focused description using AI. It then updates your sheet with these new assets so you can publish immediately without manual editing.
Step by step
- Configure the Google Sheets trigger to watch for new rows or specific cell updates containing video URLs.
- Set up an HTTP request node to fetch the public JSON metadata from YouTube's oEmbed API using the provided URL.
- Map the extracted title and description fields into a structured payload object for the AI model input.
Where the LLM does the work
- Prompt the DeepSeek Chat Model with the original video context to generate three distinct, high-CTR title variations.
- Instruct the LLM to write one conversion-focused description that includes relevant keywords and a clear call-to-action.
- Evaluate the generated content for tone consistency and SEO relevance before finalizing the output.
Watch out for
The HTTP request might fail if the video is private or deleted, so add error handling to skip invalid URLs and log them for manual review.
Google Sheets API quotas can be exceeded with frequent updates, so batch write operations instead of updating row-by-row in a loop.
Tools that fit
HTTP Request API Fetch current YouTube metadata
Code Service Process and format data between steps
DeepSeek Chat Model LLM Generate SEO optimized titles and descriptions
The agent brief
Everything your agent needs, including the gotchas. Copy it and go.
You are helping me build the following AI agent workflow. ## Goal YouTube SEO Optimization Automation: Pulls YouTube URLs from a sheet, uses AI to generate three SEO titles and one conversion description, then updates the row with new assets. ## Specification - What it does: Get ready-to-publish YouTube content by having this automation pull your video URLs from Google Sheets and generate three SEO-optimized titles plus a conversion-focused description using AI. It then updates your sheet with these new assets so you can publish immediately without manual editing. - Trigger: Run manually (Manual · on demand) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Google Sheets: Store video URLs and optimization data - HTTP Request: Fetch current YouTube metadata - Code: Process and format data between steps - DeepSeek Chat Model: Generate SEO optimized titles and descriptions ## Known pitfalls, handle each one explicitly in your implementation 1. The HTTP request might fail if the video is private or deleted, so add error handling to skip invalid URLs and log them for manual review. 2. Google Sheets API quotas can be exceeded with frequent updates, so batch write operations instead of updating row-by-row in a loop. ## Reference implementation https://n8n.io/workflows/5229 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/youtube-seo-optimization-automation/ via usecasesforagents.com
Frequently asked questions
Can I use a different Spreadsheet than Google Sheets?
Yes. Google Sheets is only the example spreadsheet in this recipe. The same flow works with Airtable, Baserow and Excel. Swap the spreadsheet connection and keep the rest of the setup as written.
Want this running in your business?
This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Who it's for
Built for marketers who'd rather brief an agent than start from a blank doc.