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 formatting required.
How it works / What it does
This workflow turns trending searches into fully structured blog posts using AI:
- Fetch trending topics from India (or any country) using Apify’s Google Trends scraper.
- Generate a SEO-optimized blog post with title, meta description, headings, and long-form content using Gemini AI.
- Refine the System Message (optional) with Gemini AI for better readability and engagement.
- Create a custom blog image using KIE AI’s Nano Banana API based on the blog title.
- Automatically insert all content and images into a Google Doc, ready for publishing.
How to set up
- Add your Apify API token in the Google Trends node.
- Configure Google Docs OAuth2 credentials for the document update node.
- Add your KIE AI Nano Banana API token for image generation.
- Schedule the Daily Trigger to your preferred time (default is 8 AM).
Requirements
- Apify API token (for trending search scraping)
- Google account with Docs access
- KIE AI Nano Banana API token
How to customize the workflow
- Change country or timeframe for trending searches.
- Update the AI prompt for tone, length, or style of the blog.
- Change the Google Doc ID to insert content into a different document.
- Adjust image generation settings (size, style) in the KIE AI node.