Templates / Auto-generate SEO meta descriptions & keywords for Magento 2 with GPT-4.1 & LangChain

Auto-generate SEO meta descriptions & keywords for Magento 2 with GPT-4.1 & LangChain

Needs changes

by Kanaka Kishore Kandregula ✓ · 118 views · created 2025-07-29 · Content Creation, Multimodal AI

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), SerpApi (Google Search). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 9 nodes and runs when someone submits an n8n form. Along the way it connects OpenAI Chat Model and SerpApi (Google Search).

How it runs

Trigger: When someone submits an n8n form.

  1. Get Product By SKU (HTTP Request): calls an HTTP API
  2. Checks If SKU exists (If): checks a condition and branches into true / false
  3. Code: runs custom JavaScript code
  4. AI Meta Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (SerpAPI); output parser: Structured Output Parser
  5. Update Product Meta Data (HTTP Request): calls an HTTP API

Services it uses

OpenAI Chat ModelSerpApi (Google Search)

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • AI Agent v1 (old agent modes) in AI Meta Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • SerpApi (Google Search) in SerpAPI: no direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Meta Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
SerpApi (Google Search)
SerpAPI
No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node

Nodes used (8)

From the author

This workflow intelligently regenerates meta descriptions and meta keywords for Magento 2 product pages using OpenAI and SEO best practices. 🔍 What It Does: - Accepts SKU input via a public form - Fetches the product by SKU from your Magento 2 store -…

Excerpt from Kanaka Kishore Kandregula's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.