Templates / Map marketplace product categories with Gemini embeddings and a review queue

Map marketplace product categories with Gemini embeddings and a review queue

Ready for 3.0

by Leonid · 0 views · created 2026-10-21 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 26 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Embeddings Google Gemini and Google Gemini Chat Model.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. Create categories table (Data table): create (table)
  2. Read all categories (Data table): get
  3. Configure mapping rules (Edit Fields (Set)): sets 2 fields: shortlist_size, min_top_score
  4. Create products table (Data table): create (table)
  5. Store category embeddings (Simple Vector Store): stores documents in the Simple vector store, with embeddings: Embed categories with Gemini; document loader: Category path as document
  6. Read pending products (Data table): get
  7. Demo categories and products (Code): runs custom JavaScript code
  8. Loop over pending products (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Split demo rows by table (If): checks a condition and branches into true / false
  10. Shortlist closest categories (Simple Vector Store): searches the Simple vector store, with embeddings: Embed product with Gemini

…plus 8 more steps. See the full node list below.

Services it uses

Embeddings Google GeminiGoogle Gemini Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (13)

From the author

Quick overview This workflow uses n8n Data Tables and Google Gemini embeddings to map product listings to the best matching marketplace category, automatically applying high-confidence matches and routing uncertain results to a human review queue. How it…

Excerpt from Leonid'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.