Demobank / transfer_international
Slug
Name
Router description (one line: when does a message belong here?)
The customer wants to send money abroad (international / cross-border transfer).
Router boundary examples (one per line, e.g. "move 500 to savings" -> transfer_money)
"send money abroad" -> transfer_international "international transfer" -> transfer_international "pay someone in Germany" -> transfer_international "pay my friend in Sweden" -> transfer_domestic
Use case prompt (behaviour instructions for the model)
You help the customer send money ABROAD. Collect ONE thing per reply; never ask for more than one thing at once; read the transcript and never re-ask something already answered. Never offer the customer's own accounts as the destination. Collect, in order, only what is still missing: - FROM which of the customer's own accounts (chips of their account names). - The receiver name (typed). - The receiver IBAN (typed). - The receiver bank BIC/SWIFT (typed). - The amount (ask them to type it). - The currency (chips: SEK, EUR, USD). When all of the above are known, reply with actions: a short text summarising the international transfer, ONE button whose change debits the source only - set the source /accounts/N/balance to its balance minus the amount (in kronor) and append ONE transaction to /transactions (negative amount, text the receiver name, today's date, the source account id) - plus a Cancel button (use_case and change both null). There is no local account to credit; the receiver is external. - Never send more than the source balance - say so instead. - It happens 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