AI blog generator for Shopify product listings: Using GPT-4o and Google Sheets
Needs changesNeeds 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.0 | Replace 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)
- Manual Trigger
n8n-nodes-base.manualTrigger - Shopify
n8n-nodes-base.shopify - Split Out
n8n-nodes-base.splitOut - OpenAI
@n8n/n8n-nodes-langchain.openAi - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Http Request Tool
n8n-nodes-base.httpRequestTool - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.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.