Spanner AI

Merchandising Rules

Merchandising rules tell Spanner AI how you lay out a category: how products are blocked, what goes where, and what must never happen. Write them once, keep a set for each retailer or category, and whichever AI you use with Spanner follows the set you choose: Spanner's own AI chat, an AI app on your PC such as Claude, or one that connects through our cloud service, such as Microsoft 365 Copilot.

What they are

Spanner already tells the AI how to work in Spanner. Your rules add how you merchandise. They are plain words, added to the instructions the AI receives at the start of each conversation, so it takes them into account in everything it does there: filling a shelf, laying out a planogram, suggesting changes, or checking a planogram over.

You can keep as many sets as you like, each with its own name, for example one for each retailer, channel or category. One set is in use at a time.

This guide is for Spanner 2.5 and later. Rules guide the AI; Spanner does not check them. See What rules can't do.

Writing a set

  1. Open Tools › Settings and expand AI Settings.
  2. Under Merchandising Rules, click the green + to add a set.
  3. Give it a Name, such as Soft Drinks, Supermarkets, and write the rules in Details, one to a line. Press Enter for a new line.
  4. Add more sets in the same way. The arrows move a set up or down the list, and the bin deletes it.
  5. Click the green tick to save your settings.

Until you choose one, the first set in the list is in use. Spanner remembers the set in use by its place in the list, so after moving or deleting sets, check which one is in use.

The AI Settings section of Settings: AI log settings, the AI permissions, and at the foot the Merchandising Rules list, with one set named Default whose Details begin 1. Ergonomics and Shoppability, 2. Space Optimization, 3. Blocking and 4. Space Allocation
AI Settings, with one set of rules, named Default, grouped under numbered headings.

Choosing the set in use

There are two places to choose, and both change the same setting, which Spanner remembers from one session to the next.

  • Tools › Set AI Merchandising Rules lists your sets by name. The set in use has a gold dot. Rest the pointer on a name to read its rules, and click one to use it. The menu shows this item once you have at least one set.
  • In the AI Chat window, the Rules list at the top does the same. Rest the pointer on it to read the set chosen.

Choose the set before you start a conversation: the next section explains why.

The Tools menu open at Set AI Merchandising Rules, listing the set Default with a gold dot, and a tooltip below it showing that set's rules
Tools › Set AI Merchandising Rules: the gold dot marks the set in use, and resting the pointer on it shows its rules.

How each AI gets them

Every route gives the AI the set in use, but each reads it at a different moment. A change you make after that reaches the AI only once it reads the rules again.

The AI reads your rulesAfter you change the set, or its rules
Spanner's AI chatWhen a conversation starts.Clear the chat with the broom button, to start a new conversation.
An AI app on your PC, such as Claude DesktopEach time the app asks Spanner for its tools, which it does at the start of a conversation.Start a new conversation in the app.
An AI app through our cloud service, such as Microsoft 365 CopilotSpanner sends the set in use when you connect, with Tools › Connect to AI Cloud Online. The app reads it at the start of each conversation.Disconnect with Tools › Disconnect from AI Cloud Online, connect again, give the app the new session key, and start a new conversation.

Your rules go to the AI model's provider with the rest of the conversation, like your messages. For a cloud connection, our service also keeps the set in use with the session, for up to 10 days, so the app can follow it. Using Spanner's AI chat and Using Spanner with AI apps explain where your data goes.

Writing good rules

  • One rule to a line, the most important first.
  • Use the names your documents use. Write classification headings and values exactly as they appear in Spanner, such as Brand, Pack Type or Sugar Content, so the AI can find the products a rule means.
  • Give numbers: "at least 2 facings", "the bottom two shelves", rather than "enough" or "low down".
  • Say which way: left to right as the shopper faces the fixture, top to bottom.
  • Say which rule wins when two can't both be kept.
  • Keep it short. A few clear lines are followed better than pages the AI has to weigh up. Every conversation carries the whole set, so a long set also uses a few more AI credits in Spanner's AI chat.
  • Leave out how to use Spanner. The AI already knows that; your rules are about the category.

An example

Block by Brand, each brand running from the top shelf to the bottom.
Within a brand, group by Sugar Content: Regular to the left of Sugar Free.
Put the brand leader in the middle bays, on shelves 2 to 4 from the top.
Put Own Label to the right of the brand leader.
Multipacks of 12 or more go on the bottom two shelves.
Give every product at least 2 facings and 3 days cover.
If the space runs out, keep the facings rule and drop the products with the lowest rate of sale.
Ask Spanner AI: "Which merchandising rules are you following?" to check it has the set you meant, or "Check the planogram Main Aisle against my merchandising rules and list where it breaks them."

What rules can't do

  • They are not checks. Spanner does not enforce them: they guide the AI, which can still misread or miss one. Check what it does, above all for rules with legal weight, such as where HFSS or age-restricted products may go.
  • They only guide the AI. They make no difference when you plan by hand, and they are not saved in documents.
  • The AI can't change them. It reads your rules, but you edit them in Settings.
  • They are yours alone until you share them. They are part of your Spanner settings, on your computer. To give a team the same sets, use Save Settings to File with AI Settings ticked; that tick carries your other AI settings too. Sharing Tables explains settings files.

Want help writing your rules?

We can work through your category's merchandising principles with you and turn them into rules Spanner AI follows.

Email us Book a Demo