Skip to content

Prompt instructions settings

Prompt instructions are rules you add to one step of one specialist agent of the AI Shopping Assistant, for one agent only. Each has a type, a tag and up to 8,000 characters of prompt text. Enabled instructions apply from the next message.

The Prompt instructions tab holds the rules you write for one agent of the AI Shopping Assistant, such as brand voice, answer length and business rules. Each prompt instruction is added to the end of the instructions for one step of one specialist agent. The Type you pick chooses that step. The instruction applies only to this agent.

Only instructions with the status Enabled apply. Changes apply from the next message, with nothing to publish. Prompt instructions shape how the AI Shopping Assistant uses what it already knows. Facts belong in Trainings. Actions, such as collecting details or handing off to a person, belong in custom workflows.

Stores that use the standard view of the embedded Shopify app see a single agent page with no Prompt instructions tab.

The tab lists every prompt instruction on the agent, one row for each type. With no instructions, the tab reads “No prompt instructions yet”.

ColumnWhat it shows
Prompt instructionThe prompt text, shortened to fit the row
TagsThe instruction’s tag
TypeThe stored type, such as product_qna_agent:answer
StatusEnabled or Disabled
Created byThe console user who created the instruction
CreatedWhen the instruction was created
FilterWhat it does
Search boxNarrows the list to instructions that match the text you type
Date rangeNarrows the list to instructions created in a date range
TagsNarrows the list to the tags you choose
TypeNarrows the list to the types you choose
ClearRemoves every filter
ActionWhereEffect
Add prompt instructionTab headerOpens the form for a new instruction. Works once the agent has been saved
Select a rowListExpands the row to show the instruction’s details
Double-click a rowListOpens the instruction for editing
Disable or EnableRow menuSwitches the instruction off or on without deleting it
EditRow menuOpens the instruction for editing
DeleteRow menuDeletes the instruction after you confirm in the Delete prompt instruction dialog
EditSelected rowsEdits the selected rows together. Offered when two or more selected rows share a tag
DeleteSelected rowsDeletes every selected row

The form opens in a side panel. It has Cancel and Create when you add an instruction, or Cancel and Save changes when you edit one.

FieldWhat it doesAllowed valuesDefault
TypeChooses the specialist agent step the instruction is added to. Each type you pick saves as its own row with the same tag and prompt textOne or more types from the picker. Use new adds a type you type in, but a type that no part of the AI Shopping Assistant reads has no effectNone. Required
TagNames the rule. Instructions on the same type apply together, each under its own tagLowercase letters, digits, hyphens and underscores, up to 64 characters. Can’t be changed when editingdefault when left blank
Prompt textThe rule itself. A live counter shows the characters usedText, up to 8,000 charactersNone. Required

Saving a type and tag that already exist replaces the prompt text saved there. When you edit an instruction, you can add or remove types. Removing a type deletes that type’s row when you save.

The Type picker groups types under a header for each specialist agent. The group and option below match the picker. The Type column of the list shows the stored value.

GroupOptionStored asWhat the instruction shapes
CUSTOMER SUPPORT AGENTsystemcustomer_support_agent:systemStore policy and support answers drawn from Trainings
DIALOG AGENTsystemdialog_agent:systemGeneral conversation
IMAGE AGENTvisionimage_agent:visionHow a photo a shopper uploads is described
INVENTORY AGENTsysteminventory_agent:systemAnswers about stock
ORDERS RETURNS AGENTIntent Understandingorders_returns_agent:intent_analysisHow order and return requests are recognized
ORDERS RETURNS AGENTresponseorders_returns_agent:responseReplies about orders and returns
PRODUCT COMPARE AGENTcomparisonproduct_compare_agent:comparisonHow comparisons read
PRODUCT COMPARE AGENTextractionproduct_compare_agent:extractionWhich products are picked out to compare
PRODUCT DISCOVERY AGENTDSL + LLM Refineproduct_discovery_agent:dsl_llm_searchApplies only when Product Discovery uses a search method Webscale sets up. Most stores see no effect
PRODUCT DISCOVERY AGENTLLM Searchproduct_discovery_agent:llm_searchApplies only when Product Discovery uses a search method Webscale sets up. Most stores see no effect
PRODUCT FAQ AGENTsystemproduct_faq_agent:systemThe FAQs generated for product pages
PRODUCT IMAGE SEARCH AGENTQuery Intentproduct_image_search_agent:dsl_intentHow a photo search is read
PRODUCT IMAGE SEARCH AGENTResults Introproduct_image_search_agent:responseThe intro line above photo search results
PRODUCT LLM SUGGESTOR AGENTQuery Intentproduct_llm_suggestor_agent:adsl_intentHow a request to Product LLM Suggestor is read, such as whether the shopper wants an accessory, a compatible item or an upgrade, and which product it is for
PRODUCT LLM SUGGESTOR AGENTnarrativeproduct_llm_suggestor_agent:narrativeThe short message shown with Product LLM Suggestor’s results, which explains why the products fit or says that nothing matches
PRODUCT LLM SUGGESTOR AGENTsku_suggestproduct_llm_suggestor_agent:sku_suggestWhich products Product LLM Suggestor proposes and in what order. Only products in your catalog are shown
PRODUCT QNA AGENTanswerproduct_qna_agent:answerThe answer to a product question, including its tone and length
PRODUCT QNA AGENTCatalog Answerproduct_qna_agent:catalog_answerAnswers drawn from the whole catalog
PRODUCT QNA AGENTQuery Intentproduct_qna_agent:qna_intentHow a product question is classified
PRODUCT QNA AGENTsystemproduct_qna_agent:systemGround rules for product questions
PRODUCT TEXT SEARCH AGENTQuery Intentproduct_text_search_agent:dsl_intentHow a typed product search is read. Shapes everyday Product Discovery searches
PRODUCT TEXT SEARCH AGENTResults Introproduct_text_search_agent:responseThe intro line above product search results. Shapes everyday Product Discovery searches
RAG AGENTsystemrag_agent:systemAnswers drawn from Trainings
ROUTERroutingrouter:routingWhich specialist agent handles each message. Custom workflow triggers still take priority
WELCOME AGENTsystemwelcome_agent:systemThe greeting
RuleEffect
ScopeAn instruction applies only to the agent it was created on
PlacementAn instruction is added to the end of the instructions for the one specialist agent step its type names
StatusOnly Enabled instructions apply. A Disabled instruction stays in the list with no effect
Several instructions on one typeEvery enabled instruction on the same type applies together, each under its tag name
Same type and tagSaving replaces the prompt text already saved for that type and tag
TimingChanges apply from the next message
Specialist agent switched offA specialist agent switched off under Advanced settings never runs, so instructions on its types have no effect
Custom workflow triggersA message that matches a custom workflow trigger goes to that workflow, whatever a ROUTER instruction says
Who can editCreating, editing and deleting instructions needs the merchant admin role
LimitValue
Prompt text8,000 characters
Tag length64 characters
Tag charactersLowercase letters, digits, hyphens and underscores
Types per instructionOne or more. Each type is stored as its own row
Agents per instructionOne

Frequently asked questions

Do prompt instructions apply to every agent in my account?
No. A prompt instruction applies only to the agent it was created on. Add the same instruction to each agent that needs the rule.
What happens if I save a type and tag that already exist?
The new prompt text replaces the text already saved for that type and tag. Use a different tag to keep both rules.