🎬 Auto-generate product descriptions with Azure OpenAI for Adobe Commerce/Magento

⚑ 252 views · 🎬 Content Creation & Video

Description

πŸ›οΈ Automated Product Description Generation for Adobe Commerce (Magento 2)

Description

This n8n template demonstrates how to automatically generate product descriptions for items in Adobe Commerce (Magento 2) that are missing one.

The workflow retrieves product data, converts raw attribute values (like numeric IDs) into human-readable labels, and passes the enriched product data to an LLM (Azure OpenAI by default). The LLM generates a compelling description, which is then saved back to Magento using the API.

This ensures all products have professional descriptions without manual writing effort.

Use cases include:


Good to know


How it works

  1. Get Product from Magento

    • Retrieves a product that has no description.
    • Collects all product attributes.
  2. Generate Description with LLM

    • Resolves attribute option IDs into human-readable values (e.g. color_id = 23 β†’ "Red").
    • Passes the readable product attributes to an Azure OpenAI model.
    • The LLM creates a clear, engaging product description.
    • The prompt can be customised (e.g. SEO-optimized, short catalog text, or marketing style).
  3. Save Description in Magento

    • Updates the product via the Magento API with the generated description.
    • Ensures product data is enriched and visible in the webshop immediately.

How to use


Requirements


Customising this workflow

This workflow can be adapted for:


πŸ”— Nodes Used

HTTP Request, Basic LLM Chain, Azure OpenAI Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup