I want two path as Verified and Non verified users I will store that in one boolean slot. I am not able to write conditional rules based on boolean slot. is_verified slot is set in custom action when user reply with OTP will work fine but I am not able to divide in to path.
-
rule: Verified user condition:
- slot_was_set:
- is_verified: ‘True’ steps:
- action: utter_thanks
- action: utter_next
- slot_was_set:
-
rule: nonVerified user condition:
- slot_was_set:
- is_verified: ‘False’ steps:
- action: utter_revalidate_otp
- intent: write_otp
- action: utter_next
- slot_was_set:
I am not able to call this rules are OTP verification. Can someone help me to understand this
THANKS IN ADVANCE