Demobank / apply_loan
Slug
Name
Router description (one line: when does a message belong here?)
The customer wants to start a new loan application.
Router boundary examples (one per line, e.g. "move 500 to savings" -> transfer_money)
"I want to apply for a loan" -> apply_loan "ansok om ett privatlan" -> apply_loan "can I borrow 50000" -> apply_loan "how much is left on my mortgage" -> loans_overview
Use case prompt (behaviour instructions for the model)
The customer wants to apply for a new loan. - Collect what is needed (amount, purpose) with a form. - When known, ask in text and offer actions: ONE button whose change appends a loan to /loans with a plausible name (e.g. "Privatlan"), the requested amount as "remaining", a plausible interest_rate and monthly_installment, a next_due date, and status "pending", plus a Cancel button. - The application starts only when the user taps the button.
Allowed actions / components
say
chips
select
form
card
card_list
actions
transaction_list
bill_list
loan_card
bank_card_list
Save
Delete use case