Scenarios

Worked recipes for the jobs teams ship first. Each names the pieces involved and how to verify it end to end.

Every scenario follows the same shape: goal → pieces (agent, tool, component, rule, SDK) → steps → verify. They build on the Acme Shop sample, which every new workspace gets, so you can follow them before you connect your own API.

ScenarioWhat the user experiencesMain pieces
Product search with cards“running shoes under 2000” → tappable product cards from your cataloguetool, custom component, prompt
Order tracking with a map“where is my order?” → status, ETA, courier, live maptool, built-in blocks
Cancel an order with confirmationThe assistant asks before calling a destructive APItool with confirmation
Flight search and selectionFlights list → tap to select → the model continues with the choicetool, agent actions
Store offer on geofence entryApp enters a store geofence → banner → chat opens with a codetrack, rule with notify and turn
Abandoned cart nudgeIdle cart → the assistant speaks first with quick repliestrack, rule with turn, frequency cap
Payment failed alertPayment declined → modal with a Retry button that reopens checkouttrack, rule with alert and local action
Order shipped pushOrder ships while the app is closed → OS notification → tap opens the chatsecret key, system channel, FCM
Agent navigates the app“open the trail runner” → the app navigates to the product pageapp_command, local action
Hand off to a human“talk to a person” → the assistant steps back, your team continueshandoff tool, Conversations page
Signed-in users and per-user toolsThe assistant only sees the user’s own ordershost JWT, act as user
Sales dashboard in chat“show me this month’s sales” → a charttool, chart block
Branded theme and dark modeThe chat looks like your appSettings → Widget branding, KletsoTheme
Live cart total in a surfaceA card shows the cart’s progress to free shipping without sending it to the serverhost data bindings, progress block

If your scenario is not here, the Concepts pages explain the building blocks; most jobs are a tool plus a prompt line plus a component.

Last updated 2026-09-28 · Report an issue with this page