Context
Learn how to give the shopping agent the information missing from your product pages and set the rules it must always follow.
The Context page is where you teach the shopping agent about your store. It already knows your products, prices and stock through the sync. It doesn't know your positioning, your sales advice or what you refuse to say. You write those here.
To open it, in the sidebar, open Shopping agent, then Context. If the agent isn't turned on yet, the page sends you to Configuration. Read Shopping agent for the access requirements.
The page has two cards. The first holds free text, the second a list of rules.
What the agent already knows
Before you write, know what the agent receives on its own for every question.
- The product the visitor is looking at, with its name, reference, brand, categories and description.
- Its variations, with the price and stock of each one, and the one the visitor has selected.
- The visible text of the open page, such as tabs, feature bullets and the product FAQ. Email addresses, phone numbers and amounts in that text are removed before it is sent.
- Products from your catalog that are close to the question or to the product being viewed.
So there's no need to copy your product pages into the context. Write what isn't on them.
Write your store context
The What you add card contains a large text field. Its subtitle sums it up. "Anything that isn't written on your product pages. This text goes with every answer."
Write the text
Click in the field and write in plain sentences. The placeholder suggests four directions, your positioning, your materials, your usage tips and what you don't sell.
Save
Click outside the field. The text saves itself at that moment, with no button. It applies to visitors' next questions.
Here is an example for a hiking shoe store.
Our shoes fit true to size. If a customer hesitates between two sizes, recommend the larger one.
All our uppers are waterproof, except the Summer range.
Returns are free for 30 days if the shoes have not been worn outdoors.
We ship within 48 hours in mainland France.
We don't sell safety shoes.
Before a first long hike, recommend wearing the shoes around town for a few days.A few tips for effective context.
- Give verifiable facts rather than slogans. "Burns for about 40 hours" helps sell, "exceptional quality" doesn't.
- Explain how to choose between your ranges. It's the most common visitor question.
- Don't write prices or promotions in the context. The agent only copies prices from your catalog.
- Update the text when your offer changes, for example when a new range arrives.
Set the rules to follow
The What it must follow card holds your restrictions and instructions. They come before everything else, including the context. A rule is a short sentence that usually starts with a verb, for example "Never offer a discount.".
Add a rule
Write the rule
In the top right of the card, type your rule in the field whose placeholder reads "Never offer a discount.".
Confirm it
Click Add or press Enter. The rule appears in the list, already active, and is saved right away.
A rule identical to an existing one is not added twice, even with different capitalization. The Add button stays greyed out while the field is empty.
Start from the suggestions
While the list is empty, the card shows No rules yet. The message reminds you that the agent already follows its safeguards. It never makes up a price, never calculates a total and never grants a discount.
Three buttons offer ready-made rules. One click adds the rule.
- Never offer a discount.
- Recommend the best-suited size, not the most expensive one.
- Never give a delivery time.
Pause or delete a rule
Each rule in the list has a switch and a trash icon.
- The switch turns the rule on or off. A rule that is off stays in the list, dimmed, and the agent ignores it. This is handy for a seasonal instruction, such as a rule that only applies during the sales.
- The trash icon deletes the rule for good, with no confirmation.
These changes save as soon as you click.
Examples of useful rules
| Situation | Rule to write |
|---|---|
| You don't want any commercial commitment | Never promise a goodwill gesture. |
| You sell technical products | If the visitor is unsure about compatibility, suggest contacting customer service. |
| You want to push a range | When two products fit, suggest the Atelier range first. |
| You sell shoes | If the visitor is unsure about their size, suggest checking the size guide. |
| You want a specific tone | Always address the visitor formally. |
Write one idea per rule. A short rule is followed better than a long paragraph.