Templates / AI blog generator for Shopify product listings: Using GPT-4o and Google Sheets

AI blog generator for Shopify product listings: Using GPT-4o and Google Sheets

Needs changes

by Kumar Shivam βœ“ Β· 11,796 views Β· created 2025-06-06 Β· Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Blog Poster (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (12)

ShopifyOpenAIOpenAI Chat ModelHTTP RequestGoogle SheetsSimple MemoryAI Agent

What it does

🧠 AI Blog Generator for Shopify Products using GPT-4o The AI Blog Generator is an advanced automation workflow powered by n8n, integrating GPT-4o and Google Sheets to generate SEO-rich blog articles for Shopify products. It automates the entire process β€” from pulling product data, analyzing images for nutritional information, to producing structured HTML content ready for publishing β€” with zero manual writing. --- πŸ’‘ Key Advantages - πŸ”— Shopify Product Sync Automatically pulls product data (title, description, images, etc.) via Shopify API. - πŸ€– AI-Powered Nutrition Extraction Uses GPT-4o to intelligently analyze product images and extract nutritional information. - ✍️ SEO Blog Generation GPT-4o generates blog titles, meta descriptions, and complete articles using both product metadata and extracted nutritional info. - πŸ—‚οΈ Structured Content Output Produces well-formatted HTML with headers, bullet points, and nutrition tables for seamless Shopify blog integration. - πŸ“„ Google Sheets Integration Tracks blog creation, manages retries, and prevents duplicate publishing using a centralized Google Sheet. - πŸ“€ Shopify Blog API Integration Publishes the generated blog to Shopify using a two-step blog + article API call. --- βš™οΈ How It Works 1. Manual Trigger Initiate the process using a test trigger or a scheduler. 2. Fetch Products from Shopify Retrieves all product details including descriptions and images. 3. Extract Product Images Splits and processes each image individually. 4. OCR + Nutrition AI GPT-4o reads nutrition facts from product images. Skips items without valid info. 5. Check Existing Logs References a Google Sheet to avoid duplicates and determine retry status. 6. AI Blog Generation Creates a blog with headings, bullet points, intro, and a nutrition table. 7. Shopify Blog + Article Posting Uses the Shopify API to publish the blog and its content. 8. Update Google Sheet Logs the blog URL, HTML content, errors, and status for future reference. --- πŸ› οΈ Setup Steps - Shopify Node: Connects to your Shopify store and fetches product data. - Split Out Node: Divides product images for individual OCR processing. - OpenAI Node: Uses GPT-4o to extract nutrition data from images. - If Node: Filters for entries with valid nutrition information. - Edit Fields Node: Formats the product data for AI processing. - AI Agent Node: Generates SEO blog content. - Google Sheets Nodes: Reads and updates blog creation status. - HTTP Request Nodes: Posts the blog and article via Shopify’s API. --- πŸ” Credentials Required - Shopify Access Token – For retrieving product data and posting blogs - OpenAI API Key – For GPT-4o-based AI generation and image processing - Google Sheets OAuth – For accessing the log sheet --- πŸ‘€ Ideal For - Ecommerce teams looking to automate content for hundreds of products - Shopify store owners aiming to boost organic traffic through blogging - Marketing teams building scalable, AI-driven content workflows --- πŸ’¬ Bonus Tip The workflow is modular. You can easily extend it with internal linking, language translation, or even social media sharing β€” all within the same n8n flow.

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.