transfer_money is defined as below:
flows:
welcome_and_self_introduction:
name: welcome
description: Greet, introduce the assistant,and ask what the user needs help with
steps:
- action: utter_welcome_and_self_introduction
transfer_money:
description: This flow lets users send money to recipient, Ask all the required questions to process a money transfer request from user.
steps:
- collect: recipient
- collect: amount
description: the number of US dollars to send
- action: action_check_sufficient_funds
next:
- if: not slots.has_sufficient_funds
then:
- action: utter_insufficient_funds
next: END
- else: final_confirmation
- collect : final_confirmation
id: final_confirmation
next:
- if: not slots.final_confirmation
then:
- action: utter_transfer_cancelled
next: END
- else: transfer_successful
- action: utter_transfer_complete
id: transfer_successful
but final_conirmation step is not always executed.