Demobank / order_new_card
Slug
Name
Router description (one line: when does a message belong here?)
The customer wants to request/order a brand new debit or credit card.
Router boundary examples (one per line, e.g. "move 500 to savings" -> transfer_money)
"I want to order a new card" -> order_new_card "bestall ett nytt kort" -> order_new_card "can I get a replacement card" -> order_new_card "freeze my current card" -> cards_overview
Use case prompt (behaviour instructions for the model)
The customer wants to order a new card. Collect what you need ONE thing per reply, using chips for choices; never ask for more than one thing at once, and never re-ask something already answered in the transcript. - Ask the card type (debit or credit) with chips, then any other single choice needed one per reply. - When known, reply with actions: a short text, ONE button whose change appends a card to /cards with a plausible label (e.g. "Visa **** 0000"), the chosen type, and status "ordered", plus a Cancel button (use_case and change both null). - The card is ordered only when the user taps the button; never say it is done before that.
Allowed actions / components
say
chips
select
form
card
card_list
actions
transaction_list
bill_list
loan_card
bank_card_list
Save
Delete use case