AutomationFlowsAI & RAG › Auto-generate SEO Meta Descriptions & Keywords for Magento 2 with Gpt-4.1 &…

Auto-generate SEO Meta Descriptions & Keywords for Magento 2 with Gpt-4.1 &…

Original n8n title: Auto-generate SEO Meta Descriptions & Keywords for Magento 2 with Gpt-4.1 & Langchain

ByKanaka Kishore Kandregula @kmyprojects on n8n.io

Accepts SKU input via a public form Fetches the product by SKU from your Magento 2 store Extracts existing description, meta description, and keywords Uses a LangChain-powered AI Agent with OpenAI to: Analyze the current product content Generate a high-conversion meta…

Event trigger★★★★☆ complexityAI-powered11 nodesForm TriggerHTTP RequestAgentOpenAI ChatOutput Parser StructuredTool Serp Api
AI & RAG Trigger: Event Nodes: 11 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #6654 — we link there as the canonical source.

This workflow follows the Agent → Form Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "a811e531-c75d-4e16-a878-865bae3c3bfd",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -1220,
        300
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "c6f37027-62d2-4970-b16a-2eb14f56b9ed",
      "name": "Get Product By SKU",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1000,
        300
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "47f2485b-cd4d-44a8-b3c7-3e3e1fee12b5",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -500,
        80
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "638900a5-efe7-4499-b51f-09b2ec1f38f8",
      "name": "AI Meta Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -260,
        80
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.7
    },
    {
      "id": "3c3e7fec-2f31-458c-9129-effad4e10baa",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -340,
        360
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "f09995d4-703a-4849-99bb-3b5a4fc152a7",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        20,
        360
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "5d13b7fb-27cd-4898-a0c6-5b88f618de8d",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "disabled": true,
      "position": [
        -160,
        360
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "14f21035-1c8d-47c9-a3ab-c90aacc8889e",
      "name": "Update Product Meta Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        180,
        80
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2079e7ad-f704-4177-b6e7-e255910f9266",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1260,
        -20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8c203609-5553-4a1f-9bac-fdff01b2ee3a",
      "name": "Checks If SKU exists",
      "type": "n8n-nodes-base.if",
      "position": [
        -780,
        300
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "d0db2725-a786-427d-ba44-872d323930d0",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -520,
        -20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "AI Meta Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI": {
      "ai_tool": [
        [
          {
            "node": "AI Meta Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI Meta Agent": {
      "main": [
        [
          {
            "node": "Update Product Meta Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Product By SKU": {
      "main": [
        [
          {
            "node": "Checks If SKU exists",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Get Product By SKU",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Meta Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Checks If SKU exists": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Meta Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Accepts SKU input via a public form Fetches the product by SKU from your Magento 2 store Extracts existing description, meta description, and keywords Uses a LangChain-powered AI Agent with OpenAI to: Analyze the current product content Generate a high-conversion meta…

Source: https://n8n.io/workflows/6654/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

🎯 Create viral TikToks, Shorts, Reels, podcasts, and ASMR videos in minutes — all on autopilot.

OpenAI, HTTP Request, Form Trigger +7
AI & RAG

Digistars - Scrape & Crawl. Uses httpRequest, n8n-nodes-firecrawl-scraper, googleSheets, lmChatOpenAi. Event-driven trigger; 63 nodes.

HTTP Request, N8N Nodes Firecrawl Scraper, Google Sheets +5
AI & RAG

This automation is designed to help you generate AI-powered music tracks, cover art, and fully rendered music videos — all triggered from a simple Telegram chat and managed via Google Sheets.

OpenAI Chat, Memory Buffer Window, Output Parser Structured +11
AI & RAG

PixelSensei(ZH). Uses agent, outputParserStructured, formTrigger, lmChatOpenAi. Event-driven trigger; 55 nodes.

Agent, Output Parser Structured, Form Trigger +4
AI & RAG

🧠 Automate end-to-end SEO blog creation and WordPress publishing using a GPT-5 multi-agent workflow with real-time research, metadata generation, and optional featured images.

Output Parser Structured, HTTP Request, OpenAI +10