Skip to main content

Ai blog generator for Shopify products using Google Gemini and Google Sheets

Workflow preview

Workflow preview
100%
Ai blog generator for Shopify products using Google Gemini and Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This AI Blog Generator is an advanced n8n powered automation workflow that leverages Google Gemini and Google Sheets to generate SEO friendly blog articles for Shopify products. It automates the en...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.shopify, n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by MANISH KUMAR.

Original n8n.io source

1.1 Workflow description

Title
Ai blog generator for Shopify products using Google Gemini and Google Sheets
Workflow name
Ai blog generator for Shopify products using Google Gemini and Google Sheets

This AI Blog Generator is an advanced n8n-powered automation workflow that leverages Google Gemini and Google Sheets to generate SEO-friendly blog articles for Shopify products. It automates the entire process β€” from fetching product data to creating structured HTML content β€” with zero manual effort.

πŸ’‘ Key Advantages

Our AI Blog Generator offers five core advantages that make it the perfect solution for automated content creation:

  • πŸ”— Shopify Product Sync β€” Automatically pulls product data (titles, descriptions, images, etc.) via Shopify API.
  • ✍️ SEO Blog Generation β€” Gemini generates blog titles, meta descriptions, and complete articles using product information.
  • πŸ—‚οΈ Structured Content Output β€” Creates well-formatted HTML with headers and bullet points for seamless Shopify blog integration.
  • πŸ“„ Google Sheets Integration β€” Tracks blog creation and prevents duplicate publishing using a centralized Google Sheet.
  • πŸ“€ Shopify Blog API Integration β€” Publishes the generated blog to Shopify with a single API call.

βš™οΈ How It Works

The workflow follows a systematic 8-step process that ensures quality and efficiency:

Step-by-Step Process

  1. Manual Trigger – Start the workflow via a test trigger or scheduler.
  2. Fetch Products from Shopify – Retrieves all product details, including images and descriptions.
  3. Fix Input Format – Organizes and updates the input table using Code and Google Sheet nodes.
  4. Filter Duplicates – Ensures no previously used rows are processed again.
  5. Limit Control – Processes one row at a time and loops until all blogs are posted.
  6. Gemini AI Generation – Creates SEO-friendly blog content in HTML format from product data.
  7. HTML Structure Fix – Adjusts content for JSON compatibility by cleaning unsupported HTML tags.
  8. Article API Posting – Sends finalized blog content to Shopify for publishing or drafting.

πŸ› οΈ Setup Steps

Required Node Configuration

To implement this workflow, you'll need to configure the following n8n nodes:

  • Trigger Node: Start the workflow instantly.
  • Shopify Node: Fetch product details.
  • Google Sheet Node: Store input/output data and track blog creation status.
  • Code Node: Format data as required.
  • Filter Node: Remove used rows to avoid duplication.
  • Limit Node: Process one blog at a time.
  • Agent Node: Sends prompt to Gemini and returns parsed SEO-ready content.
  • HTTP Node: Posts content to Shopify via the API.

πŸ” Credentials Required

Authentication Setup

Before running the workflow, ensure you have the following credentials configured:

  • Shopify Access Token – For fetching products and posting blogs
  • Gemini API Key – For AI-powered blog generation
  • Google Sheets OAuth – For logging and tracking workflow data

πŸ‘€ Ideal For

Target Users

This automation workflow is specifically designed for:

  • Ecommerce teams automating blogs for hundreds of products
  • Shopify store owners boosting organic traffic effortlessly
  • Marketing teams building scalable, AI-driven content workflows

πŸ’¬ Bonus Tip

Extensibility Features

The workflow is fully modular and highly customizable. You can easily extend it for:

  • Internal linking between related products
  • Multi-language translation for global markets
  • Social media sharing automation
  • Email marketing integration

All extensions can be implemented within the same n8n flow, making it a comprehensive content automation solution.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Start Creation

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 4 - Get All Product Details

Type / Role
n8n-nodes-base.shopify - shopify
Config choices
Version 1

Block 5 - Product Details to Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 6 - Fix the input format

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Update the sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Filter Duplicates

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 9 - Magic Room

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 10 - Gemini

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 11 - Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 12 - Gemini1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 13 - Limit = 1

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 14 - Update Blog Content

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 15 - Fix Content Format

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Blog Creation

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 17 - Status Update

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 18 - Nothing

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 19 - Nothing1

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 20 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Update Input table

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 22 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Ai blog generator for Shopify products using Google Gemini and Google Sheets
Complexity advanced
Nodes 22
Categories Content Creation, Multimodal AI
Author MANISH KUMAR
Published 14 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8575/8575.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Ai blog generator for Shopify products using Google Gemini and Google Sheets do?

This AI Blog Generator is an advanced n8n powered automation workflow that leverages Google Gemini and Google Sheets to generate SEO friendly blog articles for Shopify products. It automates the en...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.