Skip to main content

Generate multilingual Shopify product descriptions with Gemini 2.5 Vision AI

Workflow preview

Workflow preview
100%
Generate multilingual Shopify product descriptions with Gemini 2.5 Vision AI preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Shopify Multilingual Product Copy with n8n & Gemini 2.5 Flash Lite Use for free Created by Weiser22 · Last update 2025 09 02 Categories: E commerce, Product Content, Translation, Computer V...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.shopify, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.googlegemini, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate multilingual Shopify product descriptions with Gemini 2.5 Vision AI
Workflow name
Generate multilingual Shopify product descriptions with Gemini 2.5 Vision AI

Shopify Multilingual Product Copy with n8n & Gemini 2.5 Flash-Lite

Use for free

Created by <Weiser22> · Last update 2025-09-02
Categories: E-commerce, Product Content, Translation, Computer Vision

Description

Generate language-specific Shopify product copy (ES, DE, EN, FR, IT, PT) from each product’s main image and metadata. The workflow performs a vision analysis to extract objective, verifiable details, then produces product names, descriptions, and handles per language, and stores the results in Google Sheets for review or publishing.

Good to know

  • Model: models/gemini-2.5-flash-lite (supports image input). Confirm pricing/limits in your account before scaling.
  • Image requirement: products should have images[0].src; add a fallback if some products lack a primary image.
  • Sheets mapping: the sheet node uses Auto-map; ensure your matching column aligns with the field you emit (id vs product_id).
  • Strict output: the Agent enforces a multilingual JSON contract (es,de,en,fr,it,pt), each with shopify_product_name, shopify_description, handle.

How it works

  • Manual Trigger: start a test run on demand.
  • Get many products (Shopify): fetch products and their images.
  • Analyze image (Gemini Vision): send images[0].src with an objective, 3–5 sentence prompt.
  • AI Agent (Gemini Chat): merge Shopify fields + vision text under anti-hallucination rules and a strict JSON schema.
  • Structured Output Parser: validates the exact JSON shape.
  • Expand Languages & Sanitize (Code): split into 6 items and normalize handles/HTML content as needed.
  • Append row in sheet (Google Sheets): add one row per language to your spreadsheet.

Requirements

  • Shopify Access Token with product read permissions.
  • Google AI Studio (Gemini) API key for Vision + Chat Model nodes.
  • Google Sheets credentials (OAuth or Service Account) with access to the target spreadsheet.

How to use

  1. Connect credentials: Shopify, Gemini (same key for Vision and Chat), and Google Sheets.
  2. Configure nodes:
    • Get many products: adjust limit/filters.
    • Analyze image: verify ={{ $json.images[0].src }} resolves to a public image URL.
    • AI Agent & Parser: keep the strict JSON contract as provided.
    • Code (Expand & Sanitize): emits product_id, lang, handle, shopify_product_name, shopify_description, base_handle_es.
    • Google Sheets (Append): set documentId and tab name; confirm the matching column.
  3. Run a test: execute the workflow and confirm six rows per product (one per language) appear in the sheet.

Data contract (Agent output)

{
  "es": {"shopify_product_name": "", "shopify_description": "", "handle": ""},
  "de": {"shopify_product_name": "", "shopify_description": "", "handle": ""},
  "en": {"shopify_product_name": "", "shopify_description": "", "handle": ""},
  "fr": {"shopify_product_name": "", "shopify_description": "", "handle": ""},
  "it": {"shopify_product_name": "", "shopify_description": "", "handle": ""},
  "pt": {"shopify_product_name": "", "shopify_description": "", "handle": ""}
}

Customising this workflow

  • Publish to Shopify: after review in Sheets, add a product.update step to write finalized copy/handles.
  • Handle policy: tweak slug rules (diacritics, separators, max length) in the Code node to match store conventions.
  • No-image fallback: add an IF/Switch to skip vision when images[0].src is missing and generate copy from title + body only.
  • Tone/length: adjust temperature and token limits on the Chat Model for brand-fit.

Troubleshooting

  • No rows in Sheets: confirm spreadsheet ID, tab name, Auto-map status, and that the matching column matches your emitted field.
  • Vision errors: ensure images[0].src is reachable.
  • Parser failures: the Agent must return bare JSON with the six root keys and three fields per language—no extra text.

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 - When clicking ‘Execute workflow’

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

Block 2 - Get many products

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

Block 3 - Append row in sheet

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

Block 4 - Analyze image

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

Block 5 - AI Agent

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

Block 6 - Google Gemini Chat Model1

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

Block 7 - Structured Output Parser

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

Block 8 - Expand Languages & Sanitize

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

3. Summary Table

Workflow Generate multilingual Shopify product descriptions with Gemini 2.5 Vision AI
Complexity intermediate
Nodes 8
Categories Content Creation, Multimodal AI
Author Weiser22
Published 02 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8179/8179.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 multilingual Shopify product descriptions with Gemini 2.5 Vision AI do?

Shopify Multilingual Product Copy with n8n & Gemini 2.5 Flash Lite Use for free Created by Weiser22 · Last update 2025 09 02 Categories: E commerce, Product Content, Translation, Computer V...

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.