Skip to main content

Generate and push AI SEO product content to PrestaShop with Google Gemini and Sheets

Workflow preview

Workflow preview
100%
Generate and push AI SEO product content to PrestaShop with Google Gemini and Sheets preview
Open on n8n.io

1. Workflow Overview

Who Is This For? This workflow is built for PrestaShop store owners, eCommerce managers, and digital agencies who need to bulk generate professional, SEO optimized product content in Spanish or any...

Best for

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

Tools used

n8n-nodes-base.filter, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.limit, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.set, n8n-nodes-base.googlesheets, n8n-nodes-base.manualtrigger

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate and push AI SEO product content to PrestaShop with Google Gemini and Sheets
Workflow name
Generate and push AI SEO product content to PrestaShop with Google Gemini and Sheets

Who Is This For?

This workflow is built for PrestaShop store owners, eCommerce managers, and digital agencies who need to bulk-generate professional, SEO-optimized product content in Spanish or any other language — without writing a single word manually.


What Problem Does It Solve?

Writing titles, descriptions, meta tags, and SEO slugs for hundreds of products is one of the most time-consuming tasks in eCommerce. This workflow automates the entire process using an AI Agent powered by Google Gemini, pulling real product data from the web and pushing it directly into PrestaShop via the REST API.


How It Works

  1. Reads unprocessed products from a Google Sheet filtered by an "Updated" status column
  2. Limits to 50 products per run to stay within API rate limits
  3. Extracts the PrestaShop Product ID from each product URL using regex
  4. Loops through products one at a time
  5. AI Agent researches the product online using trusted Spanish pharmacy sources and generates Title, Short Description, Long Description in HTML, Meta Title, Meta Description, and SEO-friendly URL Slug — all in Spanish
  6. Structured Output Parser enforces clean JSON output every single time — no fragile regex parsing
  7. Sends a PATCH request to the PrestaShop Admin API to update the product
  8. Logs the result back to Google Sheets and marks the row as Updated
  9. Waits 8 seconds between each product to respect API rate limits

What You Need to Set Up

  • Google Sheets OAuth2 credential
  • Google Gemini API credential
  • PrestaShop Bearer API token — paste into the Arrange Data node
  • A Google Sheet with these columns: Address | Previous Title | Title | Short Description | Long Description | Meta Title | Meta Description | Slug | Update

Nodes Used

Google Sheets, AI Agent, Google Gemini Chat Model, Structured Output Parser, HTTP Request, Loop Over Items, Code, Filter, Limit, Wait, Set


📩 Support & Contact

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 - Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.3

Block 2 - AI Agent

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

Block 3 - Google Gemini Chat Model

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

Block 4 - Limit

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

Block 5 - Structured Output Parser

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

Block 6 - Arrange Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Get Products

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

Block 9 - Mannual Trigger

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

Block 10 - Get Product ID

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

Block 11 - Update Product

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

Block 12 - Log In Sheet

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

Block 13 - Wait 8 Sec

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 14 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 15 - Sticky Note

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

Block 16 - Sticky Note1

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

Block 17 - Sticky Note2

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

Block 18 - Sticky Note4

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

Block 19 - Sticky Note3

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

3. Summary Table

Workflow Generate and push AI SEO product content to PrestaShop with Google Gemini and Sheets
Complexity advanced
Nodes 19
Categories Content Creation, Multimodal AI
Author Salman Mehboob
Published 20 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15163/15163.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 Generate and push AI SEO product content to PrestaShop with Google Gemini and Sheets do?

Who Is This For? This workflow is built for PrestaShop store owners, eCommerce managers, and digital agencies who need to bulk generate professional, SEO optimized product content in Spanish or any...

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.