Skip to main content

suggested_prompts block

A row of pill-shaped chips — “Reset my password”, “Track my order”, “Cancel subscription”. Each chip carries both a short visible label and a full message that gets sent to the agent when the chip is clicked. Strong default: almost every public agent should have one of these as the first thing the visitor sees. New visitors are far more likely to click a concrete suggestion than to write the perfect opening question themselves.

When to use it

  • The first screen of any public-facing agent — answers “what can I ask?”.
  • Replacing a wordy markdown block that explains “here are some things you can try…”.
  • Pairing under a hero so the visitor has both an external CTA and a chat-starting option.
For structured field collection use input_capture; for outbound URL navigation use links.

Shape

Click behaviour

After a chip is clicked the rest of the chips in that block lock. This protects an in-progress chat from being wiped if the visitor later clicks another chip (which would otherwise re-seed and remount the chat panel). The clicked chip stays visible with a check mark. If the visitor wants to try a different starting point, they refresh the page.

Tips

  • Aim for 3–5 chips. Two looks unfinished; six+ defeats the “quick choice” effect.
  • Chip label should be short and concrete; chip message can be longer and more specific (e.g. label "Pricing", message "Walk me through your pricing tiers and which one would suit a 5-person team.").
  • For agents with stages (multi-step purpose flows), think of the chips as the entry points to each major stage.
  • Schema enforcement: AJV requires prompts[].label and prompts[].message to be non-empty. Patches with blank fields are rejected.