Templates / Automate SEO blog creation from trends using Gemini AI, Apify, and Google Docs

Automate SEO blog creation from trends using Gemini AI, Apify, and Google Docs

Ready for 3.0

by Parth Pansuriya ✓ · 471 views · created 2025-11-12 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs on a schedule (every day at 08:00). Along the way it connects Google Gemini Chat Model. It also calls api.apify.com and api.kie.ai over HTTP.

How it runs

Trigger: On a schedule (every day at 08:00).

  1. Fetch Google Trends (HTTP Request): calls api.apify.com (POST)
  2. Generate SEO Blog Content (AI Agent): runs an AI agent, with model: Refine Content with Gemini AI; output parser: Parse Blog Output
  3. Format output for Google Docs (Code): runs custom JavaScript code
  4. Generate Blog Image (HTTP Request): calls api.kie.ai (POST)
  5. Update Google Doc (HTTP Request): calls an HTTP API (POST)
  6. Check Image Generation Status (HTTP Request): calls api.kie.ai
  7. Is Image Ready? (If): checks a condition and branches into true / false
  8. Wait: pauses before continuing
  9. Prepare Image URL for Insert (Edit Fields (Set)): sets or maps fields
  10. Download Image (HTTP Request): calls an HTTP API

Services it uses

Google Gemini Chat Model

HTTP calls to: api.apify.com, api.kie.ai

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 (9)

From the author

Automate SEO Blog Creation with Apify + Google Docs + KIE AI’s Nano Banana API Who’s it for For content creators, SEO specialists, and digital marketers who want to automatically generate SEO-optimized blog posts from trending topics — no manual writing or…

Excerpt from Parth Pansuriya's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.