AI Product Listing Generator for Shopify E-commerce - n8n Workflow

Use this comprehensive n8n workflow to automate product creation on Shopify. Analyze images with Google Gemini, generate descriptions, clean data, and publish via a single n8n trigger.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

E-commerce Managers seeking to accelerate product listing processes.
Technical users looking for advanced n8n templates integrating AI vision models.
Developers needing a robust n8n node solution for Shopify API automation.
Anyone utilizing n8n to connect AI services (like Google Gemini) with business platforms.

Overview

Manually creating detailed, SEO-optimized product listings for e-commerce stores like Shopify is time-consuming. This powerful n8n workflow solves this by streamlining the entire process. Utilizing a webhook as the n8n trigger, it simultaneously uploads the product image and sends it along with key data (product name, material) to the Google Gemini large multimodal model. The AI generates a title, description, tags, and meta information. The n8n workflow then merges this AI-generated content with the newly uploaded image URL, aggregates the data, and publishes a complete product listing directly to your Shopify store via an HTTP Request n8n node. This approach maximizes efficiency and ensures high-quality, descriptive content for every new product.

How it Works

The automated process begins with the Webhook n8n trigger, which initiates the flow upon receiving product details and the binary image file.


  1. Parallel Processing: The data splits into two paths. One path sends the image and contextual data to the Google Gemini n8n node (Analyze image) to generate structured product metadata.

  2. The second path uses an HTTP Request n8n node (imgbb) to upload the binary image and obtain a public URL, which is essential for Shopify.

  3. AI Data Cleaning: The AI-generated JSON response is cleaned and parsed using a Code in JavaScript n8n node, which removes extraneous markdown formatting (```json...``) ensuring clean data mapping.

  4. Feedback and Preparation: The clean data is immediately returned via the Respond to Webhook n8n node. Subsequently, the Edit Fields n8n node maps the parsed AI outputs (title, description, tags) into standardized fields.

  5. Data Consolidation: The Merge n8n node combines the AI-generated product data set with the image URL obtained from the imgbb` step. The Aggregate n8n node prepares this combined data set for the final API call.

  6. Shopify Publication: The final HTTP Request n8n node calls the Shopify Admin API, constructing a complex JSON payload using the AI-generated content and the uploaded image URL to instantly create and publish the new product.

Installation Guide

To deploy this efficient n8n workflow, follow these setup steps:


  1. Import the n8n Template: Copy the provided n8n workflow JSON and paste it into your n8n canvas using the 'New' -> 'Import from JSON' option.

  2. Configure Credentials:

Google Gemini (PaLM): Set up a credential for the Analyze image n8n node using your API key.
Shopify: The final HTTP Request n8n node requires an access token for your Shopify store, configured as a Header Parameter (X-Shopify-Access-Token).
* imgbb: The imgbb n8n node requires an API key in its query parameters.

  1. Set up the Webhook: Activate the Webhook n8n trigger and copy the generated URL. This URL must be configured in your source system to send POST requests containing the product details and the image file.

  2. Test the n8n Workflow: Execute a test POST request to the webhook to ensure the AI analysis, image upload, and Shopify product creation function correctly.

Node Details

Webhook (n8n trigger):
Function: Serves as the starting n8n node, receiving a POST request that carries product text data (productname, materialtype, etc.) and the binary file (image).
Key Configuration: Path specified to secure the entry point. Response Mode is set to responseNode to allow immediate feedback.
Analyze image (Google Gemini n8n node):
Function: Utilizes the models/gemini-2.5-flash model to analyze the binary image data and accompanying text prompt, generating structured JSON output for product listing details.
Key Configuration: Resource: image, Operation: analyze, Binary Property: file.
Code in JavaScript:
Function: Crucial for data integrity. It cleans the raw text output from the AI, specifically stripping markdown code fences (``json, `) to ensure valid JSON parsing for downstream n8n nodes.
imgbb (HTTP Request n8n node):
Function: Uploads the product image binary data to imgbb, securing a public URL required by Shopify. It uses a
multipart-form-data content type.
Key Configuration: Uses a specific
key parameter for API authorization.
Merge & Aggregate:
Function: These n8n nodes ensure the AI-generated data (description, title) and the image URL are correctly consolidated into a single structured item, ready for the Shopify API payload.
HTTP Request (Shopify n8n node):
Function: Performs the final action, posting the full product JSON payload to the Shopify API endpoint (
/products.json).
Key Configuration: Method: POST, Body is complex JSON combining mapped AI output ($json.data[0]) and the image URL ($json.data[1].url), and requires X-Shopify-Access-Token` in headers.

Related n8n Workflows

Free

Nodes: 9 Nodes
Updated: December 26 2025
View all
Created by

Pixcels Themes is a modern AI Automation Agency helping businesses streamline time-consuming tasks through intelligent automation. We build practical AI solutions—from automated workflows and Shopify integrations to custom chatbots and tailored AI agents—that replace manual work with smart, self-running systems. Our focus is simple: make businesses faster, more efficient, and ready for the AI-powered future

Featured*