No cookies here. This site doesn't use trackers, analytics or ad pixels.

Turn your catalog into collection pages and breadcrumbs with Gemini

Short answer: Reach Dog does the grunt work on your catalog: it reads every product and groups the catalog by season, occasion and use, in the same clean format every time. Doing that with a frontier model is expensive and slow, so you save time and money, and Gemini starts a fresh chat with great context about your catalog, which gets you faster, better results. In this video Gemini checks every group against the store’s own product titles, then writes a collection page and a breadcrumb for each one. No hour of back and forth, and no tokens burned on sorting.

What you need

Steps

  1. Send your catalog to the Reach Dog catalog API, up to 500 products, each with your own ID and its title, and ask for the catalog_groups and group_members outputs. The catalog enrichment guide shows the request.
  2. Accept the job, wait for it to finish, and download the results as JSON.
  3. Optional: open a fresh Gemini chat, attach your catalog CSV and the JSON, and paste the audit prompt below. Gemini reviews the Reach Dog output against your catalog and suggests improvements.
  4. Open Gemini, attach the same two files and paste the workflow prompt.
  5. In step one, Gemini checks every group against your product titles, marks each product keep or question with a reason, and lists products that seem to be missing.
  6. In step two, for each group it writes a collection page from the kept products only: an H1, a meta description, a short intro and the product list, plus a breadcrumb as HTML and as schema.org BreadcrumbList JSON-LD. Anything only you know stays in [brackets] for you to fill in.
  7. To run it from code instead, use groups_to_pages_gemini.py, which sends the same prompt through the Gemini API.

The prompt

Attached: my catalog (CSV) and the catalog groups Reach Dog built for it (JSON). Turn the groups into collection pages for my site, in two steps. Step 1: check each group against my catalog. For every member, mark keep if its title supports the group, or question with a one-line reason, and list products that seem to belong but are missing. One table per group. Step 2: for each group, using only the keep products, write an H1, a meta description under 155 characters, a 2 to 3 sentence intro and the product list, plus a breadcrumb built from the group's family (Shop by Season, Shop by Occasion, Shop by Use), as HTML and as schema.org BreadcrumbList JSON-LD on https://www.example-shop.com. Put anything you'd need from me in [brackets], and make no health or safety claims.

Optional audit prompt

Run it first, in a fresh chat with the same two files.

Attached: my product catalog (CSV) and one output Reach Dog built from it (JSON). Before I use it, review it against my catalog and improve on it. Judge it for what it is, not for fields that come from other Reach Dog outputs. Start with a one-line verdict: ready to use as is, or ready after a few changes. Then, for each attribute it contains, check the values against my products and suggest improvements: anything missing, anything that doesn't fit, and anything that could be sharper, with a one-line reason each. If it's already thorough, say so and stop there. Make no health or safety claims.

Code

Chapters

Transcript

Want collection pages and breadcrumbs for your online store, without sorting every product by hand? Welcome to Reach Dog. On this channel we show you how to get real work done with your product catalog and the AI models you already use. Each video takes one thing Reach Dog builds from your catalog, and hands it to one model for one job. Today it’s catalog groups, collection pages and Gemini.

Here’s the idea. Sorting a whole catalog by season, occasion and use is grunt work. A frontier model can do it, but it’s expensive. It eats up your tokens, and you go back and forth with it for an hour. Reach Dog has already done that work, in the same clean format every time, so you save time and money. And you get faster, better results from Gemini, because you start a fresh chat with exactly what it needs: great context about your catalog.

Step one is Reach Dog’s catalog API. You send your whole catalog in one call, up to five hundred products, each with your own ID and its title. Then you pick the outputs you want. For this workflow it’s two: catalog groups and group members.

Nothing runs until you accept the job. Once you do, you wait for it to finish and download the results as JSON. That file is yours to reuse, with Gemini or any other model.

Here’s what comes back. Each group has an ID, a family, a label and a count. This demo candle shop got five groups: three by season, one by occasion and one by use. Group members lists which products went into each group.

Now open Gemini. I’m using Deeper analysis. Attach two files, your catalog CSV and the Reach Dog JSON, and paste this prompt. The full prompt is in the description. It asks for two steps: first check every group against my catalog, then write a collection page for each group.

Want an extra check first? Open a fresh chat, attach the same two files, and paste the audit prompt from the description. Gemini reviews the Reach Dog JSON against your catalog and improves on it. Here it says the groups are ready after a few changes: add the matches to all season, move Fresh Linen and the cotton linen spray there too, and think about a spring and summer group. Either way, you start from a better place.

This is the part that matters. Gemini goes through each group and compares every product with its title. In Winter it kept five products and questioned three: Fresh Linen, which reads as year round, Pumpkin Chai, which reads as fall, and the beeswax tapers, which have nothing wintry in the title.

It also looks for gaps. Home relaxation is missing the Calm oil blend, the diffuser, the lavender and sage spray, and the vanilla wax melts. And the matches aren’t in any group at all.

Then step two. For each group it writes a collection page, using only the products it kept. You get a title, a meta description, a short intro and the product list. Anything only you know, like your store name and product links, stays in brackets for you to fill in.

Every page gets its breadcrumb: Home, Shop by Season, Winter. You get it as HTML for the page, and as schema.org JSON-LD, which helps search engines read how your site is organized.

Rather run it from code? This Python script does the same thing with the Gemini API. It reads your catalog, downloads the Reach Dog results and sends both to Gemini with the same prompt. It’s on our GitHub, linked below.

Reach Dog does the grunt work on your catalog. Gemini checks it and writes the pages. You save time and money. The prompt and the script are linked below. If this was useful, subscribe, because the next video takes your catalog to another AI model for another job. Get started at reach.dog/developers.

Questions

What do I need for this Gemini workflow?

Your catalog as a CSV, a Reach Dog catalog job with the catalog_groups and group_members outputs, and Gemini. The store in the video is a made-up demo candle shop with 20 products.

Why give Gemini the Reach Dog output instead of only the catalog?

Sorting a whole catalog by season, occasion and use is grunt work. Reach Dog has already done it, in the same format every time, so Gemini starts with that context and spends its effort checking the groups and writing the pages.

Does Gemini just accept what Reach Dog returns?

No. Step one of the prompt has Gemini check every group member against its title, mark it keep or question with a one-line reason, and list products that seem to belong but are missing. The pages use only the kept products.

Can I run this from code?

Yes. groups_to_pages_gemini.py in the reachdog/title-cluster-api-examples repository on GitHub reads your catalog, downloads your Reach Dog results and sends both to Gemini through the Gemini API with the same prompt.

Every account gets free tokens every day.