16. Reuse an answer from two menus
A reusable answer can keep a large conversation easier to maintain. For example, both a general topic menu and a workshop-details submenu might ask where Elias left a key.
Figure 14. Two menus can call one automatically returning answer. The current conversation path determines where it returns.
| Starting menu | Choice destination | After answer |
|---|---|---|
| menu_a | answer | Back to menu_a. |
| menu_b | answer | Back to menu_b. |
Use explicit connections for the menu-to-menu choices such as Other questions and Back. Leave automatic return on only for the shared one-Line answer.
This works because the runtime tracks the current path. It also recognizes returning to an ancestor through an explicit link, which prevents an ordinary topic loop from adding another copy of the same menu to the path forever.
Do not reuse a reward branch merely because its words are similar. Shared wording is easy; shared state changes need their own ownership and “already done” guards.
