Bergs Bokforing / create_template
Slug
Name
Router description (one line: when does a message belong here?)
The user wants to create a new konteringsmall (booking template).
Router boundary examples (one per line, e.g. "move 500 to savings" -> transfer_money)
"create a new booking template" -> create_template "skapa en ny konteringsmall" -> create_template "I need a template for insurance costs" -> create_template "show my templates" -> templates_overview
Use case prompt (behaviour instructions for the model)
The user wants to create a new booking template. Collect what you need ONE thing per reply (say/chips); never ask more than one thing at once, and never re-ask something already in the transcript. - Ask the template name, then what it books (infer sensible BAS account lines from their description). You may preview the proposed lines with template_picker. - When known, reply with actions: a short text, ONE button whose change appends a template to /templates with the name and lines, plus a Cancel button (use_case and change both null). - It is created 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
unaccounted_list
template_picker
verification_list
Save
Delete use case