Skip to main content

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

Workflow preview

Workflow preview
100%
Auto-generate product descriptions with Azure OpenAI for Adobe Commerce/Magento preview
Open on n8n.io

Important notice

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

1. Workflow Overview

️ 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...

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.httprequest, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatazureopenai, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Auto-generate product descriptions with Azure OpenAI for Adobe Commerce/Magento
Workflow name
Auto-generate product descriptions with Azure OpenAI for Adobe Commerce/Magento

🛍️ 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:

  • Auto-generating missing descriptions for catalog completeness.
  • Creating consistent descriptions across large product datasets.
  • Reducing manual workload for content managers.
  • Tailoring descriptions for SEO and customer readability.

Good to know

  • All attribute options are resolved to human-readable labels before being sent to the LLM.
  • The flow uses Azure OpenAI, but you can replace it with OpenAI, Anthropic, Gemini, or other LLM providers.
  • The LLM prompt can be customised to adjust tone, length, SEO-focus, or specific brand style.
  • Works out-of-the-box with Adobe Commerce (Magento 2) APIs, but can be adapted for other ecommerce systems.

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

  • Configure your Magento 2 API credentials in n8n.
  • Replace the Azure OpenAI node with another provider if needed.
  • Adjust the prompt to match your brand’s tone of voice.
  • Run the workflow to automatically process products missing descriptions.

Requirements

  • ✅ n8n instance (self-hosted or cloud)
  • ✅ Adobe Commerce (Magento 2) instance with API access
  • ✅ Azure OpenAI (or other LLM provider) credentials
  • (Optional) Prompt customisations for SEO or brand voice

Customising this workflow

This workflow can be adapted for:

  • Other attributes: Include or exclude attributes (e.g. only color & size for apparel).
  • Different LLMs: Swap Azure OpenAI for OpenAI, Anthropic, Gemini, or any supported n8n AI node.
  • Prompt tuning: Adjust instructions to generate shorter, longer, or SEO-rich descriptions.
  • Selective updates: Target only specific categories (e.g. electronics, fashion).
  • Multi-language support: Generate product descriptions in multiple languages for international shops.

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 ‘Test workflow’

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

Block 2 - Save configurable

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

Block 3 - set Description

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

Block 4 - Basic LLM Chain

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 5 - Azure OpenAI Chat Model

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

Block 6 - Wait until nodes ready

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 7 - get Product without description

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

Block 8 - Prepare attributes

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

Block 9 - Get attributes and options

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

Block 10 - Sticky Note

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

Block 11 - Sticky Note1

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

Block 12 - Sticky Note2

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

Block 13 - Sticky Note3

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

3. Summary Table

Workflow Auto-generate product descriptions with Azure OpenAI for Adobe Commerce/Magento
Complexity intermediate
Nodes 13
Categories Content Creation, Multimodal AI
Author JKingma
Published 11 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8475/8475.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 Auto-generate product descriptions with Azure OpenAI for Adobe Commerce/Magento do?

️ 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...

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.